Main MRPT website > C++ reference for MRPT 1.9.9
Functions
SO_SE_average_unittest.cpp File Reference
#include <mrpt/poses/SO_SE_average.h>
#include <mrpt/math/wrap2pi.h>
#include <gtest/gtest.h>

Go to the source code of this file.

Functions

void run_test_so2_avrg (const double *angs, const size_t N, const double ang_correct_avr)
 
 TEST (SE2_SE3_avrg, SO2_average)
 
void run_test_so3_avrg (const double *angs, const size_t N, const mrpt::math::CMatrixDouble33 correct_avr)
 
 TEST (SE2_SE3_avrg, SO3_average)
 

Function Documentation

◆ run_test_so2_avrg()

void run_test_so2_avrg ( const double *  angs,
const size_t  N,
const double  ang_correct_avr 
)

Definition at line 20 of file SO_SE_average_unittest.cpp.

References mrpt::poses::SO_average< 2 >::append(), mrpt::poses::SO_average< 2 >::get_average(), and mrpt::math::wrapToPi().

Referenced by TEST().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ run_test_so3_avrg()

void run_test_so3_avrg ( const double *  angs,
const size_t  N,
const mrpt::math::CMatrixDouble33  correct_avr 
)

Definition at line 73 of file SO_SE_average_unittest.cpp.

References mrpt::poses::SO_average< 3 >::append(), mrpt::poses::SO_average< 3 >::get_average(), mrpt::poses::CPose3D::getRotationMatrix(), and mrpt::math::sum().

Referenced by TEST().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TEST() [1/2]

TEST ( SE2_SE3_avrg  ,
SO2_average   
)

Definition at line 29 of file SO_SE_average_unittest.cpp.

References M_PI, and run_test_so2_avrg().

Here is the call graph for this function:

◆ TEST() [2/2]

TEST ( SE2_SE3_avrg  ,
SO3_average   
)

Definition at line 88 of file SO_SE_average_unittest.cpp.

References mrpt::poses::CPose3D::getRotationMatrix(), M_PI, and run_test_so3_avrg().

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