Main MRPT website > C++ reference for MRPT 1.9.9
List of all members | Protected Member Functions
QuaternionTests Class Reference

Detailed Description

Definition at line 26 of file CQuaternion_unittest.cpp.

Inheritance diagram for QuaternionTests:
Inheritance graph

Protected Member Functions

virtual void SetUp ()
 
virtual void TearDown ()
 
void test_gimbalLock (double YAW, double PITCH, double ROLL)
 
void test_toYPRAndBack (double YAW, double PITCH, double ROLL)
 
void test_lnAndExpMatches (double yaw1, double pitch1, double roll1)
 
void test_ExpAndLnMatches (double v0, double v1, double v2)
 

Member Function Documentation

◆ SetUp()

virtual void QuaternionTests::SetUp ( )
inlineprotectedvirtual

Definition at line 29 of file CQuaternion_unittest.cpp.

◆ TearDown()

virtual void QuaternionTests::TearDown ( )
inlineprotectedvirtual

Definition at line 30 of file CQuaternion_unittest.cpp.

◆ test_ExpAndLnMatches()

void QuaternionTests::test_ExpAndLnMatches ( double  v0,
double  v1,
double  v2 
)
inlineprotected

Definition at line 98 of file CQuaternion_unittest.cpp.

References mrpt::math::CQuaternion< T >::ln(), and mrpt::math::sum().

Here is the call graph for this function:

◆ test_gimbalLock()

void QuaternionTests::test_gimbalLock ( double  YAW,
double  PITCH,
double  ROLL 
)
inlineprotected

Definition at line 31 of file CQuaternion_unittest.cpp.

References mrpt::poses::CPose3D::getAsQuaternion(), and mrpt::math::sum().

Here is the call graph for this function:

◆ test_lnAndExpMatches()

void QuaternionTests::test_lnAndExpMatches ( double  yaw1,
double  pitch1,
double  roll1 
)
inlineprotected

Definition at line 79 of file CQuaternion_unittest.cpp.

References mrpt::poses::CPose3D::getAsQuaternion(), mrpt::math::CQuaternion< T >::ln(), and mrpt::math::sum().

Here is the call graph for this function:

◆ test_toYPRAndBack()

void QuaternionTests::test_toYPRAndBack ( double  YAW,
double  PITCH,
double  ROLL 
)
inlineprotected

Definition at line 49 of file CQuaternion_unittest.cpp.

References mrpt::poses::CPose3D::getRotationMatrix(), and mrpt::poses::CPose3DQuat::quat().

Here is the call graph for this function:



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019