MRPT  2.0.0
List of all members | Protected Member Functions
QuaternionTests Class Reference

Detailed Description

Definition at line 27 of file CQuaternion_unittest.cpp.

Inheritance diagram for QuaternionTests:

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
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()

void QuaternionTests::SetUp ( )
inlineoverrideprotected

Definition at line 30 of file CQuaternion_unittest.cpp.

◆ TearDown()

void QuaternionTests::TearDown ( )
inlineoverrideprotected

Definition at line 31 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 EXPECT_NEAR(), 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 32 of file CQuaternion_unittest.cpp.

References EXPECT_NEAR(), 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 EXPECT_NEAR(), 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 47 of file CQuaternion_unittest.cpp.

References EXPECT_NEAR(), 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 2.0.0 Git: b38439d21 Tue Mar 31 19:58:06 2020 +0200 at miƩ abr 1 00:50:30 CEST 2020