Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
#include <LedMC.h>
Inheritance diagram for LedMC:
This is handy if all you want to do is control the LED's, but since other MotionCommands will probably also want to make use of the LEDs, they can just use the engine component to do all the work.
Definition at line 14 of file LedMC.h.
Public Member Functions | |
LedMC () | |
constructor | |
virtual | ~LedMC () |
destructor | |
virtual int | updateOutputs () |
updates the cmds from LedEngine::updateLEDs() | |
virtual int | isDirty () |
returns true if there are changes since the last updateLEDs() | |
virtual int | isAlive () |
void | setWeights (LEDBitMask_t leds, float weight) |
Sets the JointCmd::weight of the LEDs specified by leds to weight. | |
Protected Attributes | |
OutputCmd | cmds [NumLEDs][NumFrames] |
needed to store weight values of LEDs (useful to mark LEDs as unused) |
|
constructor
|
|
destructor
|
|
Implements MotionCommand. |
|
returns true if there are changes since the last updateLEDs()
Reimplemented from LedEngine. |
|
Sets the JointCmd::weight of the LEDs specified by leds to weight.
Definition at line 33 of file LedMC.h. Referenced by LedMC(). |
|
updates the cmds from LedEngine::updateLEDs()
Implements MotionCommand. |
|
needed to store weight values of LEDs (useful to mark LEDs as unused)
Definition at line 41 of file LedMC.h. Referenced by setWeights(), and updateOutputs(). |
Tekkotsu v2.0 |
Generated Wed Jan 21 03:23:15 2004 by Doxygen 1.3.4 |