Unit tests for Pose+Transform+Calibration ProjectionFactor Class. More...
#include <gtsam/base/numericalDerivative.h>
#include <gtsam/base/TestableAssertions.h>
#include <gtsam_unstable/slam/ProjectionFactorPPPC.h>
#include <gtsam/inference/Symbol.h>
#include <gtsam/geometry/Cal3DS2.h>
#include <gtsam/geometry/Cal3_S2.h>
#include <gtsam/geometry/Pose3.h>
#include <gtsam/geometry/Point3.h>
#include <gtsam/geometry/Point2.h>
#include <CppUnitLite/TestHarness.h>
#include <boost/bind.hpp>
Go to the source code of this file.
Typedefs | |
typedef ProjectionFactorPPPC< Pose3, Point3, Cal3_S2 > | TestProjectionFactor |
Functions | |
static Cal3_S2::shared_ptr | K1 (new Cal3_S2(fov, w, h)) |
int | main () |
static SharedNoiseModel | model (noiseModel::Unit::Create(2)) |
TEST (ProjectionFactorPPPC, nonStandard) | |
TEST (ProjectionFactorPPPC, Constructor) | |
TEST (ProjectionFactorPPPC, Equals) | |
TEST (ProjectionFactorPPPC, Error) | |
TEST (ProjectionFactorPPPC, ErrorWithTransform) | |
TEST (ProjectionFactorPPPC, Jacobian) | |
TEST (ProjectionFactorPPPC, JacobianWithTransform) | |
Variables | |
static double | fov = 60 |
static size_t | h =480 |
static size_t | w =640 |
Unit tests for Pose+Transform+Calibration ProjectionFactor Class.
Definition in file testProjectionFactorPPPC.cpp.
typedef ProjectionFactorPPPC<Pose3, Point3, Cal3_S2> TestProjectionFactor |
Definition at line 50 of file testProjectionFactorPPPC.cpp.
|
static |
int main | ( | void | ) |
Definition at line 189 of file testProjectionFactorPPPC.cpp.
|
static |
TEST | ( | ProjectionFactorPPPC | , |
nonStandard | |||
) |
Definition at line 53 of file testProjectionFactorPPPC.cpp.
TEST | ( | ProjectionFactorPPPC | , |
Constructor | |||
) |
Definition at line 58 of file testProjectionFactorPPPC.cpp.
TEST | ( | ProjectionFactorPPPC | , |
Equals | |||
) |
Definition at line 65 of file testProjectionFactorPPPC.cpp.
TEST | ( | ProjectionFactorPPPC | , |
Error | |||
) |
Definition at line 76 of file testProjectionFactorPPPC.cpp.
TEST | ( | ProjectionFactorPPPC | , |
ErrorWithTransform | |||
) |
Definition at line 96 of file testProjectionFactorPPPC.cpp.
TEST | ( | ProjectionFactorPPPC | , |
Jacobian | |||
) |
Definition at line 117 of file testProjectionFactorPPPC.cpp.
TEST | ( | ProjectionFactorPPPC | , |
JacobianWithTransform | |||
) |
Definition at line 152 of file testProjectionFactorPPPC.cpp.
|
static |
Definition at line 37 of file testProjectionFactorPPPC.cpp.
|
static |
Definition at line 38 of file testProjectionFactorPPPC.cpp.
|
static |
Definition at line 38 of file testProjectionFactorPPPC.cpp.