Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

RemoteControllerMC Class Reference

This class is used for setting all outputs to a certain set of values (not the gains, just the joint positions). More...

#include <RemoteControllerMC.h>

Inheritance diagram for RemoteControllerMC:

Detailed Description

This class is used for setting all outputs 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) This is about as simple of a motion command as you'll find, so it might make for good sample code.

Definition at line 12 of file RemoteControllerMC.h.

List of all members.

Public Member Functions

 RemoteControllerMC ()
 constructor, defaults all joints at 0
virtual ~RemoteControllerMC ()
 destructor
virtual int updateOutputs ()
 Updates all of the outputs to their current positions, every time.
virtual int isAlive ()
 always true

Public Attributes

OutputCmd cmds [NumOutputs]
 current vector of positions

Constructor & Destructor Documentation

RemoteControllerMC::RemoteControllerMC (  ) 

constructor, defaults all joints at 0

Definition at line 15 of file RemoteControllerMC.h.

virtual RemoteControllerMC::~RemoteControllerMC (  )  [virtual]

destructor

Definition at line 17 of file RemoteControllerMC.h.


Member Function Documentation

virtual int RemoteControllerMC::isAlive (  )  [virtual]

always true

Implements MotionCommand.

Definition at line 27 of file RemoteControllerMC.h.

virtual int RemoteControllerMC::updateOutputs (  )  [virtual]

Updates all of the outputs to their current positions, every time.

Any outputs which we don't set would be marked unused and be moved by a lower-priority motion command

Implements MotionCommand.

Definition at line 21 of file RemoteControllerMC.h.


Member Data Documentation

current vector of positions

Definition at line 29 of file RemoteControllerMC.h.

Referenced by updateOutputs().


The documentation for this class was generated from the following file:

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:15 2016 by Doxygen 1.6.3