28 #ifndef CRobotSimulator_H
29 #define CRobotSimulator_H
40 using namespace mrpt::poses;
41 using namespace mrpt::math;
114 cTAU = TAU_delay_sec;
115 cDELAY = CMD_delay_sec;
121 void setOdometryErrors(
123 double Ax_err_bias = 1e-6,
124 double Ax_err_std = 10e-6,
125 double Ay_err_bias = 1e-6,
126 double Ay_err_std = 10e-6,
127 double Aphi_err_bias =
DEG2RAD(1e-6),
128 double Aphi_err_std =
DEG2RAD(10e-6)
131 usar_error_odometrico=enabled;
132 m_Ax_err_bias=Ax_err_bias;
133 m_Ax_err_std=Ax_err_std;
134 m_Ay_err_bias=Ay_err_bias;
135 m_Ay_err_std=Ay_err_std;
136 m_Aphi_err_bias=Aphi_err_bias;
137 m_Aphi_err_std=Aphi_err_std;
146 double getX()
const {
return m_pose.x(); }
150 double getY() {
return m_pose.y(); }
170 void setV(
double v) { this->v=v; }
171 void setW(
double w) { this->w=w; }
175 void movementCommand (
double lin_vel,
double ang_vel );
187 void simulateInterval(
double At);