address review comments

release/4.3a0
Varun Agrawal 2021-10-28 15:19:36 -04:00
parent d98e6e500a
commit b15297ae40
1 changed files with 8 additions and 1 deletions

View File

@ -137,7 +137,14 @@ class ImuFactorExample(PreintegrationExample):
T: int = 12,
compute_covariances: bool = False,
verbose: bool = True):
"""Main runner."""
"""
Main runner.
Args:
T: Total trajectory time.
compute_covariances: Flag indicating whether to compute marginal covariances.
verbose: Flag indicating if printing should be verbose.
"""
graph = gtsam.NonlinearFactorGraph()
# initialize data structure for pre-integrated IMU measurements