Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
initial
Definition:
testScenarioRunner.cpp:148
initial
Values initial
Definition:
OdometryOptimize.cpp:2
graph
NonlinearFactorGraph graph
Definition:
doc/Code/OdometryExample.cpp:2
result
Values result
Definition:
OdometryOptimize.cpp:8
Values
std::vector< float > Values
Definition:
sparse_setter.cpp:45
gtsam
Author(s):
autogenerated on Sat May 8 2021 02:43:05