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
double m_time
simulation running time
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
constexpr double DEG2RAD(const double x)
Degrees to radians.
double vx
Velocity components: X,Y (m/s)
double issue_time
time when the cmd was issued.
int sign(T x)
Returns the sign of X as "1" or "-1".
T wrapToPi(T a)
Modifies the given angle to translate it into the ]-pi,pi] range.
void internal_clear() override
Resets all pending cmds.
#define ASSERT_ABOVE_(__A, __B)
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)