Whitebox unit test for the SlidingWindowLevenbergOptimizer.
More...
◆ SlidingWindowLevenbergOptimizerTest()
| SlidingWindowLevenbergOptimizerTest::SlidingWindowLevenbergOptimizerTest |
( |
| ) |
|
|
inline |
◆ SetUp()
| void SlidingWindowLevenbergOptimizerTest::SetUp |
( |
| ) |
|
|
inlineoverrideprotected |
◆ TearDown()
| void SlidingWindowLevenbergOptimizerTest::TearDown |
( |
| ) |
|
|
inlineoverrideprotected |
◆ test_sliding_window()
| void SlidingWindowLevenbergOptimizerTest::test_sliding_window |
( |
unsigned int |
num_poses, |
|
|
unsigned int |
num_landmarks, |
|
|
unsigned int |
window_size |
|
) |
| |
|
inlineprotected |
Test the SlidingWindowLevenbergOptimizer.
- num_poses: number of poses to add to the graph
- num_landmarks: number of landmarks to add to the graph
- window_size: size of the sliding window
- This test will add a specified number of poses and landmarks to the graph, add between factors and bearing range factors, and then optimize the graph using the SlidingWindowLevenbergOptimizer.
- It will check that the optimized values have changed, using wild values and factors.
- NOTE: if the test is issuing an error, it is possible that, despite weird values, the optimized value is the same as the input value.
Definition at line 51 of file sliding_window_levenberg_optimizer_test.cpp.
◆ factor_graph
| gtsam::NonlinearFactorGraph SlidingWindowLevenbergOptimizerTest::factor_graph |
|
protected |
◆ graph_values
| gtsam::Values SlidingWindowLevenbergOptimizerTest::graph_values |
|
protected |
◆ optimizer
◆ params
The documentation for this class was generated from the following file: