MRPT  2.0.4
List of all members | Protected Member Functions | Static Protected Member Functions
Pose3DPDFGaussTests Class Reference

Detailed Description

Definition at line 26 of file CPose3DPDFGaussian_unittest.cpp.

Inheritance diagram for Pose3DPDFGaussTests:

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
void testToQuatPDFAndBack (double x, double y, double z, double yaw, double pitch, double roll, double std_scale)
 
void testPoseComposition (double x, double y, double z, double yaw, double pitch, double roll, double std_scale, double x2, double y2, double z2, double yaw2, double pitch2, double roll2, double std_scale2)
 
void testCompositionJacobian (double x, double y, double z, double yaw, double pitch, double roll, double x2, double y2, double z2, double yaw2, double pitch2, double roll2)
 
void testPoseInverseComposition (double x, double y, double z, double yaw, double pitch, double roll, double std_scale, double x2, double y2, double z2, double yaw2, double pitch2, double roll2, double std_scale2)
 
void testPoseInverse (double x, double y, double z, double yaw, double pitch, double roll, double std_scale)
 
void testAllPoseOperators (double x, double y, double z, double yaw, double pitch, double roll, double std_scale, double x2, double y2, double z2, double yaw2, double pitch2, double roll2, double std_scale2)
 
void testChangeCoordsRef (double x, double y, double z, double yaw, double pitch, double roll, double std_scale, double x2, double y2, double z2, double yaw2, double pitch2, double roll2)
 

Static Protected Member Functions

static CPose3DPDFGaussian generateRandomPose3DPDF (double x, double y, double z, double yaw, double pitch, double roll, double std_scale)
 
static void func_compose (const CVectorFixedDouble< 12 > &x, [[maybe_unused]] const double &dummy, CVectorFixedDouble< 6 > &Y)
 
static void func_inv_compose (const CVectorFixedDouble< 2 *6 > &x, [[maybe_unused]] const double &dummy, CVectorFixedDouble< 6 > &Y)
 

Member Function Documentation

◆ func_compose()

static void Pose3DPDFGaussTests::func_compose ( const CVectorFixedDouble< 12 > &  x,
[[maybe_unused] ] const double &  dummy,
CVectorFixedDouble< 6 > &  Y 
)
inlinestaticprotected

Definition at line 67 of file CPose3DPDFGaussian_unittest.cpp.

◆ func_inv_compose()

static void Pose3DPDFGaussTests::func_inv_compose ( const CVectorFixedDouble< 2 *6 > &  x,
[[maybe_unused] ] const double &  dummy,
CVectorFixedDouble< 6 > &  Y 
)
inlinestaticprotected

Definition at line 78 of file CPose3DPDFGaussian_unittest.cpp.

◆ generateRandomPose3DPDF()

static CPose3DPDFGaussian Pose3DPDFGaussTests::generateRandomPose3DPDF ( double  x,
double  y,
double  z,
double  yaw,
double  pitch,
double  roll,
double  std_scale 
)
inlinestaticprotected

Definition at line 31 of file CPose3DPDFGaussian_unittest.cpp.

References mrpt::math::cov(), mrpt::random::CRandomGenerator::drawGaussian1DMatrix(), mrpt::random::getRandomGenerator(), mrpt::math::MatrixBase< Scalar, Derived >::matProductOf_AAt(), mrpt::obs::gnss::pitch, and mrpt::obs::gnss::roll.

Here is the call graph for this function:

◆ SetUp()

void Pose3DPDFGaussTests::SetUp ( )
inlineoverrideprotected

Definition at line 29 of file CPose3DPDFGaussian_unittest.cpp.

◆ TearDown()

void Pose3DPDFGaussTests::TearDown ( )
inlineoverrideprotected

Definition at line 30 of file CPose3DPDFGaussian_unittest.cpp.

◆ testAllPoseOperators()

void Pose3DPDFGaussTests::testAllPoseOperators ( double  x,
double  y,
double  z,
double  yaw,
double  pitch,
double  roll,
double  std_scale,
double  x2,
double  y2,
double  z2,
double  yaw2,
double  pitch2,
double  roll2,
double  std_scale2 
)
inlineprotected

◆ testChangeCoordsRef()

void Pose3DPDFGaussTests::testChangeCoordsRef ( double  x,
double  y,
double  z,
double  yaw,
double  pitch,
double  roll,
double  std_scale,
double  x2,
double  y2,
double  z2,
double  yaw2,
double  pitch2,
double  roll2 
)
inlineprotected

Definition at line 335 of file CPose3DPDFGaussian_unittest.cpp.

References mrpt::poses::CPoseOrPoint< DERIVEDCLASS, DIM >::asVectorVal(), mrpt::poses::CPose3DPDFGaussian::changeCoordinatesReference(), mrpt::poses::CPose3DPDFGaussian::cov, EXPECT_NEAR(), mrpt::poses::CPose3DPDFGaussian::mean, mrpt::obs::gnss::pitch, and mrpt::obs::gnss::roll.

Here is the call graph for this function:

◆ testCompositionJacobian()

void Pose3DPDFGaussTests::testCompositionJacobian ( double  x,
double  y,
double  z,
double  yaw,
double  pitch,
double  roll,
double  x2,
double  y2,
double  z2,
double  yaw2,
double  pitch2,
double  roll2 
)
inlineprotected

◆ testPoseComposition()

void Pose3DPDFGaussTests::testPoseComposition ( double  x,
double  y,
double  z,
double  yaw,
double  pitch,
double  roll,
double  std_scale,
double  x2,
double  y2,
double  z2,
double  yaw2,
double  pitch2,
double  roll2,
double  std_scale2 
)
inlineprotected

◆ testPoseInverse()

void Pose3DPDFGaussTests::testPoseInverse ( double  x,
double  y,
double  z,
double  yaw,
double  pitch,
double  roll,
double  std_scale 
)
inlineprotected

Definition at line 265 of file CPose3DPDFGaussian_unittest.cpp.

References mrpt::poses::CPoseOrPoint< DERIVEDCLASS, DIM >::asVectorVal(), mrpt::poses::CPose3DPDFGaussian::cov, EXPECT_NEAR(), mrpt::poses::CPose3DPDFGaussian::inverse(), mrpt::poses::CPose3DPDFGaussian::mean, mrpt::obs::gnss::pitch, and mrpt::obs::gnss::roll.

Here is the call graph for this function:

◆ testPoseInverseComposition()

void Pose3DPDFGaussTests::testPoseInverseComposition ( double  x,
double  y,
double  z,
double  yaw,
double  pitch,
double  roll,
double  std_scale,
double  x2,
double  y2,
double  z2,
double  yaw2,
double  pitch2,
double  roll2,
double  std_scale2 
)
inlineprotected

◆ testToQuatPDFAndBack()

void Pose3DPDFGaussTests::testToQuatPDFAndBack ( double  x,
double  y,
double  z,
double  yaw,
double  pitch,
double  roll,
double  std_scale 
)
inlineprotected

Definition at line 45 of file CPose3DPDFGaussian_unittest.cpp.

References mrpt::poses::CPoseOrPoint< DERIVEDCLASS, DIM >::asVectorVal(), mrpt::poses::CPose3DPDFGaussian::cov, EXPECT_TRUE(), mrpt::poses::CPose3DPDFGaussian::mean, mrpt::obs::gnss::pitch, and mrpt::obs::gnss::roll.

Here is the call graph for this function:



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