Unit test for the BetweenFactorEM. More...
#include <CppUnitLite/TestHarness.h>
#include <gtsam_unstable/slam/BetweenFactorEM.h>
#include <gtsam/geometry/Pose2.h>
#include <gtsam/nonlinear/Values.h>
#include <gtsam/base/numericalDerivative.h>
#include <gtsam/base/Vector.h>
#include <gtsam/slam/BetweenFactor.h>
Go to the source code of this file.
Functions | |
int | main () |
Vector | predictionError (const Pose2 &p1, const Pose2 &p2, const gtsam::Key &key1, const gtsam::Key &key2, const BetweenFactorEM< gtsam::Pose2 > &factor) |
Vector | predictionError_standard (const Pose2 &p1, const Pose2 &p2, const gtsam::Key &key1, const gtsam::Key &key2, const BetweenFactor< gtsam::Pose2 > &factor) |
TEST (BetweenFactorEM, CaseStudy) | |
TEST (BetweenFactorEM, ConstructorAndEquals) | |
TEST (BetweenFactorEM, EvaluateError) | |
TEST (BetweenFactorEM, jacobian) | |
TEST (BetweenFactorEM, updateNoiseModel) | |
Unit test for the BetweenFactorEM.
Definition in file testBetweenFactorEM.cpp.
int main | ( | ) |
Definition at line 300 of file testBetweenFactorEM.cpp.
Vector predictionError | ( | const Pose2 & | p1, |
const Pose2 & | p2, | ||
const gtsam::Key & | key1, | ||
const gtsam::Key & | key2, | ||
const BetweenFactorEM< gtsam::Pose2 > & | factor | ||
) |
Definition at line 28 of file testBetweenFactorEM.cpp.
Vector predictionError_standard | ( | const Pose2 & | p1, |
const Pose2 & | p2, | ||
const gtsam::Key & | key1, | ||
const gtsam::Key & | key2, | ||
const BetweenFactor< gtsam::Pose2 > & | factor | ||
) |
Definition at line 36 of file testBetweenFactorEM.cpp.
TEST | ( | BetweenFactorEM | , |
CaseStudy | |||
) |
Definition at line 209 of file testBetweenFactorEM.cpp.
TEST | ( | BetweenFactorEM | , |
ConstructorAndEquals | |||
) |
Definition at line 46 of file testBetweenFactorEM.cpp.
TEST | ( | BetweenFactorEM | , |
EvaluateError | |||
) |
Definition at line 74 of file testBetweenFactorEM.cpp.
TEST | ( | BetweenFactorEM | , |
jacobian | |||
) |
Definition at line 146 of file testBetweenFactorEM.cpp.
TEST | ( | BetweenFactorEM | , |
updateNoiseModel | |||
) |
Definition at line 256 of file testBetweenFactorEM.cpp.