doc
Code
OdometryOptimize.cpp
Go to the documentation of this file.
1
// create (deliberatly inaccurate) initial estimate
2
Values
initial
;
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
Values initial
Definition:
OdometryOptimize.cpp:2
graph
NonlinearFactorGraph graph
Definition:
doc/Code/OdometryExample.cpp:2
result
Values result
Definition:
OdometryOptimize.cpp:8
gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:34:58