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 
Values initial
NonlinearFactorGraph graph
Values result


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:34:58