
A simple structure for representing a robot's pose. More...
#include <Robots/LoBot/slam/LoPose.H>
Public Member Functions | |
| Pose & | operator+= (const Pose &) |
| Pose | operator+ (const Pose &) const |
| Pose | operator* (float weight) const |
| Pose (float x=0, float y=0, float theta=0) | |
| Pose initialization. | |
| Pose (const triple< float, float, float > &pose) | |
| float | x () const |
| Retrieving pose values. | |
| float | y () const |
| float | t () const |
| float | theta () const |
| float | heading () const |
| float | bearing () const |
| void | x (float xx) |
| Updating pose values. | |
| void | y (float yy) |
| void | t (float th) |
| void | theta (float th) |
| void | heading (float th) |
| void | bearing (float th) |
| void | dx (float d) |
| void | dy (float d) |
| void | dt (float t) |
| void | dtheta (float t) |
A simple structure for representing a robot's pose.
A robot's pose consists of its location specified using an (x, y) coordinate pair and its heading/bearing (i.e., theta). This class packages these three quantities in one neat little bundle.
Definition at line 69 of file LoPose.H.
| lobot::Pose::Pose | ( | float | x = 0, |
|
| float | y = 0, |
|||
| float | theta = 0 | |||
| ) |
Pose initialization.
Definition at line 57 of file LoPose.C.
Referenced by operator*(), and operator+().
| Pose lobot::Pose::operator* | ( | float | weight | ) | const |
| void lobot::Pose::x | ( | float | xx | ) | [inline] |
| float lobot::Pose::x | ( | ) | const [inline] |
Retrieving pose values.
Definition at line 84 of file LoPose.H.
Referenced by lobot::Particle::apply_motion_model(), operator*(), operator+(), operator+=(), lobot::Particle::randomize(), lobot::Map::submap(), and lobot::Scan::x().
1.6.3