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)
Pose3 x2(Rot3::Ypr(0.0, 0.0, 0.0), l2)
Vector evaluateError(const double &x1, const double &x2, const double &v, boost::optional< Matrix & > H1=boost::none, boost::optional< Matrix & > H2=boost::none, boost::optional< Matrix & > H3=boost::none) const override
#define EXPECT(condition)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
TEST(LPInitSolver, InfiniteLoopSingleVar)
A simple 3-way factor constraining double poses and velocity.