Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

XWalkParameters::SinusoidalParameters Class Reference

Specifies parameters for shifting the body position while in motion. More...

#include <XWalkParameters.h>

Inheritance diagram for XWalkParameters::SinusoidalParameters:

Detailed Description

Specifies parameters for shifting the body position while in motion.

Definition at line 102 of file XWalkParameters.h.

List of all members.

Public Member Functions

 SinusoidalParameters ()
 constructor
float operator() (float globPhase, float *legPhases)

Public Attributes

plist::Primitive< floatmagnitude
 distance of motion (peak-to-center)
plist::Primitive< floatphase
 offsets phase within stride (0-1)
plist::Primitive< floatbaseline
 offsets the median value to be oscillated about
plist::Primitive< floatfreqScale
 multiplies the frequency of the oscillation, so '2' would repeat the oscillation twice within a cycle
plist::Primitive< int > legLink

Constructor & Destructor Documentation

XWalkParameters::SinusoidalParameters::SinusoidalParameters (  ) 

constructor

Definition at line 110 of file XWalkParameters.h.


Member Function Documentation

float XWalkParameters::SinusoidalParameters::operator() ( float  globPhase,
float legPhases 
)

Definition at line 118 of file XWalkParameters.h.


Member Data Documentation

offsets the median value to be oscillated about

Definition at line 106 of file XWalkParameters.h.

Referenced by operator()(), and SinusoidalParameters().

multiplies the frequency of the oscillation, so '2' would repeat the oscillation twice within a cycle

Definition at line 107 of file XWalkParameters.h.

Referenced by operator()(), and SinusoidalParameters().

if a valid leg index (i.e. non-negative, less than number of legs), indicates the leg phase to use instead of global phase

Definition at line 108 of file XWalkParameters.h.

Referenced by operator()(), and SinusoidalParameters().

distance of motion (peak-to-center)

Definition at line 104 of file XWalkParameters.h.

Referenced by operator()(), and SinusoidalParameters().

offsets phase within stride (0-1)

Definition at line 105 of file XWalkParameters.h.

Referenced by operator()(), and SinusoidalParameters().


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