#include <gtsam/base/numericalDerivative.h>
#include <gtsam/base/TestableAssertions.h>
#include <gtsam_unstable/slam/ProjectionFactorPPP.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>
Go to the source code of this file.
Classes | |
struct | gtsam::traits< TestProjectionFactor > |
Namespaces | |
gtsam | |
traits | |
Typedefs | |
typedef ProjectionFactorPPP< 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 (ProjectionFactorPPP, Constructor) | |
TEST (ProjectionFactorPPP, ConstructorWithTransform) | |
TEST (ProjectionFactorPPP, Equals) | |
TEST (ProjectionFactorPPP, EqualsWithTransform) | |
TEST (ProjectionFactorPPP, Error) | |
TEST (ProjectionFactorPPP, ErrorWithTransform) | |
TEST (ProjectionFactorPPP, Jacobian) | |
TEST (ProjectionFactorPPP, JacobianWithTransform) | |
TEST (ProjectionFactorPPP, nonStandard) | |
Variables | |
static double | fov = 60 |
static size_t | h =480 |
static size_t | w =640 |
typedef ProjectionFactorPPP<Pose3, Point3> TestProjectionFactor |
Definition at line 48 of file testProjectionFactorPPP.cpp.
|
static |
int main | ( | ) |
Definition at line 227 of file testProjectionFactorPPP.cpp.
|
static |
TEST | ( | ProjectionFactorPPP | , |
Constructor | |||
) |
Definition at line 63 of file testProjectionFactorPPP.cpp.
TEST | ( | ProjectionFactorPPP | , |
ConstructorWithTransform | |||
) |
Definition at line 74 of file testProjectionFactorPPP.cpp.
TEST | ( | ProjectionFactorPPP | , |
Equals | |||
) |
Definition at line 84 of file testProjectionFactorPPP.cpp.
TEST | ( | ProjectionFactorPPP | , |
EqualsWithTransform | |||
) |
Definition at line 95 of file testProjectionFactorPPP.cpp.
TEST | ( | ProjectionFactorPPP | , |
Error | |||
) |
Definition at line 107 of file testProjectionFactorPPP.cpp.
TEST | ( | ProjectionFactorPPP | , |
ErrorWithTransform | |||
) |
Definition at line 130 of file testProjectionFactorPPP.cpp.
TEST | ( | ProjectionFactorPPP | , |
Jacobian | |||
) |
Definition at line 154 of file testProjectionFactorPPP.cpp.
TEST | ( | ProjectionFactorPPP | , |
JacobianWithTransform | |||
) |
Definition at line 189 of file testProjectionFactorPPP.cpp.
TEST | ( | ProjectionFactorPPP | , |
nonStandard | |||
) |
Definition at line 58 of file testProjectionFactorPPP.cpp.
|
static |
Definition at line 36 of file testProjectionFactorPPP.cpp.
|
static |
Definition at line 37 of file testProjectionFactorPPP.cpp.
|
static |
Definition at line 37 of file testProjectionFactorPPP.cpp.