28 using namespace gtsam;
35 double measurement2D(10.0);
static int runAllTests(TestResult &result)
Evaluate derivatives of a nonlinear factor numerically.
const gtsam::Key pointKey
#define EXPECT_CORRECT_EXPRESSION_JACOBIANS(expression, values, numerical_derivative_step, tolerance)
Check the Jacobians produced by an expression against finite differences.
Represents a 3D point on a unit sphere.
Test harness methods for expressions.
Unit3 bearing(const Point3 &point, OptionalJacobian< 2, 6 > Hself={}, OptionalJacobian< 2, 3 > Hpoint={}) const
Array< double, 1, 3 > e(1./3., 0.5, 2.)
#define EXPECT_CORRECT_FACTOR_JACOBIANS(factor, values, numerical_derivative_step, tolerance)
Check the Jacobians produced by a factor against finite differences.
void insert(Key j, const Value &val)
std::uint64_t Key
Integer nonlinear key type.
noiseModel::Base::shared_ptr SharedNoiseModel