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...
#include <State.h>
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.
footstep_planner::State::State | ( | double | x, |
double | y, | ||
double | theta, | ||
Leg | leg | ||
) |
Leg footstep_planner::State::getLeg | ( | ) | const [inline] |
double footstep_planner::State::getTheta | ( | ) | const [inline] |
double footstep_planner::State::getX | ( | ) | const [inline] |
double footstep_planner::State::getY | ( | ) | const [inline] |
bool footstep_planner::State::operator!= | ( | const State & | s2 | ) | const |
bool footstep_planner::State::operator== | ( | const State & | s2 | ) | const |
void footstep_planner::State::setLeg | ( | Leg | leg | ) | [inline] |
void footstep_planner::State::setTheta | ( | double | theta | ) | [inline] |
void footstep_planner::State::setX | ( | double | x | ) | [inline] |
void footstep_planner::State::setY | ( | double | y | ) | [inline] |
Leg footstep_planner::State::ivLeg [private] |
double footstep_planner::State::ivTheta [private] |
double footstep_planner::State::ivX [private] |
double footstep_planner::State::ivY [private] |