Unit tests for Non-Linear Factor, create a non linear factor graph and a values structure for it and calculate the error for the factor. More...
#include <iostream>
#include <CppUnitLite/TestHarness.h>
#include <gtsam/base/Testable.h>
#include <gtsam/base/Matrix.h>
#include <tests/smallExample.h>
#include <tests/simulated2D.h>
#include <gtsam/linear/GaussianFactor.h>
#include <gtsam/nonlinear/NonlinearFactorGraph.h>
#include <gtsam/inference/Symbol.h>
Go to the source code of this file.
Classes | |
class | TestFactor4 |
class | TestFactor5 |
class | TestFactor6 |
Macros | |
#define | GTSAM_MAGIC_GAUSSIAN 2 |
Typedefs | |
typedef boost::shared_ptr< NonlinearFactor > | shared_nlf |
Functions | |
int | main () |
TEST (NonlinearFactor, equals) | |
TEST (NonlinearFactor, equals2) | |
TEST (NonlinearFactor, NonlinearFactor) | |
TEST (NonlinearFactor, linearize_f1) | |
TEST (NonlinearFactor, linearize_f2) | |
TEST (NonlinearFactor, linearize_f3) | |
TEST (NonlinearFactor, linearize_f4) | |
TEST (NonlinearFactor, size) | |
TEST (NonlinearFactor, linearize_constraint1) | |
TEST (NonlinearFactor, linearize_constraint2) | |
TEST (NonlinearFactor, cloneWithNewNoiseModel) | |
TEST (NonlinearFactor, NoiseModelFactor4) | |
TEST (NonlinearFactor, NoiseModelFactor5) | |
TEST (NonlinearFactor, NoiseModelFactor6) | |
TEST (NonlinearFactor, clone_rekey) | |
Unit tests for Non-Linear Factor, create a non linear factor graph and a values structure for it and calculate the error for the factor.
Definition in file testNonlinearFactor.cpp.
#define GTSAM_MAGIC_GAUSSIAN 2 |
Definition at line 26 of file testNonlinearFactor.cpp.
typedef boost::shared_ptr<NonlinearFactor > shared_nlf |
Definition at line 44 of file testNonlinearFactor.cpp.
int main | ( | void | ) |
Definition at line 442 of file testNonlinearFactor.cpp.
TEST | ( | NonlinearFactor | , |
equals | |||
) |
Definition at line 47 of file testNonlinearFactor.cpp.
TEST | ( | NonlinearFactor | , |
equals2 | |||
) |
Definition at line 66 of file testNonlinearFactor.cpp.
TEST | ( | NonlinearFactor | , |
NonlinearFactor | |||
) |
Definition at line 80 of file testNonlinearFactor.cpp.
TEST | ( | NonlinearFactor | , |
linearize_f1 | |||
) |
Definition at line 105 of file testNonlinearFactor.cpp.
TEST | ( | NonlinearFactor | , |
linearize_f2 | |||
) |
Definition at line 127 of file testNonlinearFactor.cpp.
TEST | ( | NonlinearFactor | , |
linearize_f3 | |||
) |
Definition at line 145 of file testNonlinearFactor.cpp.
TEST | ( | NonlinearFactor | , |
linearize_f4 | |||
) |
Definition at line 162 of file testNonlinearFactor.cpp.
TEST | ( | NonlinearFactor | , |
size | |||
) |
Definition at line 179 of file testNonlinearFactor.cpp.
TEST | ( | NonlinearFactor | , |
linearize_constraint1 | |||
) |
Definition at line 197 of file testNonlinearFactor.cpp.
TEST | ( | NonlinearFactor | , |
linearize_constraint2 | |||
) |
Definition at line 216 of file testNonlinearFactor.cpp.
TEST | ( | NonlinearFactor | , |
cloneWithNewNoiseModel | |||
) |
Definition at line 237 of file testNonlinearFactor.cpp.
TEST | ( | NonlinearFactor | , |
NoiseModelFactor4 | |||
) |
Definition at line 283 of file testNonlinearFactor.cpp.
TEST | ( | NonlinearFactor | , |
NoiseModelFactor5 | |||
) |
Definition at line 329 of file testNonlinearFactor.cpp.
TEST | ( | NonlinearFactor | , |
NoiseModelFactor6 | |||
) |
Definition at line 381 of file testNonlinearFactor.cpp.
TEST | ( | NonlinearFactor | , |
clone_rekey | |||
) |
Definition at line 410 of file testNonlinearFactor.cpp.