| Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
TailWagMC Class Reference#include <TailWagMC.h>
Inheritance diagram for TailWagMC: ![]() Detailed DescriptionA simple motion command for wagging the tail - you can specify period, magnitude, and tilt.
Definition at line 14 of file TailWagMC.h.
Constructor & Destructor Documentation
Member Function Documentation
used to prune "dead" motions from the MotionManager note that a motion could be "paused" or inactive and therefore not dirty, but still alive, biding its time to "strike" ;)
Implements MotionCommand. Definition at line 62 of file TailWagMC.h.
not used by MotionManager at the moment, but could be used to reduce recomputation, and you may find it useful
Implements MotionCommand. Definition at line 60 of file TailWagMC.h.
sets the period of time between swings, in milliseconds a bit complicated in order to avoid jerking around when the period changes Definition at line 66 of file TailWagMC.h.
makes the tilt control unspecified, will let something else control tilt
Definition at line 76 of file TailWagMC.h.
is called once per update cycle, can do any processing you need to change your priorities or set output commands on the MotionManager
Implements MotionCommand. Definition at line 30 of file TailWagMC.h.
Member Data Documentation
true if this is currently trying to wag the tail
Definition at line 92 of file TailWagMC.h. Referenced by getActive(), isDirty(), setActive(), and updateOutputs().
sign of tail movement direction
Definition at line 94 of file TailWagMC.h. Referenced by setActive(), and updateOutputs().
magnitude of swings, in radians
Definition at line 90 of file TailWagMC.h. Referenced by getMagnitude(), setMagnitude(), and updateOutputs().
offset in the period, only used if period is changed to avoid twitching
Definition at line 91 of file TailWagMC.h. Referenced by setPeriod(), and updateOutputs().
holds commands for planning ahead the wagging
Definition at line 96 of file TailWagMC.h. Referenced by updateOutputs().
period of time between swings, in milliseconds
Definition at line 89 of file TailWagMC.h. Referenced by getPeriod(), setPeriod(), and updateOutputs().
holds current setting for the tilt joint
Definition at line 95 of file TailWagMC.h. Referenced by getTilt(), setTilt(), unsetTilt(), and updateOutputs().
The documentation for this class was generated from the following file: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Tekkotsu v3.0 |
Generated Wed Oct 4 00:05:15 2006 by Doxygen 1.4.7 |