![]() |
- 3.0.2 rigid body dynamics module.
|
#include <kindr/Core>Go to the source code of this file.
Functions | |
| template<typename SCALAR > | |
| Eigen::Matrix< SCALAR, 3, 1 > | testFunction (const Eigen::Matrix< SCALAR, 3, 1 > &x) |
| template<typename SCALAR > | |
| Eigen::Matrix< SCALAR, 3, 3 > | jacobianCheck (const Eigen::Matrix< SCALAR, 3, 1 > &x) |
| TEST (KindrJitTest, EulerAnglesTest) | |
| template<typename SCALAR > | |
| Eigen::Matrix< SCALAR, 3, 1 > | rotateTestFunction (const Eigen::Matrix< SCALAR, 3, 1 > &x) |
| test the kindr rotate method on euler angles More... | |
| TEST (KindrJitTest, EulerRotateTest) | |
| template<typename SCALAR > | |
| Eigen::Matrix< SCALAR, 3, 1 > | kindrRotationMatrixTestFunction (const Eigen::Matrix< SCALAR, 3, 1 > &x) |
| test the kindr RotationMatrix constructor More... | |
| TEST (KindrJitTest, RotationMatrixTest) | |
| template<typename SCALAR > | |
| Eigen::Matrix< SCALAR, 3, 1 > | convertRotationMatrixToKindrEulerTestFunction (const Eigen::Matrix< SCALAR, 3, 1 > &x) |
| test the behaviour of transcribing a kindr rotation matrix into Euler Angles More... | |
| TEST (KindrJitTest, DISABLED_KindrRotationMatrixToEulerAnglesXyzTest) | |
| template<typename SCALAR > | |
| Eigen::Matrix< SCALAR, 3, 1 > | convertRotationMatrixToEigenEulerTestFunction (const Eigen::Matrix< SCALAR, -1, 1 > &x) |
| test the behaviour of transcribing an Eigen rotation matrix into Eigen Euler Angles More... | |
| TEST (KindrJitTest, DISABLED_EigenRotationMatrixToEigenEulerAnglesTest) | |
| template<typename SCALAR > | |
| Eigen::Matrix< SCALAR, -1, 1 > | frobeniusNormTestFunction (const Eigen::Matrix< SCALAR, -1, 1 > &x) |
| test the Frobenius norm on an EigenMatrix More... | |
| TEST (KindrJitTest, FrobeniusNormTest) | |
| template<typename SCALAR > | |
| Eigen::Matrix< SCALAR, 4, 1 > | convertRotationMatrixToKindrQuatTestFunction (const Eigen::Matrix< SCALAR, 3, 1 > &x) |
| test the behaviour of transcribing a rotation matrix into a kindr RotationQuaternion More... | |
| TEST (KindrJitTest, DISABLED_RotationMatrixToKindrRotationQuatTest) | |
| template<typename SCALAR > | |
| Eigen::Matrix< SCALAR, 4, 1 > | convertKindrRotationMatrixToEigenQuatTestFunction (const Eigen::Matrix< SCALAR, 3, 1 > &x) |
| check conversion from kindr rotation matrix to an eigen quaternion More... | |
| TEST (KindrJitTest, DISABLED_KindrRotationMatrixToEigenRotationQuatTest) | |
| template<typename SCALAR > | |
| Eigen::Matrix< SCALAR, 3, 1 > | eigenTransformTestFunction (const Eigen::Matrix< SCALAR, 3, 1 > &x) |
| test the JIT compatibility of Eigen Transforms More... | |
| TEST (KindrJitTest, EigenTransformTest) | |
| template<typename SCALAR > | |
| Eigen::Matrix< SCALAR, 3, 1 > | eigenQuaternionTestFunction (const Eigen::Matrix< SCALAR, 3, 1 > &x) |
| test the JIT compatibility of Eigen quaternions More... | |
| TEST (KindrJitTest, EigenQuaternionTest) | |
| template<typename SCALAR > | |
| Eigen::Matrix< SCALAR, 4, 1 > | eigenQuatToKindrRotationQuatFunction (const Eigen::Matrix< SCALAR, 3, 1 > &x) |
| check the conversion between an Eigen Quaternion and an kindr RotationQuaternion. More... | |
| TEST (KindrJitTest, EigenQuatToKindrRotationQuatTest) | |
| template<typename SCALAR > | |
| Eigen::Matrix< SCALAR, 4, 1 > | kindrQuaternionTestFunction (const Eigen::Matrix< SCALAR, 3, 1 > &x) |
| test the JIT compatibility of kindr Quaternions More... | |
| TEST (KindrJitTest, kindrQuaternionTest) | |
| template<typename SCALAR > | |
| Eigen::Matrix< SCALAR, 4, 1 > | kindrUnitQuaternionTestFunction (const Eigen::Matrix< SCALAR, 3, 1 > &x) |
| test the JIT compatibility of kindr UnitQuaternions More... | |
| TEST (KindrJitTest, kindrUnitQuaternionTest) | |
| template<typename SCALAR > | |
| Eigen::Matrix< SCALAR, 4, 1 > | kindrRotationQuaternionTestFunction (const Eigen::Matrix< SCALAR, 3, 1 > &x) |
| TEST (KindrJitTest, kindrRotationQuaternionTest) | |
| Eigen::Matrix<SCALAR, 3, 1> testFunction | ( | const Eigen::Matrix< SCALAR, 3, 1 > & | x | ) |
A 3x3 function which constructs a a kindr EulerAngles object in between. The aim of this function is to verify that JIT gets along with kindr Euler angle types (which it should do naturally)
| x | the input |
| Eigen::Matrix<SCALAR, 3, 3> jacobianCheck | ( | const Eigen::Matrix< SCALAR, 3, 1 > & | x | ) |
The analytically, manually derived Jacobian of testFunction() used for verification
| x | the input |
Referenced by TEST().
| TEST | ( | KindrJitTest | , |
| EulerAnglesTest | |||
| ) |
Test for just-in-time compilation of the Jacobian and normal Auto-diff Jacobian, with kindr in the loop
References i, and jacobianCheck().
| Eigen::Matrix<SCALAR, 3, 1> rotateTestFunction | ( | const Eigen::Matrix< SCALAR, 3, 1 > & | x | ) |
test the kindr rotate method on euler angles
| TEST | ( | KindrJitTest | , |
| EulerRotateTest | |||
| ) |
| Eigen::Matrix<SCALAR, 3, 1> kindrRotationMatrixTestFunction | ( | const Eigen::Matrix< SCALAR, 3, 1 > & | x | ) |
test the kindr RotationMatrix constructor
References ct::core::internal::CppADCodegenTrait::cos(), and ct::core::internal::CppADCodegenTrait::sin().
| TEST | ( | KindrJitTest | , |
| RotationMatrixTest | |||
| ) |
| Eigen::Matrix<SCALAR, 3, 1> convertRotationMatrixToKindrEulerTestFunction | ( | const Eigen::Matrix< SCALAR, 3, 1 > & | x | ) |
test the behaviour of transcribing a kindr rotation matrix into Euler Angles
References ct::core::internal::CppADCodegenTrait::cos(), and ct::core::internal::CppADCodegenTrait::sin().
| TEST | ( | KindrJitTest | , |
| DISABLED_KindrRotationMatrixToEulerAnglesXyzTest | |||
| ) |
| Eigen::Matrix<SCALAR, 3, 1> convertRotationMatrixToEigenEulerTestFunction | ( | const Eigen::Matrix< SCALAR, -1, 1 > & | x | ) |
test the behaviour of transcribing an Eigen rotation matrix into Eigen Euler Angles
References ct::core::internal::CppADCodegenTrait::cos(), and ct::core::internal::CppADCodegenTrait::sin().
| TEST | ( | KindrJitTest | , |
| DISABLED_EigenRotationMatrixToEigenEulerAnglesTest | |||
| ) |
| Eigen::Matrix<SCALAR, -1, 1> frobeniusNormTestFunction | ( | const Eigen::Matrix< SCALAR, -1, 1 > & | x | ) |
test the Frobenius norm on an EigenMatrix
References ct::core::internal::CppADCodegenTrait::cos(), and ct::core::internal::CppADCodegenTrait::sin().
| TEST | ( | KindrJitTest | , |
| FrobeniusNormTest | |||
| ) |
| Eigen::Matrix<SCALAR, 4, 1> convertRotationMatrixToKindrQuatTestFunction | ( | const Eigen::Matrix< SCALAR, 3, 1 > & | x | ) |
test the behaviour of transcribing a rotation matrix into a kindr RotationQuaternion
References ct::core::internal::CppADCodegenTrait::cos(), and ct::core::internal::CppADCodegenTrait::sin().
| TEST | ( | KindrJitTest | , |
| DISABLED_RotationMatrixToKindrRotationQuatTest | |||
| ) |
| Eigen::Matrix<SCALAR, 4, 1> convertKindrRotationMatrixToEigenQuatTestFunction | ( | const Eigen::Matrix< SCALAR, 3, 1 > & | x | ) |
check conversion from kindr rotation matrix to an eigen quaternion
References ct::core::internal::CppADCodegenTrait::cos(), and ct::core::internal::CppADCodegenTrait::sin().
| TEST | ( | KindrJitTest | , |
| DISABLED_KindrRotationMatrixToEigenRotationQuatTest | |||
| ) |
| TEST | ( | KindrJitTest | , |
| EigenTransformTest | |||
| ) |
| Eigen::Matrix<SCALAR, 3, 1> eigenQuaternionTestFunction | ( | const Eigen::Matrix< SCALAR, 3, 1 > & | x | ) |
test the JIT compatibility of Eigen quaternions
| TEST | ( | KindrJitTest | , |
| EigenQuaternionTest | |||
| ) |
| Eigen::Matrix<SCALAR, 4, 1> eigenQuatToKindrRotationQuatFunction | ( | const Eigen::Matrix< SCALAR, 3, 1 > & | x | ) |
check the conversion between an Eigen Quaternion and an kindr RotationQuaternion.
| TEST | ( | KindrJitTest | , |
| EigenQuatToKindrRotationQuatTest | |||
| ) |
| Eigen::Matrix<SCALAR, 4, 1> kindrQuaternionTestFunction | ( | const Eigen::Matrix< SCALAR, 3, 1 > & | x | ) |
test the JIT compatibility of kindr Quaternions
| TEST | ( | KindrJitTest | , |
| kindrQuaternionTest | |||
| ) |
| Eigen::Matrix<SCALAR, 4, 1> kindrUnitQuaternionTestFunction | ( | const Eigen::Matrix< SCALAR, 3, 1 > & | x | ) |
test the JIT compatibility of kindr UnitQuaternions
| TEST | ( | KindrJitTest | , |
| kindrUnitQuaternionTest | |||
| ) |
| Eigen::Matrix<SCALAR, 4, 1> kindrRotationQuaternionTestFunction | ( | const Eigen::Matrix< SCALAR, 3, 1 > & | x | ) |
Test JIT compatiblility of the kindr "RotationQuaternion" class
| TEST | ( | KindrJitTest | , |
| kindrRotationQuaternionTest | |||
| ) |