| 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
Definition at line 17 of file LedMC.h. References ERS210Info::AllLEDMask, and setWeights(). |
Here is the call graph for this function:

|
|
destructor
|
|
|
Implements MotionCommand. |
|
|
returns true if there are changes since the last updateLEDs()
Reimplemented from LedEngine. Definition at line 29 of file LedMC.h. References LedEngine::isDirty(). |
Here is the call graph for this function:

|
||||||||||||
|
Sets the JointCmd::weight of the LEDs specified by leds to weight.
Definition at line 33 of file LedMC.h. References cmds, ERS2xxInfo::LEDBitMask_t, ERS210Info::NumFrames, ERS210Info::NumLEDs, and OutputCmd::weight. |
|
|
updates the cmds from LedEngine::updateLEDs()
Implements MotionCommand. Definition at line 22 of file LedMC.h. References cmds, ERS210Info::LEDOffset, motman, ERS210Info::NumLEDs, MotionManager::setOutput(), LedEngine::updateLEDFrames(), and OutputCmd::weight. |
Here is the call graph for this function:

|
|
needed to store weight values of LEDs (useful to mark LEDs as unused)
|
|
Tekkotsu v1.5 |
Generated Fri Oct 10 15:56:24 2003 by Doxygen 1.3.4 |