RemoteControllerMC Class Reference#include <RemoteControllerMC.h>
Inheritance diagram for RemoteControllerMC:
[legend]List of all members.
Detailed Description
This class is used for setting all PIDJoints to a certain set of values (not the gains, just the joint positions).
This is PostureMC's little brother. Not quite so full of features, but straightforward and easy to understand. (hopefully)
Definition at line 11 of file RemoteControllerMC.h.
|
Public Member Functions |
| RemoteControllerMC () |
| constructor, defaults to active, all joints at 0
|
virtual | ~RemoteControllerMC () |
| destructor
|
void | setDirty () |
| sets dirty flag to true
|
|
Updates all PIDJoint values
|
virtual int | updateOutputs () |
| is called once per update cycle, can do any processing you need to change your priorities or set output commands on the MotionManager
|
virtual int | isDirty () |
| true if a change has been made since the last updateJointCmds() and we're active
|
virtual int | isAlive () |
| always true
|
Public Attributes |
float | cmds [NumPIDJoints] |
| current vector of positions
|
Protected Attributes |
bool | dirty |
| true if a change has been made since last call to updateJointCmds()
|
bool | active |
| set by accessor functions, defaults to true
|
Constructor & Destructor Documentation
RemoteControllerMC::RemoteControllerMC |
( |
|
) |
[inline] |
|
Member Function Documentation
virtual int RemoteControllerMC::isAlive |
( |
|
) |
[inline, virtual] |
|
virtual int RemoteControllerMC::isDirty |
( |
|
) |
[inline, virtual] |
|
void RemoteControllerMC::setDirty |
( |
|
) |
[inline] |
|
virtual int RemoteControllerMC::updateOutputs |
( |
|
) |
[inline, virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following file:
|