10 using namespace gtsam;
15 const double dt = 1.0;
23 TEST( testVelocityConstraint, trapezoidal ) {
35 TEST( testEulerVelocityConstraint, euler_start ) {
47 TEST( testEulerVelocityConstraint, euler_end ) {
PoseRTV pose1a(Point3(0.5, 0.0, 0.0))
static const Eigen::MatrixBase< Vector3 >::ConstantReturnType Z_3x1
static int runAllTests(TestResult &result)
Vector3 Velocity3
Velocity is currently typedef'd to Vector3.
Constraint enforcing the relationship between pose and velocity.
static Rot3 identity()
identity rotation for group operation
#define EXPECT(condition)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
PoseRTV pose1(Point3(0.5, 0.0, 0.0), Rot3::identity(), Velocity3(1.0, 0.0, 0.0))
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
gtsam::Vector evaluateError(const PoseRTV &x1, const PoseRTV &x2, boost::optional< gtsam::Matrix & > H1=boost::none, boost::optional< gtsam::Matrix & > H2=boost::none) const override
TEST(LPInitSolver, InfiniteLoopSingleVar)
PoseRTV pose2(Point3(1.5, 0.0, 0.0), Rot3::identity(), Velocity3(1.0, 0.0, 0.0))
std::uint64_t Key
Integer nonlinear key type.