Main MRPT website > C++ reference
MRPT logo
Public Member Functions | Protected Attributes

mrpt::reactivenav::CPTG3 Class Reference


Detailed Description

A PTG for optimal paths of type "C|C,S".

See "Obstacle Distance for Car-Like Robots", IEEE Trans. Rob. And Autom, 1999.

Definition at line 40 of file CPTG3.h.

#include <mrpt/reactivenav/CPTG3.h>

Inheritance diagram for mrpt::reactivenav::CPTG3:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CPTG3 (const TParameters< double > &params)
 Constructor: possible values in "params", those of CParameterizedTrajectoryGenerator plus:

  • K: Direction, +1 or -1.

void lambdaFunction (float x, float y, int &out_k, float &out_d)
 The lambda function.
std::string getDescription ()
 Gets a short textual description of the PTG and its parameters.
bool PTG_IsIntoDomain (float x, float y)
 To be implemented in derived classes:
void PTG_Generator (float alfa, float t, float x, float y, float phi, float &v, float &w)
 The main method to be implemented in derived classes.

Protected Attributes

float R
float K

Constructor & Destructor Documentation

mrpt::reactivenav::CPTG3::CPTG3 ( const TParameters< double > &  params)

Constructor: possible values in "params", those of CParameterizedTrajectoryGenerator plus:

  • K: Direction, +1 or -1.


Member Function Documentation

std::string mrpt::reactivenav::CPTG3::getDescription ( ) [virtual]

Gets a short textual description of the PTG and its parameters.

Implements mrpt::reactivenav::CParameterizedTrajectoryGenerator.

void mrpt::reactivenav::CPTG3::lambdaFunction ( float  x,
float  y,
int &  out_k,
float &  out_d 
) [virtual]

The lambda function.

Reimplemented from mrpt::reactivenav::CParameterizedTrajectoryGenerator.

void mrpt::reactivenav::CPTG3::PTG_Generator ( float  alfa,
float  t,
float  x,
float  y,
float  phi,
float &  v,
float &  w 
) [virtual]

The main method to be implemented in derived classes.

Implements mrpt::reactivenav::CParameterizedTrajectoryGenerator.

bool mrpt::reactivenav::CPTG3::PTG_IsIntoDomain ( float  x,
float  y 
) [virtual]

To be implemented in derived classes:

Implements mrpt::reactivenav::CParameterizedTrajectoryGenerator.


Member Data Documentation

float mrpt::reactivenav::CPTG3::K [protected]

Definition at line 61 of file CPTG3.h.

float mrpt::reactivenav::CPTG3::R [protected]

Definition at line 61 of file CPTG3.h.




Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN: at Sat Mar 26 06:40:17 UTC 2011