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

mrpt::reactivenav::CPTG6 Class Reference


Detailed Description

A PTG for circular paths.

Definition at line 39 of file CPTG6.h.

#include <mrpt/reactivenav/CPTG6.h>

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

List of all members.

Public Member Functions

 CPTG6 (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

Constructor & Destructor Documentation

mrpt::reactivenav::CPTG6::CPTG6 ( 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::CPTG6::getDescription ( ) [virtual]

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

Implements mrpt::reactivenav::CParameterizedTrajectoryGenerator.

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

The lambda function.

Reimplemented from mrpt::reactivenav::CParameterizedTrajectoryGenerator.

void mrpt::reactivenav::CPTG6::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::CPTG6::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 CPTG6.h.

Definition at line 60 of file CPTG6.h.




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