LedMC Class Reference#include <LedMC.h>
Inheritance diagram for LedMC:
[legend]List of all members.
Detailed Description
This is just a simple wrapper - you probably want to be looking at LedEngine.h.
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.
Constructor & Destructor Documentation
LedMC::LedMC |
( |
|
) |
[inline] |
|
|
constructor
Definition at line 17 of file LedMC.h. |
virtual LedMC::~LedMC |
( |
|
) |
[inline, virtual] |
|
|
destructor
Definition at line 19 of file LedMC.h. |
Member Function Documentation
virtual int LedMC::isAlive |
( |
|
) |
[inline, virtual] |
|
|
- Todo:
- let's make this smarter so you can flash the LED's and have it autoprune
Implements MotionCommand.
Definition at line 30 of file LedMC.h. |
virtual int LedMC::isDirty |
( |
|
) |
[inline, virtual] |
|
void LedMC::setWeights |
( |
LEDBitMask_t |
leds, |
|
|
float |
weight |
|
) |
[inline] |
|
|
Sets the JointCmd::weight of the LEDs specified by leds to weight.
Definition at line 33 of file LedMC.h.
Referenced by LedMC(). |
virtual int LedMC::updateOutputs |
( |
|
) |
[inline, virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following file:
|