Functions | Variables
testTriangulationFactor.cpp File Reference
#include <gtsam/geometry/triangulation.h>
#include <gtsam/geometry/PinholeCamera.h>
#include <gtsam/geometry/StereoCamera.h>
#include <gtsam/geometry/Cal3Bundler.h>
#include <gtsam/nonlinear/Expression.h>
#include <gtsam/nonlinear/ExpressionFactor.h>
#include <gtsam/base/numericalDerivative.h>
#include <CppUnitLite/TestHarness.h>
#include <boost/assign.hpp>
#include <boost/assign/std/vector.hpp>
Include dependency graph for testTriangulationFactor.cpp:

Go to the source code of this file.

Functions

PinholeCamera< Cal3_S2camera1 (pose1,*sharedCal)
 
static const Point3 landmark (5, 0.5, 1.2)
 
int main ()
 
 TEST (triangulation, TriangulationFactor)
 
 TEST (triangulation, TriangulationFactorStereo)
 

Variables

static const Pose3 pose1 = Pose3(upright, gtsam::Point3(0, 0, 1))
 
static const boost::shared_ptr< Cal3_S2sharedCal
 
static const Rot3 upright = Rot3::Ypr(-M_PI / 2, 0., -M_PI / 2)
 
Point2 z1 = camera1.project(landmark)
 

Function Documentation

PinholeCamera<Cal3_S2> camera1 ( pose1  ,
sharedCal 
)
static const Point3 landmark ( ,
0.  5,
1.  2 
)
static
int main ( void  )

Definition at line 110 of file testTriangulationFactor.cpp.

TEST ( triangulation  ,
TriangulationFactor   
)

Definition at line 51 of file testTriangulationFactor.cpp.

TEST ( triangulation  ,
TriangulationFactorStereo   
)

Definition at line 70 of file testTriangulationFactor.cpp.

Variable Documentation

const Pose3 pose1 = Pose3(upright, gtsam::Point3(0, 0, 1))
static

Definition at line 41 of file testTriangulationFactor.cpp.

const boost::shared_ptr<Cal3_S2> sharedCal
static
Initial value:
=
boost::make_shared<Cal3_S2>(1500, 1200, 0, 640, 480)

Definition at line 36 of file testTriangulationFactor.cpp.

const Rot3 upright = Rot3::Ypr(-M_PI / 2, 0., -M_PI / 2)
static

Definition at line 40 of file testTriangulationFactor.cpp.

Definition at line 48 of file testTriangulationFactor.cpp.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:42