9 #ifndef CRobotSimulator_H 10 #define CRobotSimulator_H 11 #warning mrpt::utils::CRobotSimulator is deprecated and will be removed. Use mrpt::kinematics::CVehicleSimul_DiffDriven instead. void getRealPose(math::TPose2D &pose) const
CRobotSimulator(float TAU=0, float DELAY=0)
void getOdometry(poses::CPose2D &pose) const
void simulateOneTimeStep(const double dt)
Runs the simulator during "dt" seconds.
void setCurrentOdometricPose(const T &pose)
Brute-force overwrite robot odometry.
const mrpt::math::TPose2D & getCurrentGTPose() const
Returns the instantaneous, ground truth pose in world coordinates.
Simulates the kinematics of a differential-driven planar mobile robot/vehicle, including odometry err...
double getTime() const
Get the current simulation time.
void getOdometry(math::TPose2D &pose) const
void simulateInterval(double At)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
A class used to store a 2D pose, including the 2D coordinate point and a heading (phi) angle...
void setOdometry(const math::TPose2D &pose)
void resetOdometry(const poses::CPose2D pose=poses::CPose2D())
void getRealPose(poses::CPose2D &pose) const
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.
void setCurrentGTPose(const mrpt::math::TPose2D &pose)
Brute-force move robot to target coordinates ("teleport")
void setRealPose(const math::TPose2D &pose)
const mrpt::math::TPose2D & getCurrentOdometricPose() const
Returns the current pose according to (noisy) odometry.
double phi
Orientation (rads)