OdometryMarginals.cpp
Go to the documentation of this file.
1 // Query the marginals
2 cout.precision(2);
3 Marginals marginals(graph, result);
4 cout << "x1 covariance:\n" << marginals.marginalCovariance(1) << endl;
5 cout << "x2 covariance:\n" << marginals.marginalCovariance(2) << endl;
6 cout << "x3 covariance:\n" << marginals.marginalCovariance(3) << endl;
result
Values result
Definition: OdometryOptimize.cpp:8
graph
NonlinearFactorGraph graph
Definition: doc/Code/OdometryExample.cpp:2
marginals
Marginals marginals(graph, result)


gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:12:24