28 using namespace gtsam;
44 TEST( simulated3D, Dprior )
59 Matrix A1 = numericalDerivative21<Point3, Point3, Point3>(boost::bind(
simulated3D::odo, _1, _2, boost::none, boost::none),
x1,
x2);
61 Matrix A2 = numericalDerivative22<Point3, Point3, Point3>(boost::bind(
simulated3D::odo, _1, _2, boost::none, boost::none),
x1,
x2);
Concept check for values that can be used in unit tests.
static int runAllTests(TestResult &result)
void insert(Key j, const Value &val)
Point3 odo(const Point3 &x1, const Point3 &x2, boost::optional< Matrix & > H1=boost::none, boost::optional< Matrix & > H2=boost::none)
Some functions to compute numerical derivatives.
Pose3 x2(Rot3::Ypr(0.0, 0.0, 0.0), l2)
#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)
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
Point3 prior(const Point3 &x, boost::optional< Matrix & > H=boost::none)