29 using namespace gtsam;
45 TEST( simulated3D, Dprior )
48 Matrix numerical = numericalDerivative11<Point3, Point3>(std::bind(
simulated3D::prior, std::placeholders::_1,
nullptr),
x);
60 Matrix A1 = numericalDerivative21<Point3, Point3, Point3>(
65 Matrix A2 = numericalDerivative22<Point3, Point3, Point3>(
Concept check for values that can be used in unit tests.
static int runAllTests(TestResult &result)
Point2 prior(const Point2 &x)
Prior on a single pose.
Point2 odo(const Point2 &x1, const Point2 &x2)
odometry between two poses
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
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.)
TEST(simulated3D, Values)
void insert(Key j, const Value &val)
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