Unit tests for DoglegOptimizer. More...
#include <CppUnitLite/TestHarness.h>
#include <tests/smallExample.h>
#include <gtsam/geometry/Pose2.h>
#include <gtsam/nonlinear/DoglegOptimizer.h>
#include <gtsam/nonlinear/DoglegOptimizerImpl.h>
#include <gtsam/nonlinear/NonlinearEquality.h>
#include <gtsam/slam/BetweenFactor.h>
#include <gtsam/nonlinear/ISAM2.h>
#include <gtsam/slam/SmartProjectionPoseFactor.h>
#include "examples/SFMdata.h"
#include <functional>
Go to the source code of this file.
Functions | |
int | main () |
TEST (DoglegOptimizer, ComputeBlend) | |
TEST (DoglegOptimizer, ComputeBlendEdgeCases) | |
TEST (DoglegOptimizer, ComputeDoglegPoint) | |
TEST (DoglegOptimizer, Constraint) | |
TEST (DoglegOptimizer, Iterate) | |
TEST (DogLegOptimizer, VariableUpdate) | |
Unit tests for DoglegOptimizer.
Definition in file testDoglegOptimizer.cpp.
int main | ( | ) |
Definition at line 327 of file testDoglegOptimizer.cpp.
TEST | ( | DoglegOptimizer | , |
ComputeBlend | |||
) |
Definition at line 40 of file testDoglegOptimizer.cpp.
TEST | ( | DoglegOptimizer | , |
ComputeBlendEdgeCases | |||
) |
Definition at line 76 of file testDoglegOptimizer.cpp.
TEST | ( | DoglegOptimizer | , |
ComputeDoglegPoint | |||
) |
Definition at line 94 of file testDoglegOptimizer.cpp.
TEST | ( | DoglegOptimizer | , |
Constraint | |||
) |
Definition at line 167 of file testDoglegOptimizer.cpp.
TEST | ( | DoglegOptimizer | , |
Iterate | |||
) |
Definition at line 133 of file testDoglegOptimizer.cpp.
TEST | ( | DogLegOptimizer | , |
VariableUpdate | |||
) |
Test created to fix issue in ISAM2 when using the DogLegOptimizer. Originally reported by kvmanohar22 in issue #301 https://github.com/borglab/gtsam/issues/301
This test is based on a script provided by kvmanohar22 to help reproduce the issue.
Definition at line 213 of file testDoglegOptimizer.cpp.