52         const std::string& sSection) 
override;
    55         const std::string& sSection) 
const override;
    59         double x, 
double y, 
int& out_k, 
double& out_d,
    60         double tolerance_dist = 0.10) 
const override;
    63         float alpha, 
float t, 
float x, 
float y, 
float phi, 
float& v,
    64         float& w) 
const override;
 bool PTG_IsIntoDomain(double x, double y) const override
Returns the same than inverseMap_WS2TP() but without any additional cost. 
 
void loadDefaultParams() override
Loads a set of default parameters; provided exclusively for the PTG-configurator tool. 
 
void saveToConfigFile(mrpt::config::CConfigFileBase &cfg, const std::string &sSection) const override
This method saves the options to a ".ini"-like file or memory-stored string list. ...
 
void ptgDiffDriveSteeringFunction(float alpha, float t, float x, float y, float phi, float &v, float &w) const override
The main method to be implemented in derived classes: it defines the differential-driven differential...
 
std::string getDescription() const override
Gets a short textual description of the PTG and its parameters. 
 
This class allows loading and storing values and vectors of different types from a configuration text...
 
CPTG_DiffDrive_C(const mrpt::config::CConfigFileBase &cfg, const std::string &sSection)
 
double K
A generation parameter. 
 
bool inverseMap_WS2TP(double x, double y, int &out_k, double &out_d, double tolerance_dist=0.10) const override
Computes the closest (alpha,d) TP coordinates of the trajectory point closest to the Workspace (WS) C...
 
Base class for all PTGs suitable to non-holonomic, differentially-driven (or Ackermann) vehicles base...
 
#define DEFINE_SERIALIZABLE(class_name, NS)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
 
void loadFromConfigFile(const mrpt::config::CConfigFileBase &cfg, const std::string &sSection) override
Parameters accepted by this base class: 
 
A PTG for circular paths ("C" type PTG in papers). 
 
CPTG_DiffDrive_C()=default