Go to the documentation of this file.
24 using namespace std::placeholders;
26 using namespace gtsam;
76 const double R =
v /
w;
96 const double R =
v /
w;
99 #ifdef GTSAM_USE_QUATERNIONS
123 const double R =
v /
w;
138 const double a = 0.2;
150 std::bind(&Scenario::velocity_n,
scenario, std::placeholders::_1),
T);
static int runAllTests(TestResult &result)
const Vector3 V0(0, 0, 0)
Vector3 xyz(OptionalJacobian< 3, 3 > H={}) const
Simple class to test navigation scenarios.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Vector3 velocity_n(double t) const override
velocity at time t, in nav frame
#define EXPECT(condition)
static const double kDegree
Vector3 omega_b(double t) const override
angular velocity in body frame
static const Pose3 T3(Rot3::Rodrigues(-90, 0, 0), Point3(1, 2, 3))
Pose3 pose(double t) const override
pose at time t
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
Some functions to compute numerical derivatives.
Rot3 is a 3D rotation represented as a rotation matrix if the preprocessor symbol GTSAM_USE_QUATERNIO...
const Point3 & translation(OptionalJacobian< 3, 6 > Hself={}) const
get translation
ConstantTwistScenario scenario(Z_3x1, Vector3(v, 0, 0))
Accelerating from an arbitrary initial state, with optional rotation.
const Rot3 & rotation(OptionalJacobian< 3, 6 > Hself={}) const
get rotation
Array< int, Dynamic, 1 > v
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
Vector3 acceleration_b(double t) const
Vector3 acceleration_n(double t) const override
acceleration in nav frame
Class expmap(const TangentVector &v) const
Vector3 velocity_b(double t) const
Rot2 R(Rot2::fromAngle(0.1))
Simple trajectory simulator.
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:08:24