Public Member Functions | Private Member Functions | Private Attributes
towr::MonopedGaitGenerator Class Reference

Produces the contact sequence for a variety of one-legged gaits. More...

#include <monoped_gait_generator.h>

Inheritance diagram for towr::MonopedGaitGenerator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 MonopedGaitGenerator ()
virtual ~MonopedGaitGenerator ()

Private Member Functions

GaitInfo GetGait (Gaits gait) const override
GaitInfo GetStrideFlight () const
GaitInfo GetStrideHop () const
GaitInfo GetStrideHopLong () const
GaitInfo GetStrideStand () const
void SetCombo (Combos combo) override
 Sets a specific sequence of gaits.

Private Attributes

ContactState o_ = ContactState(1, true)
ContactState x_ = ContactState(1, false)

Detailed Description

Produces the contact sequence for a variety of one-legged gaits.

See also:
GaitGenerator for more documentation

Definition at line 42 of file monoped_gait_generator.h.


Constructor & Destructor Documentation


Member Function Documentation

MonopedGaitGenerator::GaitInfo towr::MonopedGaitGenerator::GetGait ( Gaits  gait) const [override, private, virtual]

Implements towr::GaitGenerator.

Definition at line 51 of file monoped_gait_generator.cc.

MonopedGaitGenerator::GaitInfo towr::MonopedGaitGenerator::GetStrideFlight ( ) const [private]

Definition at line 78 of file monoped_gait_generator.cc.

MonopedGaitGenerator::GaitInfo towr::MonopedGaitGenerator::GetStrideHop ( ) const [private]

Definition at line 93 of file monoped_gait_generator.cc.

MonopedGaitGenerator::GaitInfo towr::MonopedGaitGenerator::GetStrideHopLong ( ) const [private]

Definition at line 108 of file monoped_gait_generator.cc.

MonopedGaitGenerator::GaitInfo towr::MonopedGaitGenerator::GetStrideStand ( ) const [private]

Definition at line 63 of file monoped_gait_generator.cc.

void towr::MonopedGaitGenerator::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 38 of file monoped_gait_generator.cc.


Member Data Documentation

ContactState towr::MonopedGaitGenerator::o_ = ContactState(1, true) [private]

Definition at line 55 of file monoped_gait_generator.h.

ContactState towr::MonopedGaitGenerator::x_ = ContactState(1, false) [private]

Definition at line 56 of file monoped_gait_generator.h.


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


towr
Author(s): Alexander W. Winkler
autogenerated on Mon Apr 15 2019 02:42:32