26 using namespace gtsam;
67 std::shared_ptr<GaussianFactor> lf = factor.
linearize(config);
Concept check for values that can be used in unit tests.
static int runAllTests(TestResult &result)
noiseModel::Diagonal::shared_ptr model
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)
internal::FixedSizeMatrix< Y, X >::type numericalDerivative11(std::function< Y(const X &)> h, const X &x, double delta=1e-5)
New-style numerical derivatives using manifold_traits.
internal::FixedSizeMatrix< Y, X1 >::type numericalDerivative21(const std::function< Y(const X1 &, const X2 &)> &h, const X1 &x1, const X2 &x2, double delta=1e-5)
static Point2 measurement(323.0, 240.0)
Pose2 odo(const Pose2 &x1, const Pose2 &x2)
odometry between two poses
Array< double, 1, 3 > e(1./3., 0.5, 2.)
std::shared_ptr< GaussianFactor > linearize(const Values &x) const override
noiseModel::Diagonal::shared_ptr SharedDiagonal
measurement functions and derivatives for simulated 2D robot
TEST(simulated2DOriented, Dprior)
internal::FixedSizeMatrix< Y, X2 >::type numericalDerivative22(std::function< Y(const X1 &, const X2 &)> h, const X1 &x1, const X2 &x2, double delta=1e-5)
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
Pose2 prior(const Pose2 &x)
Prior on a single pose.