MRPT
2.0.4
|
#include <gtest/gtest.h>
#include <mrpt/math/wrap2pi.h>
#include <mrpt/poses/SO_SE_average.h>
#include <Eigen/Dense>
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) | |
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(), EXPECT_NEAR(), mrpt::poses::SO_average< 2 >::get_average(), and mrpt::math::wrapToPi().
Referenced by TEST().
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(), EXPECT_NEAR(), mrpt::poses::SO_average< 3 >::get_average(), mrpt::poses::CPose3D::getRotationMatrix(), and mrpt::math::sum().
Referenced by TEST().
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().
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().
Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020 |