33 cDELAY = CMD_delay_sec;
39 double getV() {
return m_v;}
40 double getW() {
return m_w;}
46 void movementCommand(
double lin_vel,
double ang_vel );
50 ASSERTMSG_(cmd,
"Wrong vehicle kinematic class, expected `CVehicleVelCmd_DiffDriven`");
73 void internal_simulControlStep(
const double dt)
MRPT_OVERRIDE;
Simulates the kinematics of a differential-driven planar mobile robot/vehicle, including odometry err...
CVehicleVelCmdPtr getVelCmdType() const MRPT_OVERRIDE
Gets an empty velocity command object that can be queried to find out the number of velcmd components...
void setDelayModelParams(double TAU_delay_sec=1.8, double CMD_delay_sec=0.)
Change the model of delays used for the orders sent to the robot.
CVehicleVelCmd_DiffDriven kinematic_cmd_t
double cDELAY
The delay constant for the velocities changes.
double Command_Time
Dynamic limitations of the robot.
void sendVelCmd(const CVehicleVelCmd &cmd_vel) MRPT_OVERRIDE
Sends a velocity command to the robot.
double cTAU
The time-constants for the first order low-pass filter for the velocities changes.
This class can be used to simulate the kinematics and dynamics of a differential driven planar mobile...
Kinematic model for Ackermann-like or differential-driven vehicles.
double ang_vel
Angular velocity (rad/s)
double lin_vel
Linear velocity (m/s)
Virtual base for velocity commands of different kinematic models of planar mobile robot.
GLubyte GLubyte GLubyte GLubyte w
#define KINEMATICS_IMPEXP
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
#define ASSERTMSG_(f, __ERROR_MSG)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.