Homepage Demos Overview Downloads Tutorials Reference
Credits
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Search

BanditMachine::PressNode Class Reference

#include <BanditMachine.h>

Inheritance diagram for BanditMachine::PressNode:

Inheritance graph
[legend]
List of all members.

Detailed Description

This node is used to move a paw down using a MotionSequenceMC.

Definition at line 78 of file BanditMachine.h.

Public Member Functions

 PressNode (const char *n, StateNode *p, unsigned int idx)
 constructor

virtual ~PressNode ()
 destructor

virtual void DoStart ()
 Transitions should call this when you are entering the state, so it can enable its transitions.

virtual void DoStop ()
 Transitions should call this when you are leaving the state, so it can disable its transitions.


Protected Attributes

MotionManager::MC_ID press_id
 the MC_ID of the MotionSequenceMC being used to do the press

unsigned int index
 the joint index of the paw to move


Constructor & Destructor Documentation

BanditMachine::PressNode::PressNode const char *  n,
StateNode p,
unsigned int  idx
[inline]
 

constructor

Parameters:
n name of the node
p the parent node
idx the joint index of the paw to move

Definition at line 85 of file BanditMachine.h.

References MotionManager::addMotion(), index, MotionManager::kStdPriority, ERS210Info::MinRange, motman, ERS210Info::outputRanges, and press_id.

virtual BanditMachine::PressNode::~PressNode  )  [inline, virtual]
 

destructor

Definition at line 98 of file BanditMachine.h.

References motman, press_id, and MotionManager::removeMotion().


Member Function Documentation

virtual void BanditMachine::PressNode::DoStart  )  [inline, virtual]
 

Transitions should call this when you are entering the state, so it can enable its transitions.

Reimplemented from StateNode.

Definition at line 101 of file BanditMachine.h.

References StateNode::DoStart(), index, and press_id.

virtual void BanditMachine::PressNode::DoStop  )  [inline, virtual]
 

Transitions should call this when you are leaving the state, so it can disable its transitions.

Reimplemented from StateNode.

Definition at line 108 of file BanditMachine.h.

References StateNode::DoStop(), and press_id.


Member Data Documentation

unsigned int BanditMachine::PressNode::index [protected]
 

the joint index of the paw to move

Definition at line 117 of file BanditMachine.h.

MotionManager::MC_ID BanditMachine::PressNode::press_id [protected]
 

the MC_ID of the MotionSequenceMC being used to do the press

Definition at line 116 of file BanditMachine.h.


The documentation for this class was generated from the following file:
Tekkotsu v1.4
Generated Sat Jul 19 00:08:48 2003 by Doxygen 1.3.2