Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

XWalkParameters::LegParameters Class Reference

Specifies parameters for each leg. More...

#include <XWalkParameters.h>

Inheritance diagram for XWalkParameters::LegParameters:

Detailed Description

Specifies parameters for each leg.

Definition at line 134 of file XWalkParameters.h.

List of all members.

Public Member Functions

 LegParameters ()
 constructor
unsigned int totalDuration () const
 returns sum of raise, flight, and lower durations

Public Attributes

plist::Primitive< bool > usable
 if false, disables the leg from motion by the walk
plist::Primitive< floatstanceWidth
 'y' position of the foot during forward travel, relative to body/base frame
plist::Primitive< floatstrideBias
 'x' position of the foot during sideways travel, relative to 'x' position of first leg joint in body/base frame
plist::Primitive< floatstrideMargin
 distance to leave between this foot and the next when lowering
plist::Primitive< floatflightHeight
 the minimum height above ground while in flight
plist::Primitive< floatflightPhase
 the offset of this leg within the walk cycle (0-1)
plist::Primitive< unsigned int > flightDuration
 the time to take in the air, returning a leg to the front of its stroke (ms)
plist::Primitive< unsigned int > raiseDuration
 the time to take lifting a leg from the ground before flight (ms)
plist::Primitive< unsigned int > lowerDuration

Constructor & Destructor Documentation

XWalkParameters::LegParameters::LegParameters (  ) 

constructor

Definition at line 148 of file XWalkParameters.h.


Member Function Documentation

unsigned int XWalkParameters::LegParameters::totalDuration (  )  const

returns sum of raise, flight, and lower durations

Definition at line 161 of file XWalkParameters.h.


Member Data Documentation

the time to take in the air, returning a leg to the front of its stroke (ms)

Definition at line 144 of file XWalkParameters.h.

Referenced by LegParameters(), and totalDuration().

the minimum height above ground while in flight

Definition at line 142 of file XWalkParameters.h.

Referenced by LegParameters().

the offset of this leg within the walk cycle (0-1)

Definition at line 143 of file XWalkParameters.h.

Referenced by LegParameters().

the time to lower a leg back to the ground after flight (ms)

Definition at line 146 of file XWalkParameters.h.

Referenced by LegParameters(), and totalDuration().

the time to take lifting a leg from the ground before flight (ms)

Definition at line 145 of file XWalkParameters.h.

Referenced by LegParameters(), and totalDuration().

'y' position of the foot during forward travel, relative to body/base frame

Definition at line 138 of file XWalkParameters.h.

Referenced by XWalkParameters::computeNeutralPos(), LegParameters(), GaitedFootsteps::setGait(), and XWalkMC::updateNeutralPos().

'x' position of the foot during sideways travel, relative to 'x' position of first leg joint in body/base frame

Definition at line 139 of file XWalkParameters.h.

Referenced by XWalkParameters::computeNeutralPos(), LegParameters(), GaitedFootsteps::setGait(), and XWalkMC::updateNeutralPos().

distance to leave between this foot and the next when lowering

Definition at line 140 of file XWalkParameters.h.

Referenced by LegParameters().

if false, disables the leg from motion by the walk

Definition at line 136 of file XWalkParameters.h.

Referenced by LegParameters().


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:19 2016 by Doxygen 1.6.3