MRPT  1.9.9
Classes | Functions
CQuaternion_unittest.cpp File Reference
#include <CTraitsTest.h>
#include <gtest/gtest.h>
#include <mrpt/math/CQuaternion.h>
#include <mrpt/math/CVectorDynamic.h>
#include <mrpt/poses/CPose3D.h>
#include <mrpt/poses/CPose3DQuat.h>
#include <Eigen/Dense>
Include dependency graph for CQuaternion_unittest.cpp:

Go to the source code of this file.

Classes

class  QuaternionTests
 

Functions

 TEST_F (QuaternionTests, crossProduct)
 
 TEST_F (QuaternionTests, gimbalLock)
 
 TEST_F (QuaternionTests, ToYPRAndBack)
 
 TEST_F (QuaternionTests, LnAndExpMatches)
 
 TEST_F (QuaternionTests, ExpAndLnMatches)
 

Function Documentation

◆ TEST_F() [1/5]

TEST_F ( QuaternionTests  ,
crossProduct   
)

Definition at line 119 of file CQuaternion_unittest.cpp.

References mrpt::poses::CPoseOrPoint< DERIVEDCLASS, DIM >::asVectorVal(), mrpt::math::CQuaternion< T >::crossProduct(), EXPECT_NEAR(), mrpt::poses::CPose3D::getAsQuaternion(), and mrpt::math::sum().

Here is the call graph for this function:

◆ TEST_F() [2/5]

TEST_F ( QuaternionTests  ,
gimbalLock   
)

Definition at line 149 of file CQuaternion_unittest.cpp.

◆ TEST_F() [3/5]

TEST_F ( QuaternionTests  ,
ToYPRAndBack   
)

Definition at line 155 of file CQuaternion_unittest.cpp.

◆ TEST_F() [4/5]

TEST_F ( QuaternionTests  ,
LnAndExpMatches   
)

Definition at line 165 of file CQuaternion_unittest.cpp.

References mrpt::DEG2RAD().

Here is the call graph for this function:

◆ TEST_F() [5/5]

TEST_F ( QuaternionTests  ,
ExpAndLnMatches   
)

Definition at line 180 of file CQuaternion_unittest.cpp.




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020