47 const std::string& sSection)
override;
50 const std::string& sSection)
const override;
54 float alpha,
float t,
float x,
float y,
float phi,
float& v,
55 float& w)
const override;
CPTG_DiffDrive_alpha(const mrpt::config::CConfigFileBase &cfg, const std::string &sSection)
void loadDefaultParams() override
Loads a set of default parameters; provided exclusively for the PTG-configurator tool.
This class allows loading and storing values and vectors of different types from a configuration text...
The "a(symptotic)-alpha PTG", as named in PTG papers.
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...
CPTG_DiffDrive_alpha()=default
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 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 loadFromConfigFile(const mrpt::config::CConfigFileBase &cfg, const std::string &sSection) override
Parameters accepted by this base class:
std::string getDescription() const override
Gets a short textual description of the PTG and its parameters.