A class representing the robot's pose (i.e. position and orientation) in the (continuous) world view. More precisely a state points to the robot's supporting leg.
More...
Public Member Functions |
| Leg | getLeg () const |
| double | getTheta () const |
| double | getX () const |
| double | getY () const |
| bool | operator!= (const State &s2) const |
| | Inequality operator for two states (negates the equality operator).
|
| bool | operator== (const State &s2) const |
| | Compare two states on equality of x, y, theta, leg upon a certain degree of float precision.
|
| void | setLeg (Leg leg) |
| void | setTheta (double theta) |
| void | setX (double x) |
| void | setY (double y) |
| | State () |
| | State (double x, double y, double theta, Leg leg) |
| | ~State () |
Private Attributes |
| Leg | ivLeg |
| | The robot's supporting leg.
|
| double | ivTheta |
| | The robot's orientation.
|
| double | ivX |
| | The robot's position in x direction.
|
| double | ivY |
| | The robot's position in y direction.
|
A class representing the robot's pose (i.e. position and orientation) in the (continuous) world view. More precisely a state points to the robot's supporting leg.
Definition at line 34 of file State.h.