Go to the documentation of this file.
25 using namespace gtsam;
54 long timeLog = clock();
55 for(
int i = 0;
i <
n;
i++)
57 long timeLog2 = clock();
58 double seconds = (double)(timeLog2-timeLog)/CLOCKS_PER_SEC;
59 cout << ((double)seconds*1e9/
n) <<
" nanosecs/call" << endl;
64 long timeLog = clock();
66 for(
int i = 0;
i <
n;
i++)
68 long timeLog2 = clock();
69 double seconds = (double)(timeLog2-timeLog)/CLOCKS_PER_SEC;
70 cout << ((double)seconds*1e9/
n) <<
" nanosecs/call" << endl;
85 long timeLog = clock();
86 for(
int i = 0;
i <
n;
i++)
88 long timeLog2 = clock();
89 double seconds = (double)(timeLog2-timeLog)/CLOCKS_PER_SEC;
90 cout << ((double)seconds*1e9/
n) <<
" nanosecs/call" << endl;
104 Matrix Dpose, Dpoint, Dcal;
105 long timeLog = clock();
106 for(
int i = 0;
i <
n;
i++)
108 long timeLog2 = clock();
109 double seconds = (double)(timeLog2-timeLog)/CLOCKS_PER_SEC;
110 cout << ((double)seconds*1e9/
n) <<
" nanosecs/call" << endl;
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Rot3 is a 3D rotation represented as a rotation matrix if the preprocessor symbol GTSAM_USE_QUATERNIO...
Base class for all pinhole cameras.
Calibration used by Bundler.
static const Pose3 pose1(Rot3(), Point3(0, 1, 0.5))
const Point3 point1(3.0, 4.0, 2.0)
static const CalibratedCamera camera(kDefaultPose)
Calibration used by Bundler.
static Point2 measurement(323.0, 240.0)
Point2 project(const Point3 &point, OptionalJacobian< 2, 6 > Dcamera={}, OptionalJacobian< 2, 3 > Dpoint={}) const
gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:42:11