|
| | DiffDrive_C ()=default |
| |
| | DiffDrive_C (const mrpt::config::CConfigFileBase &cfg, const std::string &sSection) |
| |
| void | loadFromConfigFile (const mrpt::config::CConfigFileBase &cfg, const std::string &sSection) override |
| |
| void | saveToConfigFile (mrpt::config::CConfigFileBase &cfg, const std::string &sSection) const override |
| |
| std::string | getDescription () const override |
| |
| bool | inverseMap_WS2TP (double x, double y, int &out_k, double &out_d, double tolerance_dist=0.10) const override |
| |
| bool | PTG_IsIntoDomain (double x, double y) const override |
| |
| void | ptgDiffDriveSteeringFunction (float alpha, float t, float x, float y, float phi, float &v, float &w) const override |
| |
| void | loadDefaultParams () override |
| |
| double | getMax_V () const |
| |
| double | getMax_W () const |
| |
| bool | inverseMap_WS2TP (double x, double y, int &out_k, double &out_d, double tolerance_dist=0.10) const override |
| |
| mrpt::kinematics::CVehicleVelCmd::Ptr | directionToMotionCommand (uint16_t k) const override |
| |
| mrpt::kinematics::CVehicleVelCmd::Ptr | getSupportedKinematicVelocityCommand () const override |
| |
| void | setRefDistance (const double refDist) override |
| |
| size_t | getPathStepCount (uint16_t k) const override |
| |
| mrpt::math::TPose2D | getPathPose (uint16_t k, uint32_t step) const override |
| |
| double | getPathDist (uint16_t k, uint32_t step) const override |
| |
| bool | getPathStepForDist (uint16_t k, double dist, uint32_t &out_step) const override |
| |
| double | getPathStepDuration () const override |
| |
| double | getMaxLinVel () const override |
| |
| double | getMaxAngVel () const override |
| |
| void | updateTPObstacle (double ox, double oy, std::vector< double > &tp_obstacles) const override |
| |
| void | updateTPObstacleSingle (double ox, double oy, uint16_t k, double &tp_obstacle_k) const override |
| |
| void | onNewNavDynamicState () override |
| |
| | SpeedTrimmablePTG ()=default |
| |
| | ~SpeedTrimmablePTG ()=default |
| |
A PTG for circular paths ("C" type PTG in papers).
- Compatible kinematics: differential-driven / Ackermann steering
- Compatible robot shape: Arbitrary 2D polygon
- PTG parameters: Use the app
ptg-configurator
This PT generator functions are:
So, the radius of curvature of each trajectory is constant for each "alpha" value (the trajectory parameter):
from which a minimum radius of curvature can be set by selecting the appropriate values of V_MAX and W_MAX, knowning that
.
- Note
- [Before MRPT 1.5.0 this was named CPTG1]