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

Detailed Description

Definition at line 24 of file CPosePDFGaussian_unittest.cpp.

Inheritance diagram for PosePDFGaussTests:

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
void testPoseInverse (double x, double y, double phi, double std_scale)
 

Static Protected Member Functions

static CPosePDFGaussian generateRandomPose2DPDF (double x, double y, double phi, double std_scale)
 
static void func_inverse (const CVectorFixedDouble< 3 > &x, [[maybe_unused]] const double &dummy, CVectorFixedDouble< 3 > &Y)
 

Member Function Documentation

◆ func_inverse()

static void PosePDFGaussTests::func_inverse ( const CVectorFixedDouble< 3 > &  x,
[[maybe_unused] ] const double &  dummy,
CVectorFixedDouble< 3 > &  Y 
)
inlinestaticprotected

Definition at line 42 of file CPosePDFGaussian_unittest.cpp.

◆ generateRandomPose2DPDF()

static CPosePDFGaussian PosePDFGaussTests::generateRandomPose2DPDF ( double  x,
double  y,
double  phi,
double  std_scale 
)
inlinestaticprotected

Definition at line 29 of file CPosePDFGaussian_unittest.cpp.

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

Here is the call graph for this function:

◆ SetUp()

void PosePDFGaussTests::SetUp ( )
inlineoverrideprotected

Definition at line 27 of file CPosePDFGaussian_unittest.cpp.

◆ TearDown()

void PosePDFGaussTests::TearDown ( )
inlineoverrideprotected

Definition at line 28 of file CPosePDFGaussian_unittest.cpp.

◆ testPoseInverse()

void PosePDFGaussTests::testPoseInverse ( double  x,
double  y,
double  phi,
double  std_scale 
)
inlineprotected

Definition at line 51 of file CPosePDFGaussian_unittest.cpp.

References mrpt::poses::CPosePDFGaussian::cov, EXPECT_NEAR(), mrpt::math::MatrixVectorBase< Scalar, Derived >::fill(), mrpt::poses::CPosePDFGaussian::inverse(), mrpt::poses::CPosePDFGaussian::mean, and mrpt::math::transform_gaussian_linear().

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