Go to the documentation of this file.
25 using namespace gtsam;
44 Q q1(5
e-06, 0, 0, 1), q2(-5
e-06, 0, 0, -1);
114 EXPECT(check_group_invariants(
id,
id));
115 EXPECT(check_group_invariants(
id,
R1));
116 EXPECT(check_group_invariants(
R2,
id));
119 EXPECT(check_manifold_invariants(
id,
id));
120 EXPECT(check_manifold_invariants(
id,
R1));
121 EXPECT(check_manifold_invariants(
R2,
id));
static int runAllTests(TestResult &result)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
#define EXPECT(condition)
Represents a 3D rotation as a rotation angle around an arbitrary 3D axis.
static const Similarity3 id
Some functions to compute numerical derivatives.
EIGEN_DEVICE_FUNC const Scalar & q
#define CHECK_LIE_GROUP_DERIVATIVES(t1, t2)
BetweenFactor< Rot3 > Between
The quaternion class used to represent 3D orientations and rotations.
Lie Group wrapper for Eigen Quaternions.
Array< int, Dynamic, 1 > v
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
#define GTSAM_CONCEPT_ASSERT(concept)
#define CHECK_CHART_DERIVATIVES(t1, t2)
traits< Q >::ChartJacobian QuaternionJacobian
TEST(Quaternion, Concept)
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:08:20