#include <mrpt/math/CQuaternion.h>
#include <mrpt/poses/CPose3D.h>
#include <mrpt/poses/CPose3DQuat.h>
#include <gtest/gtest.h>
#include <mrpt/utils/CTraitsTest.h>
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) | |
TEST_F | ( | QuaternionTests | , |
crossProduct | |||
) |
Definition at line 119 of file CQuaternion_unittest.cpp.
References mrpt::math::CQuaternion< T >::crossProduct(), DEG2RAD, mrpt::poses::CPose3D::getAsQuaternion(), mrpt::poses::CPoseOrPoint< DERIVEDCLASS >::getAsVectorVal(), and mrpt::math::sum().
TEST_F | ( | QuaternionTests | , |
gimbalLock | |||
) |
Definition at line 150 of file CQuaternion_unittest.cpp.
References DEG2RAD.
TEST_F | ( | QuaternionTests | , |
ToYPRAndBack | |||
) |
Definition at line 156 of file CQuaternion_unittest.cpp.
References DEG2RAD.
TEST_F | ( | QuaternionTests | , |
LnAndExpMatches | |||
) |
Definition at line 166 of file CQuaternion_unittest.cpp.
References DEG2RAD.
TEST_F | ( | QuaternionTests | , |
ExpAndLnMatches | |||
) |
Definition at line 183 of file CQuaternion_unittest.cpp.
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 |