|
def | __init__ (self, str twist_scenario="sick_twist") |
|
def | addPrior (self, int i, gtsam.NonlinearFactorGraph graph) |
|
def | optimize (self, gtsam.NonlinearFactorGraph graph, gtsam.Values initial) |
|
def | plot (self, gtsam.Values values, str title="Estimated Trajectory", int fignum=POSES_FIG+1, bool show=False) |
|
def | run (self, int T=12, bool compute_covariances=False, bool verbose=True) |
|
def | __init__ (self, Optional[np.ndarray] twist=None, Optional[gtsam.imuBias.ConstantBias] bias=None, Optional[gtsam.PreintegrationParams] params=None, float dt=1e-2) |
|
def | plotGroundTruthPose (self, float t, float scale=0.3, float time_interval=0.01) |
|
def | plotImu (self, float t, Sequence measuredOmega, Sequence measuredAcc) |
|
def | run (self, int T=12) |
|
Class to run example of the Imu Factor.
Definition at line 53 of file CombinedImuFactorExample.py.
◆ __init__()
def gtsam.examples.CombinedImuFactorExample.CombinedImuFactorExample.__init__ |
( |
|
self, |
|
|
str |
twist_scenario = "sick_twist" |
|
) |
| |
◆ addPrior()
◆ optimize()
◆ plot()
def gtsam.examples.CombinedImuFactorExample.CombinedImuFactorExample.plot |
( |
|
self, |
|
|
gtsam.Values |
values, |
|
|
str |
title = "Estimated Trajectory" , |
|
|
int |
fignum = POSES_FIG + 1 , |
|
|
bool |
show = False |
|
) |
| |
Plot poses in values.
Args:
values: The values object with the poses to plot.
title: The title of the plot.
fignum: The matplotlib figure number.
POSES_FIG is a value from the PreintegrationExample
which we simply increment to generate a new figure.
show: Flag indicating whether to display the figure.
Definition at line 107 of file CombinedImuFactorExample.py.
◆ run()
def gtsam.examples.CombinedImuFactorExample.CombinedImuFactorExample.run |
( |
|
self, |
|
|
int |
T = 12 , |
|
|
bool |
compute_covariances = False , |
|
|
bool |
verbose = True |
|
) |
| |
Main runner.
Args:
T: Total trajectory time.
compute_covariances: Flag indicating whether to compute marginal covariances.
verbose: Flag indicating if printing should be verbose.
Definition at line 142 of file CombinedImuFactorExample.py.
◆ biasNoise
gtsam.examples.CombinedImuFactorExample.CombinedImuFactorExample.biasNoise |
◆ priorNoise
gtsam.examples.CombinedImuFactorExample.CombinedImuFactorExample.priorNoise |
◆ velNoise
gtsam.examples.CombinedImuFactorExample.CombinedImuFactorExample.velNoise |
◆ velocity
gtsam.examples.CombinedImuFactorExample.CombinedImuFactorExample.velocity |
The documentation for this class was generated from the following file: