Go to the documentation of this file.
34 double TAU_delay_sec = 1.8,
double CMD_delay_sec = 0.)
56 "Wrong vehicle kinematic class, expected "
57 "`CVehicleVelCmd_DiffDriven`");
double cDELAY
The delay constant for the velocities changes.
CVehicleVelCmd_DiffDriven kinematic_cmd_t
This class can be used to simulate the kinematics and dynamics of a differential driven planar mobile...
void sendVelCmd(const CVehicleVelCmd &cmd_vel) override
Sends a velocity command to the robot.
double ang_vel
Angular velocity (rad/s)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
GLubyte GLubyte GLubyte GLubyte w
virtual ~CVehicleSimul_DiffDriven()
double cTAU
The time-constants for the first order low-pass filter for the velocities changes.
double Command_Time
Dynamic limitations of the robot.
void internal_clear() override
Resets all pending cmds.
CVehicleSimul_DiffDriven()
CVehicleVelCmd::Ptr getVelCmdType() const override
Gets an empty velocity command object that can be queried to find out the number of velcmd components...
void internal_simulControlStep(const double dt) override
#define ASSERTMSG_(f, __ERROR_MSG)
Defines an assertion mechanism.
std::shared_ptr< CVehicleVelCmd > Ptr
void movementCommand(double lin_vel, double ang_vel)
Used to command the robot a desired movement:
Simulates the kinematics of a differential-driven planar mobile robot/vehicle, including odometry err...
double lin_vel
Linear velocity (m/s)
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.
Virtual base for velocity commands of different kinematic models of planar mobile robot.
double m_v
lin & angular velocity in the robot local frame.
Kinematic model for Ackermann-like or differential-driven vehicles.
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 | |