30 void update(
double d_x,
double d_y,
double d_theta) {
48 template <
typename ObservationType,
typename MapType>
58 _pose.update(x, y, theta);
62 virtual void handle_observation(ObservationType&) = 0;
72 virtual const MapType& map()
const = 0;
virtual const RobotState & pose() const
Returns the robot pose.
RobotState(double x, double y, double theta)
double theta
The position of robot.
void update(double d_x, double d_y, double d_theta)
Defines a robot position in cartesian coordinates and an angle of rotation.
virtual const World< ObservationType, MapType > & world() const
Returns this world.
RobotState()
Sets a robot in (0,0) oriented as zero angle.
virtual void update_robot_pose(double x, double y, double theta)