37 const std::string& sSection)
override;
40 const std::string& sSection)
const override;
45 float alpha,
float t,
float x,
float y,
float phi,
float& v,
46 float& w)
const override;
bool PTG_IsIntoDomain(double x, double y) const override
Returns the same than inverseMap_WS2TP() but without any additional cost.
std::string getDescription() const override
Gets a short textual description of the PTG and its parameters.
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...
void loadFromConfigFile(const mrpt::config::CConfigFileBase &cfg, const std::string &sSection) override
Possible values in "params" (those in CParameterizedTrajectoryGenerator, which is called internally...
This class allows loading and storing values and vectors of different types from a configuration text...
CPTG_DiffDrive_CS(const mrpt::config::CConfigFileBase &cfg, const std::string &sSection)
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 loadDefaultParams() override
Loads a set of default parameters; provided exclusively for the PTG-configurator tool.
A PTG for optimal paths of type "CS", as named in PTG papers.
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...
CPTG_DiffDrive_CS()=default