#include <step_cost_key.h>
Public Member Functions | |
void | getState (std::vector< double > &state) const |
bool | operator< (const StepCostKey &other) const |
bool | operator== (const StepCostKey &other) const |
void | setState (const std::vector< double > &state) |
StepCostKey (const std::vector< double > &state, double cell_size, double angle_bin_size) | |
StepCostKey (const State &left_foot, const State &right_foot, const State &swing_foot, double cell_size, double angle_bin_size) | |
StepCostKey (const StepCostKey &other) | |
Protected Member Functions | |
int | cont_2_disc (double value, double cell_size) const |
continuous to discrete | |
double | disc_2_cont (int value, double cell_size) const |
discrete to continuous | |
void | mirrorPoseOnXPlane (tf::Pose &mirror, const tf::Pose &orig) const |
void | transformStates (const State &left_foot, const State &right_foot, const State &swing_foot, std::vector< double > &state) const |
Protected Attributes | |
const double | angle_bin_size |
const double | cell_size |
Definition at line 40 of file step_cost_key.h.
vigir_footstep_planning::StepCostKey::StepCostKey | ( | const std::vector< double > & | state, |
double | cell_size, | ||
double | angle_bin_size | ||
) |
Definition at line 12 of file step_cost_key.cpp.
vigir_footstep_planning::StepCostKey::StepCostKey | ( | const State & | left_foot, |
const State & | right_foot, | ||
const State & | swing_foot, | ||
double | cell_size, | ||
double | angle_bin_size | ||
) |
Definition at line 19 of file step_cost_key.cpp.
vigir_footstep_planning::StepCostKey::StepCostKey | ( | const StepCostKey & | other | ) |
Definition at line 28 of file step_cost_key.cpp.
int vigir_footstep_planning::StepCostKey::cont_2_disc | ( | double | value, |
double | cell_size | ||
) | const [inline, protected] |
continuous to discrete
Definition at line 59 of file step_cost_key.h.
double vigir_footstep_planning::StepCostKey::disc_2_cont | ( | int | value, |
double | cell_size | ||
) | const [inline, protected] |
discrete to continuous
Definition at line 65 of file step_cost_key.h.
void vigir_footstep_planning::StepCostKey::getState | ( | std::vector< double > & | state | ) | const |
Definition at line 97 of file step_cost_key.cpp.
void vigir_footstep_planning::StepCostKey::mirrorPoseOnXPlane | ( | tf::Pose & | mirror, |
const tf::Pose & | orig | ||
) | const [protected] |
Definition at line 200 of file step_cost_key.cpp.
bool vigir_footstep_planning::StepCostKey::operator< | ( | const StepCostKey & | other | ) | const |
Definition at line 50 of file step_cost_key.cpp.
bool vigir_footstep_planning::StepCostKey::operator== | ( | const StepCostKey & | other | ) | const |
Definition at line 35 of file step_cost_key.cpp.
void vigir_footstep_planning::StepCostKey::setState | ( | const std::vector< double > & | state | ) |
Definition at line 69 of file step_cost_key.cpp.
void vigir_footstep_planning::StepCostKey::transformStates | ( | const State & | left_foot, |
const State & | right_foot, | ||
const State & | swing_foot, | ||
std::vector< double > & | state | ||
) | const [protected] |
Definition at line 121 of file step_cost_key.cpp.
const double vigir_footstep_planning::StepCostKey::angle_bin_size [protected] |
Definition at line 70 of file step_cost_key.h.
const double vigir_footstep_planning::StepCostKey::cell_size [protected] |
Definition at line 70 of file step_cost_key.h.