Go to the documentation of this file.
27 using namespace gtsam;
33 Rot3_ rot3_expr(
'r', 0);
35 Pose3_ pose_expr(&Pose3::Create, rot3_expr, t_expr);
36 CalibratedCamera_ camera_expr(&CalibratedCamera::Create, pose_expr);
38 Point2_ point2_expr = project2<CalibratedCamera>(camera_expr, point3_expr);
static int runAllTests(TestResult &result)
Rot3 rotation(const Pose3 &pose, OptionalJacobian< 3, 6 > H)
gtsam::Expression< typename gtsam::traits< T >::TangentVector > logmap(const gtsam::Expression< T > &x1, const gtsam::Expression< T > &x2)
logmap
TEST(SlamExpressions, project2)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
static Point2 project2(const CalibratedCamera &camera, const Point3 &point)
Calibrated camera for which only pose is unknown.
Rot3 is a 3D rotation represented as a rotation matrix if the preprocessor symbol GTSAM_USE_QUATERNIO...
static const Line3 l(Rot3(), 1, 1)
void insert(Key j, const Vector &value)
Test harness methods for expressions.
Common expressions for solving geometry/slam/sfm problems.
P unrotate(const T &r, const P &pt)
#define EXPECT_CORRECT_EXPRESSION_JACOBIANS(expression, values, numerical_derivative_step, tolerance)
Check the Jacobians produced by an expression against finite differences.
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:08:36