#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
Kinematic model for Ackermann-like or differential-driven vehicles.
double filter_max_vw(double &v, double &w, const TVelCmdParams &p)
bool isStopCmd() const override
Returns true if the command means "do not move" / "stop".
void cmdVel_scale(double vel_scale) override
See docs of method in base class.
void setToStop() override
Set to a command that means "do not move" / "stop".
virtual ~CVehicleVelCmd_DiffDriven()
double ang_vel
Angular velocity (rad/s)
double cmdVel_limits(const mrpt::kinematics::CVehicleVelCmd &prev_vel_cmd, const double beta, const TVelCmdParams ¶ms) override
See base class docs.
double lin_vel
Linear velocity (m/s)
void setVelCmdElement(const int index, const double val) override
Set each velocity command component.
size_t getVelCmdLength() const override
Get number of components in each velocity command.
std::string getVelCmdDescription(const int index) const override
Get textual, human-readable description of each velocity command component.
double getVelCmdElement(const int index) const override
Get each velocity command component.
Virtual base for velocity commands of different kinematic models of planar mobile robot.
GLubyte GLubyte GLubyte GLubyte w
GLenum const GLfloat * params
GLsizei const GLchar ** string
Parameters that may be used by cmdVel_limits() in any derived classes.