#include <Switching.h>
|
void | addModeChain (HybridNonlinearFactorGraph *fg, std::string discrete_transition_prob="1/2 3/2") |
| Add "mode chain" to HybridNonlinearFactorGraph from M(0) to M(K-2). E.g. if K=4, we want M0, M1 and M2. More...
|
|
void | addModeChain (HybridGaussianFactorGraph *fg, std::string discrete_transition_prob="1/2 3/2") |
| Add "mode chain" to HybridGaussianFactorGraph from M(0) to M(K-2). E.g. if K=4, we want M0, M1 and M2. More...
|
|
| Switching (size_t K, double between_sigma=1.0, double prior_sigma=0.1, std::vector< double > measurements={}, std::string discrete_transition_prob="1/2 3/2") |
| Create with given number of time steps. More...
|
|
Definition at line 120 of file Switching.h.
◆ Switching()
gtsam::Switching::Switching |
( |
size_t |
K, |
|
|
double |
between_sigma = 1.0 , |
|
|
double |
prior_sigma = 0.1 , |
|
|
std::vector< double > |
measurements = {} , |
|
|
std::string |
discrete_transition_prob = "1/2 3/2" |
|
) |
| |
|
inline |
Create with given number of time steps.
- Parameters
-
K | The total number of timesteps. |
between_sigma | The stddev between poses. |
prior_sigma | The stddev on priors (also used for measurements). |
measurements | Vector of measurements for each timestep. |
Definition at line 135 of file Switching.h.
◆ addModeChain() [1/2]
Add "mode chain" to HybridNonlinearFactorGraph from M(0) to M(K-2). E.g. if K=4, we want M0, M1 and M2.
- Parameters
-
fg | The nonlinear factor graph to which the mode chain is added. |
Definition at line 207 of file Switching.h.
◆ addModeChain() [2/2]
Add "mode chain" to HybridGaussianFactorGraph from M(0) to M(K-2). E.g. if K=4, we want M0, M1 and M2.
- Parameters
-
fg | The gaussian factor graph to which the mode chain is added. |
Definition at line 223 of file Switching.h.
◆ motionModels()
◆ linearizationPoint
Values gtsam::Switching::linearizationPoint |
◆ linearizedFactorGraph
◆ modes
◆ nonlinearFactorGraph
The documentation for this struct was generated from the following file: