74 double vel,
double dir,
double ramp_time,
double rot_speed)
mrpt::math::TTwist2D m_odometric_vel
Velocity in (x,y,omega)
mrpt::math::TPose2D m_odometry
#define ASSERT_ABOVE_(__A, __B)
double DEG2RAD(const double x)
Degrees to radians.
double m_time
simulation running time
int sign(T x)
Returns the sign of X as "1" or "-1".
mrpt::math::TTwist2D init_vel
void sendVelRampCmd(double vel, double dir, double ramp_time, double rot_speed)
Sends a velocity cmd to the holonomic robot.
void internal_simulControlStep(const double dt) override
double vx
Velocity components: X,Y (m/s)
double issue_time
time when the cmd was issued.
T wrapToPi(T a)
Modifies the given angle to translate it into the ]-pi,pi] range.
void internal_clear() override
Resets all pending cmds.
void resetTime()
Reset all simulator variables to 0 (except the.
TVelRampCmd m_vel_ramp_cmd
the last cmd received from the user.
double phi
Orientation (rads)
double omega
Angular velocity (rad/s)