Go to the documentation of this file.
11 using namespace gtsam;
16 TEST( testVelocityConstraint3, evaluateError) {
18 const double tol = 1
e-5;
19 const double dt = 1.0;
20 double x1(1.0),
x2(2.0),
v(1.0);
static int runAllTests(TestResult &result)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
#define EXPECT(condition)
Vector evaluateError(const double &x1, const double &x2, const double &v, OptionalMatrixType H1, OptionalMatrixType H2, OptionalMatrixType H3) const override
A simple 3-way factor constraining double poses and velocity.
TEST(SmartFactorBase, Pinhole)
Array< int, Dynamic, 1 > v
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
Pose3 x2(Rot3::Ypr(0.0, 0.0, 0.0), l2)
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:08:56