virtual bool isStopCmd() const =0
Returns true if the command means "do not move" / "stop".
std::string asString() const
Returns a human readable description of the cmd.
Parameters that may be used by cmdVel_limits() in any derived classes.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
void saveToConfigFile(mrpt::config::CConfigFileBase &c, const std::string &s) const
virtual void setVelCmdElement(const int index, const double val)=0
Set each velocity command component.
virtual ~CVehicleVelCmd()
void loadConfigFile(const mrpt::config::CConfigFileBase &cfg, const std::string §ion)
Load any parameter required by a CVehicleVelCmd derived class.
virtual void cmdVel_scale(double vel_scale)=0
Scale the velocity command encoded in this object.
This class allows loading and storing values and vectors of different types from a configuration text...
double robotMinCurvRadius
Min.
The virtual base class which provides a unified interface for all persistent objects in MRPT.
virtual double getVelCmdElement(const int index) const =0
Get each velocity command component.
virtual void setToStop()=0
Set to a command that means "do not move" / "stop".
double robotMax_W_radps
Max.
#define DEFINE_VIRTUAL_SERIALIZABLE(class_name)
This declaration must be inserted in virtual CSerializable classes definition:
virtual std::string getVelCmdDescription(const int index) const =0
Get textual, human-readable description of each velocity command component.
double robotMax_V_mps
Max.
GLsizei const GLchar ** string
virtual size_t getVelCmdLength() const =0
Get number of components in each velocity command.
Virtual base for velocity commands of different kinematic models of planar mobile robot.
virtual double cmdVel_limits(const mrpt::kinematics::CVehicleVelCmd &prev_vel_cmd, const double beta, const TVelCmdParams ¶ms)=0
Updates this command, computing a blended version of beta (within [0,1]) of vel_cmd and 1-beta of pre...
CVehicleVelCmd & operator=(const CVehicleVelCmd &other)
GLenum const GLfloat * params
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |