Main MRPT website > C++ reference
MRPT logo

mrpt::reactivenav::CPTG2 Class Reference

The alpha-PTG. More...

#include <mrpt/reactivenav/CPTG2.h>

Inheritance diagram for mrpt::reactivenav::CPTG2:
Inheritance graph
[legend]
Collaboration diagram for mrpt::reactivenav::CPTG2:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

  • cte_a0v, cte_a0w: Parameters of this PTG.

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 cte_a0v
float cte_a0w

Detailed Description

The alpha-PTG.

Definition at line 39 of file CPTG2.h.


Constructor & Destructor Documentation

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

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

  • cte_a0v, cte_a0w: Parameters of this PTG.


Member Function Documentation

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

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

Implements mrpt::reactivenav::CParameterizedTrajectoryGenerator.

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

The lambda function.

Reimplemented from mrpt::reactivenav::CParameterizedTrajectoryGenerator.

void mrpt::reactivenav::CPTG2::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::CPTG2::PTG_IsIntoDomain ( float  x,
float  y 
) [virtual]

To be implemented in derived classes:.

Implements mrpt::reactivenav::CParameterizedTrajectoryGenerator.


Member Data Documentation

Definition at line 59 of file CPTG2.h.

Definition at line 60 of file CPTG2.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines



Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010