#include <state_data.h>
Public Member Functions | |
| virtual void | handle_observation (ObservationType &)=0 |
| Updates a map according to ObservationType data. | |
| virtual const MapType & | map () const =0 |
| Returns the map. | |
| virtual const RobotState & | pose () const |
| Returns the robot pose. | |
| virtual void | update_robot_pose (double x, double y, double theta) |
| virtual const World < ObservationType, MapType > & | world () const |
| Returns this world. | |
Private Attributes | |
| RobotState | _pose |
The controller of robot's merged perceptions of an environment.
Definition at line 49 of file state_data.h.
| virtual void World< ObservationType, MapType >::handle_observation | ( | ObservationType & | ) | [pure virtual] |
Updates a map according to ObservationType data.
Implemented in TinyWorld, and LaserScanGridWorld.
| virtual const MapType& World< ObservationType, MapType >::map | ( | ) | const [pure virtual] |
Returns the map.
Implemented in LaserScanGridWorld.
| virtual const RobotState& World< ObservationType, MapType >::pose | ( | ) | const [inline, virtual] |
Returns the robot pose.
Definition at line 69 of file state_data.h.
| virtual void World< ObservationType, MapType >::update_robot_pose | ( | double | x, |
| double | y, | ||
| double | theta | ||
| ) | [inline, virtual] |
Sets a new location of a robot.
| x,y,theta | New coordinates of a robot. |
Definition at line 57 of file state_data.h.
| virtual const World<ObservationType, MapType>& World< ObservationType, MapType >::world | ( | ) | const [inline, virtual] |
Returns this world.
Definition at line 66 of file state_data.h.
RobotState World< ObservationType, MapType >::_pose [private] |
Definition at line 74 of file state_data.h.