Produces the contact sequence for a variety of two-legged gaits. More...
#include <biped_gait_generator.h>
Public Member Functions | |
BipedGaitGenerator () | |
virtual | ~BipedGaitGenerator () |
Private Member Functions | |
GaitInfo | GetGait (Gaits gait) const override |
GaitInfo | GetStrideFlight () const |
GaitInfo | GetStrideGallopHop () const |
GaitInfo | GetStrideHop () const |
GaitInfo | GetStrideLeftHop () const |
GaitInfo | GetStrideRightHop () const |
GaitInfo | GetStrideRun () const |
GaitInfo | GetStrideStand () const |
GaitInfo | GetStrideWalk () const |
void | SetCombo (Combos combo) override |
Sets a specific sequence of gaits. | |
Private Attributes | |
ContactState | b_ |
ContactState | B_ |
ContactState | I_ |
ContactState | P_ |
Produces the contact sequence for a variety of two-legged gaits.
Definition at line 42 of file biped_gait_generator.h.
Definition at line 39 of file biped_gait_generator.cc.
virtual towr::BipedGaitGenerator::~BipedGaitGenerator | ( | ) | [virtual] |
BipedGaitGenerator::GaitInfo towr::BipedGaitGenerator::GetGait | ( | Gaits | gait | ) | const [override, private, virtual] |
Implements towr::GaitGenerator.
Definition at line 65 of file biped_gait_generator.cc.
BipedGaitGenerator::GaitInfo towr::BipedGaitGenerator::GetStrideFlight | ( | ) | const [private] |
Definition at line 98 of file biped_gait_generator.cc.
BipedGaitGenerator::GaitInfo towr::BipedGaitGenerator::GetStrideGallopHop | ( | ) | const [private] |
Definition at line 170 of file biped_gait_generator.cc.
BipedGaitGenerator::GaitInfo towr::BipedGaitGenerator::GetStrideHop | ( | ) | const [private] |
Definition at line 152 of file biped_gait_generator.cc.
BipedGaitGenerator::GaitInfo towr::BipedGaitGenerator::GetStrideLeftHop | ( | ) | const [private] |
Definition at line 191 of file biped_gait_generator.cc.
BipedGaitGenerator::GaitInfo towr::BipedGaitGenerator::GetStrideRightHop | ( | ) | const [private] |
Definition at line 210 of file biped_gait_generator.cc.
BipedGaitGenerator::GaitInfo towr::BipedGaitGenerator::GetStrideRun | ( | ) | const [private] |
Definition at line 132 of file biped_gait_generator.cc.
BipedGaitGenerator::GaitInfo towr::BipedGaitGenerator::GetStrideStand | ( | ) | const [private] |
Definition at line 83 of file biped_gait_generator.cc.
BipedGaitGenerator::GaitInfo towr::BipedGaitGenerator::GetStrideWalk | ( | ) | const [private] |
Definition at line 113 of file biped_gait_generator.cc.
void towr::BipedGaitGenerator::SetCombo | ( | Combos | combo | ) | [override, private, virtual] |
Sets a specific sequence of gaits.
The derived class decides what each combo maps to. This function then fills the times_ and contacts_ variables accordingly.
Implements towr::GaitGenerator.
Definition at line 52 of file biped_gait_generator.cc.
ContactState towr::BipedGaitGenerator::b_ [private] |
Definition at line 63 of file biped_gait_generator.h.
ContactState towr::BipedGaitGenerator::B_ [private] |
Definition at line 65 of file biped_gait_generator.h.
ContactState towr::BipedGaitGenerator::I_ [private] |
Definition at line 62 of file biped_gait_generator.h.
ContactState towr::BipedGaitGenerator::P_ [private] |
Definition at line 64 of file biped_gait_generator.h.