Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

RemoteControllerMC Class Reference

#include <RemoteControllerMC.h>

Inheritance diagram for RemoteControllerMC:

Inheritance graph
[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
Inherited:
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
virtual void DoStart ()
 marks this as dirty each time it is added

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


Member Function Documentation

virtual int RemoteControllerMC::updateOutputs (  )  [inline, virtual]

is called once per update cycle, can do any processing you need to change your priorities or set output commands on the MotionManager

Returns:
zero if no changes were made, non-zero otherwise
See also:
RobotInfo::NumFrames

RobotInfo::FrameTime

Implements MotionCommand.

Definition at line 22 of file RemoteControllerMC.h.


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

Tekkotsu v3.0
Generated Fri May 11 20:08:39 2007 by Doxygen 1.4.7