std::string getVelCmdDescription(const int index) const override
Get textual, human-readable description of each velocity command component.
void cmdVel_scale(double vel_scale) override
Scale the velocity command encoded in this object.
virtual ~CVehicleVelCmd_Holo()
size_t getVelCmdLength() const override
Get number of components in each velocity command.
void setToStop() override
Set to a command that means "do not move" / "stop".
Virtual base for velocity commands of different kinematic models of planar mobile robot...
double ramp_time
: Blending time between current and target time.
void setVelCmdElement(const int index, const double val) override
Set each velocity command component.
double dir_local
: direction, relative to the current robot heading (radians).
double getVelCmdElement(const int index) const override
Get each velocity command component.
GLsizei const GLchar ** string
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
double cmdVel_limits(const mrpt::kinematics::CVehicleVelCmd &prev_vel_cmd, const double beta, const TVelCmdParams ¶ms) override
Updates this command, computing a blended version of beta (within [0,1]) of vel_cmd and 1-beta of pre...
bool isStopCmd() const override
Returns true if the command means "do not move" / "stop".
Parameters that may be used by cmdVel_limits() in any derived classes.
GLenum const GLfloat * params
double rot_speed
: (rad/s) rotational speed for rotating such as the robot slowly faces forward.