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 | |
const geometry_msgs::Vector3 & | getBodyVelocity () const |
double | getCost () const |
void | getFoot (msgs::Foot &foot) const |
double | getGroundContactSupport () const |
Leg | getLeg () const |
const geometry_msgs::Vector3 & | getNormal () const |
double | getNormalX () const |
double | getNormalY () const |
double | getNormalZ () const |
double | getPitch () const |
const tf::Pose & | getPose () const |
tf::Pose & | getPose () |
double | getRisk () const |
double | getRoll () const |
void | getStep (msgs::Step &step) const |
double | getStepDuration () const |
double | getSwayDistance () const |
double | getSwayDuration () const |
double | getSwingDistance () const |
double | getSwingHeight () const |
double | getX () const |
double | getY () const |
double | getYaw () const |
double | getZ () 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 | setBodyVelocity (const geometry_msgs::Vector3 &body_vel) |
void | setCost (double cost) |
void | setGroundContactSupport (double ground_contact_support) |
void | setLeg (Leg leg) |
void | setNormal (const geometry_msgs::Vector3 &normal) |
void | setNormal (double x, double y, double z) |
void | setOrientation (const geometry_msgs::Quaternion &q) |
void | setPitch (double pitch) |
void | setPosition (const geometry_msgs::Point &position) |
void | setRisk (double risk) |
void | setRoll (double roll) |
void | setRPY (double roll, double pitch, double yaw) |
void | setStepDuration (double step_duration) |
void | setSwayDistance (double sway_distance) |
void | setSwayDuration (double sway_duration) |
void | setSwingDistance (double swing_distance) |
void | setSwingHeight (double swing_height) |
void | setX (double x) |
void | setY (double y) |
void | setYaw (double yaw) |
void | setZ (double z) |
State () | |
State (double x, double y, double z, double roll, double pitch, double yaw, Leg leg) | |
State (const geometry_msgs::Vector3 &position, double roll, double pitch, double yaw, Leg leg) | |
State (const geometry_msgs::Vector3 &position, const geometry_msgs::Vector3 &normal, double yaw, Leg leg) | |
State (const geometry_msgs::Pose &pose, Leg leg) | |
State (const tf::Transform &t, Leg leg) | |
State (const msgs::Foot foot) | |
State (const msgs::Step step) | |
~State () | |
Private Member Functions | |
void | recomputeNormal () |
Private Attributes | |
geometry_msgs::Vector3 | body_vel |
double | cost |
double | ivGroundContactSupport |
percentage of ground contact support (0.0 - 1.0 = 100%) | |
Leg | ivLeg |
The robot's supporting leg. | |
geometry_msgs::Vector3 | ivNormal |
The normal of foot in world. | |
double | ivPitch |
tf::Pose | ivPose |
double | ivRoll |
The robot's orientation. | |
double | ivStepDuration |
double | ivSwayDuration |
double | ivSwingHeight |
double | ivYaw |
double | risk |
double | sway_distance |
double | swing_distance |
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.
vigir_footstep_planning::State::State | ( | double | x, |
double | y, | ||
double | z, | ||
double | roll, | ||
double | pitch, | ||
double | yaw, | ||
Leg | leg | ||
) |
vigir_footstep_planning::State::State | ( | const geometry_msgs::Vector3 & | position, |
double | roll, | ||
double | pitch, | ||
double | yaw, | ||
Leg | leg | ||
) |
vigir_footstep_planning::State::State | ( | const geometry_msgs::Vector3 & | position, |
const geometry_msgs::Vector3 & | normal, | ||
double | yaw, | ||
Leg | leg | ||
) |
vigir_footstep_planning::State::State | ( | const geometry_msgs::Pose & | pose, |
Leg | leg | ||
) |
vigir_footstep_planning::State::State | ( | const tf::Transform & | t, |
Leg | leg | ||
) |
vigir_footstep_planning::State::State | ( | const msgs::Foot | foot | ) |
vigir_footstep_planning::State::State | ( | const msgs::Step | step | ) |
const geometry_msgs::Vector3& vigir_footstep_planning::State::getBodyVelocity | ( | ) | const [inline] |
double vigir_footstep_planning::State::getCost | ( | ) | const [inline] |
void vigir_footstep_planning::State::getFoot | ( | msgs::Foot & | foot | ) | const |
double vigir_footstep_planning::State::getGroundContactSupport | ( | ) | const [inline] |
Leg vigir_footstep_planning::State::getLeg | ( | ) | const [inline] |
const geometry_msgs::Vector3& vigir_footstep_planning::State::getNormal | ( | ) | const [inline] |
double vigir_footstep_planning::State::getNormalX | ( | ) | const [inline] |
double vigir_footstep_planning::State::getNormalY | ( | ) | const [inline] |
double vigir_footstep_planning::State::getNormalZ | ( | ) | const [inline] |
double vigir_footstep_planning::State::getPitch | ( | ) | const [inline] |
const tf::Pose& vigir_footstep_planning::State::getPose | ( | ) | const [inline] |
tf::Pose& vigir_footstep_planning::State::getPose | ( | ) | [inline] |
double vigir_footstep_planning::State::getRisk | ( | ) | const [inline] |
double vigir_footstep_planning::State::getRoll | ( | ) | const [inline] |
void vigir_footstep_planning::State::getStep | ( | msgs::Step & | step | ) | const |
double vigir_footstep_planning::State::getStepDuration | ( | ) | const [inline] |
double vigir_footstep_planning::State::getSwayDistance | ( | ) | const [inline] |
double vigir_footstep_planning::State::getSwayDuration | ( | ) | const [inline] |
double vigir_footstep_planning::State::getSwingDistance | ( | ) | const [inline] |
double vigir_footstep_planning::State::getSwingHeight | ( | ) | const [inline] |
double vigir_footstep_planning::State::getX | ( | ) | const [inline] |
double vigir_footstep_planning::State::getY | ( | ) | const [inline] |
double vigir_footstep_planning::State::getYaw | ( | ) | const [inline] |
double vigir_footstep_planning::State::getZ | ( | ) | const [inline] |
bool vigir_footstep_planning::State::operator!= | ( | const State & | s2 | ) | const |
bool vigir_footstep_planning::State::operator== | ( | const State & | s2 | ) | const |
void vigir_footstep_planning::State::recomputeNormal | ( | ) | [private] |
void vigir_footstep_planning::State::setBodyVelocity | ( | const geometry_msgs::Vector3 & | body_vel | ) | [inline] |
void vigir_footstep_planning::State::setCost | ( | double | cost | ) | [inline] |
void vigir_footstep_planning::State::setGroundContactSupport | ( | double | ground_contact_support | ) | [inline] |
void vigir_footstep_planning::State::setLeg | ( | Leg | leg | ) | [inline] |
void vigir_footstep_planning::State::setNormal | ( | const geometry_msgs::Vector3 & | normal | ) |
void vigir_footstep_planning::State::setNormal | ( | double | x, |
double | y, | ||
double | z | ||
) |
void vigir_footstep_planning::State::setOrientation | ( | const geometry_msgs::Quaternion & | q | ) |
void vigir_footstep_planning::State::setPitch | ( | double | pitch | ) | [inline] |
void vigir_footstep_planning::State::setPosition | ( | const geometry_msgs::Point & | position | ) |
void vigir_footstep_planning::State::setRisk | ( | double | risk | ) | [inline] |
void vigir_footstep_planning::State::setRoll | ( | double | roll | ) | [inline] |
void vigir_footstep_planning::State::setRPY | ( | double | roll, |
double | pitch, | ||
double | yaw | ||
) |
void vigir_footstep_planning::State::setStepDuration | ( | double | step_duration | ) | [inline] |
void vigir_footstep_planning::State::setSwayDistance | ( | double | sway_distance | ) | [inline] |
void vigir_footstep_planning::State::setSwayDuration | ( | double | sway_duration | ) | [inline] |
void vigir_footstep_planning::State::setSwingDistance | ( | double | swing_distance | ) | [inline] |
void vigir_footstep_planning::State::setSwingHeight | ( | double | swing_height | ) | [inline] |
void vigir_footstep_planning::State::setX | ( | double | x | ) | [inline] |
void vigir_footstep_planning::State::setY | ( | double | y | ) | [inline] |
void vigir_footstep_planning::State::setYaw | ( | double | yaw | ) | [inline] |
void vigir_footstep_planning::State::setZ | ( | double | z | ) | [inline] |
double vigir_footstep_planning::State::cost [private] |
double vigir_footstep_planning::State::ivGroundContactSupport [private] |
Leg vigir_footstep_planning::State::ivLeg [private] |
double vigir_footstep_planning::State::ivPitch [private] |
double vigir_footstep_planning::State::ivRoll [private] |
double vigir_footstep_planning::State::ivStepDuration [private] |
double vigir_footstep_planning::State::ivSwayDuration [private] |
double vigir_footstep_planning::State::ivSwingHeight [private] |
double vigir_footstep_planning::State::ivYaw [private] |
double vigir_footstep_planning::State::risk [private] |
double vigir_footstep_planning::State::sway_distance [private] |
double vigir_footstep_planning::State::swing_distance [private] |