Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vigir_footstep_planning::StepCostKey Class Reference

#include <step_cost_key.h>

Inheritance diagram for vigir_footstep_planning::StepCostKey:
Inheritance graph
[legend]

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 More...
 
double disc_2_cont (int value, double cell_size) const
 discrete to continuous More...
 
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
 

Detailed Description

Definition at line 40 of file step_cost_key.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

int vigir_footstep_planning::StepCostKey::cont_2_disc ( double  value,
double  cell_size 
) const
inlineprotected

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
inlineprotected

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.

Member Data Documentation

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.


The documentation for this class was generated from the following files:


vigir_footstep_planning_default_plugins
Author(s): Alexander Stumpf
autogenerated on Sun Nov 17 2019 03:30:01