Unit tests for the GaussMarkov1stOrder factor. More...
#include <CppUnitLite/TestHarness.h>
#include <gtsam/base/Vector.h>
#include <gtsam/base/numericalDerivative.h>
#include <gtsam/inference/Key.h>
#include <gtsam/nonlinear/Values.h>
#include <gtsam_unstable/slam/GaussMarkov1stOrderFactor.h>
Go to the source code of this file.
Typedefs | |
typedef GaussMarkov1stOrderFactor< Vector3 > | GaussMarkovFactor |
Factors. More... | |
Functions | |
int | main () |
Vector | predictionError (const Vector &v1, const Vector &v2, const GaussMarkovFactor factor) |
TEST (GaussMarkovFactor, equals) | |
TEST (GaussMarkovFactor, error) | |
TEST (GaussMarkovFactor, jacobian) | |
Unit tests for the GaussMarkov1stOrder factor.
Definition in file testGaussMarkov1stOrderFactor.cpp.
Factors.
Definition at line 31 of file testGaussMarkov1stOrderFactor.cpp.
int main | ( | void | ) |
Definition at line 124 of file testGaussMarkov1stOrderFactor.cpp.
Vector predictionError | ( | const Vector & | v1, |
const Vector & | v2, | ||
const GaussMarkovFactor | factor | ||
) |
Definition at line 34 of file testGaussMarkov1stOrderFactor.cpp.
TEST | ( | GaussMarkovFactor | , |
equals | |||
) |
Definition at line 40 of file testGaussMarkov1stOrderFactor.cpp.
TEST | ( | GaussMarkovFactor | , |
error | |||
) |
Definition at line 56 of file testGaussMarkov1stOrderFactor.cpp.
TEST | ( | GaussMarkovFactor | , |
jacobian | |||
) |
Definition at line 88 of file testGaussMarkov1stOrderFactor.cpp.