Unit tests for ProjectionFactor Class. More...
#include <gtsam/slam/ProjectionFactor.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 <gtsam/base/TestableAssertions.h>
#include <CppUnitLite/TestHarness.h>
Go to the source code of this file.
Typedefs | |
typedef GenericProjectionFactor< Pose3, Point3 > | TestProjectionFactor |
Functions | |
static Cal3_S2::shared_ptr | K (new Cal3_S2(fov, w, h)) |
int | main () |
static SharedNoiseModel | model (noiseModel::Unit::Create(2)) |
TEST (ProjectionFactor, Constructor) | |
TEST (ProjectionFactor, ConstructorWithTransform) | |
TEST (ProjectionFactor, Equals) | |
TEST (ProjectionFactor, EqualsWithTransform) | |
TEST (ProjectionFactor, Error) | |
TEST (ProjectionFactor, ErrorWithTransform) | |
TEST (ProjectionFactor, Jacobian) | |
TEST (ProjectionFactor, JacobianWithTransform) | |
TEST (ProjectionFactor, nonStandard) | |
Variables | |
static double | fov = 60 |
static size_t | h =480 |
static size_t | w =640 |
Unit tests for ProjectionFactor Class.
Unit tests for ProjectionFactorPPP Class.
Definition in file testProjectionFactor.cpp.
Definition at line 44 of file testProjectionFactor.cpp.
|
static |
int main | ( | ) |
Definition at line 192 of file testProjectionFactor.cpp.
|
static |
TEST | ( | ProjectionFactor | , |
Constructor | |||
) |
Definition at line 52 of file testProjectionFactor.cpp.
TEST | ( | ProjectionFactor | , |
ConstructorWithTransform | |||
) |
Definition at line 62 of file testProjectionFactor.cpp.
TEST | ( | ProjectionFactor | , |
Equals | |||
) |
Definition at line 73 of file testProjectionFactor.cpp.
TEST | ( | ProjectionFactor | , |
EqualsWithTransform | |||
) |
Definition at line 84 of file testProjectionFactor.cpp.
TEST | ( | ProjectionFactor | , |
Error | |||
) |
Definition at line 96 of file testProjectionFactor.cpp.
TEST | ( | ProjectionFactor | , |
ErrorWithTransform | |||
) |
Definition at line 118 of file testProjectionFactor.cpp.
TEST | ( | ProjectionFactor | , |
Jacobian | |||
) |
Definition at line 141 of file testProjectionFactor.cpp.
TEST | ( | ProjectionFactor | , |
JacobianWithTransform | |||
) |
Definition at line 166 of file testProjectionFactor.cpp.
TEST | ( | ProjectionFactor | , |
nonStandard | |||
) |
Definition at line 47 of file testProjectionFactor.cpp.
|
static |
Definition at line 33 of file testProjectionFactor.cpp.
|
static |
Definition at line 34 of file testProjectionFactor.cpp.
|
static |
Definition at line 34 of file testProjectionFactor.cpp.