MRPT  1.9.9
List of all members | Public Member Functions | Private Attributes
mrpt::nav::PoseDistanceMetric< TNodeSE2_TP > Struct Template Reference

Detailed Description

template<>
struct mrpt::nav::PoseDistanceMetric< TNodeSE2_TP >

Pose metric for SE(2) limited to a given PTG manifold.

NOTE: This 'metric' is NOT symmetric for all PTGs: d(a,b)!=d(b,a)

Definition at line 253 of file TMoveTree.h.

#include <mrpt/nav/planners/TMoveTree.h>

Public Member Functions

bool cannotBeNearerThan (const TNodeSE2_TP &a, const TNodeSE2_TP &b, const double d) const
 
double distance (const TNodeSE2_TP &src, const TNodeSE2_TP &dst) const
 
 PoseDistanceMetric (const mrpt::nav::CParameterizedTrajectoryGenerator &ptg)
 

Private Attributes

const mrpt::nav::CParameterizedTrajectoryGeneratorm_ptg
 

Constructor & Destructor Documentation

◆ PoseDistanceMetric()

Definition at line 278 of file TMoveTree.h.

Member Function Documentation

◆ cannotBeNearerThan()

bool mrpt::nav::PoseDistanceMetric< TNodeSE2_TP >::cannotBeNearerThan ( const TNodeSE2_TP a,
const TNodeSE2_TP b,
const double  d 
) const
inline

Definition at line 255 of file TMoveTree.h.

◆ distance()

double mrpt::nav::PoseDistanceMetric< TNodeSE2_TP >::distance ( const TNodeSE2_TP src,
const TNodeSE2_TP dst 
) const
inline

Definition at line 262 of file TMoveTree.h.

References mrpt::poses::CPose2D::inverseComposeFrom(), mrpt::poses::UNINITIALIZED_POSE, mrpt::poses::CPoseOrPoint< DERIVEDCLASS, DIM >::x(), and mrpt::poses::CPoseOrPoint< DERIVEDCLASS, DIM >::y().

Here is the call graph for this function:

Member Data Documentation

◆ m_ptg

Definition at line 284 of file TMoveTree.h.




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: cb8dd5fc8 Sat Dec 7 21:55:39 2019 +0100 at sáb dic 7 22:00:13 CET 2019