OdometryOptimize.cpp
Go to the documentation of this file.
1 // create (deliberatly inaccurate) initial estimate
3 initial.insert(1, Pose2(0.5, 0.0, 0.2));
4 initial.insert(2, Pose2(2.3, 0.1, -0.2));
5 initial.insert(3, Pose2(4.1, 0.1, 0.1));
6 
7 // optimize using Levenberg-Marquardt optimization
8 Values result = LevenbergMarquardtOptimizer(graph, initial).optimize();
9 
initial
Values initial
Definition: OdometryOptimize.cpp:2
Values
result
Values result
Definition: OdometryOptimize.cpp:8
initial
Definition: testScenarioRunner.cpp:148
graph
NonlinearFactorGraph graph
Definition: doc/Code/OdometryExample.cpp:2


gtsam
Author(s):
autogenerated on Thu Dec 19 2024 04:02:03