32 #include <boost/assign/list_of.hpp> 33 using boost::assign::list_of;
34 using boost::assign::map_list_of;
37 using namespace gtsam;
43 TEST(Manifold, SomeManifoldsGTSAM) {
52 TEST(Manifold, SomeLieGroupsGTSAM) {
60 TEST(Manifold, SomeVectorSpacesGTSAM) {
69 TEST(Manifold, _dimension) {
86 TEST(Manifold, DefaultChart) {
99 typedef Matrix2 ManifoldPoint;
142 Rot3 I = Rot3::identity();
PinholeCamera< Cal3Bundler > Camera
static const Eigen::MatrixBase< Vector3 >::ConstantReturnType Z_3x1
Concept check for values that can be used in unit tests.
static int runAllTests(TestResult &result)
BOOST_CONCEPT_ASSERT((boost::RandomAccessRangeConcept< ListOfOneContainer< int > >))
Rot2 R(Rot2::fromAngle(0.1))
#define EXPECT_DOUBLES_EQUAL(expected, actual, threshold)
Base class for all pinhole cameras.
Base class and basic functions for Manifold types.
#define EXPECT(condition)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
TEST(Manifold, SomeManifoldsGTSAM)
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
Class retract(const TangentVector &v) const
retract as required by manifold concept: applies v at *this
#define EXPECT_LONGS_EQUAL(expected, actual)
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > Matrix
The matrix class, also used for vectors and row-vectors.
Eigen::Matrix< double, Eigen::Dynamic, 1 > Vector
static const Eigen::MatrixBase< Vector2 >::ConstantReturnType Z_2x1
Calibration used by Bundler.
The most common 5DOF 3D->2D calibration.