MRPT  2.0.0
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

◆ 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::nav::TNodeSE2_TP::state, 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 2.0.0 Git: b38439d21 Tue Mar 31 19:58:06 2020 +0200 at miƩ abr 1 00:50:30 CEST 2020