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

WorldModel2Behavior::GawkNode Struct Reference

Inheritance diagram for WorldModel2Behavior::GawkNode:

Inheritance graph
[legend]
List of all members.

Detailed Description

This one wags the head around.

Definition at line 57 of file WorldModel2Behavior.h.

Public Member Functions

 GawkNode (const char *title, StateNode *poppa, WorldModel2 *WM, MotionManager::MC_ID su)
 Constructor.

virtual void processEvent (const EventBase &)
 Head wag poll timer.

virtual void DoStart ()
 Behavior startup.

virtual void DoStop ()
 Behavior stop.

 GawkNode (const WorldModel2Behavior::GawkNode &)
 don't call

GawkNode operator= (const WorldModel2Behavior::GawkNode &)
 don't call


Public Attributes

WorldModel2WM2ref
 Reference to WM2B's WM2 object.

MotionManager::MC_ID head_id
 A motion command ID for the head.

MotionManager::MC_ID stand_id
 A motion command ID for standing up.


Constructor & Destructor Documentation

WorldModel2Behavior::GawkNode::GawkNode const char *  title,
StateNode poppa,
WorldModel2 WM,
MotionManager::MC_ID  su
 

Constructor.

Definition at line 217 of file WorldModel2Behavior.cc.

WorldModel2Behavior::GawkNode::GawkNode const WorldModel2Behavior::GawkNode  ) 
 

don't call


Member Function Documentation

void WorldModel2Behavior::GawkNode::DoStart  )  [virtual]
 

Behavior startup.

Reimplemented from StateNode.

Definition at line 242 of file WorldModel2Behavior.cc.

References MotionManager::addMotion(), EventRouter::addTimer(), StateNode::DoStart(), erouter, head_id, and motman.

void WorldModel2Behavior::GawkNode::DoStop  )  [virtual]
 

Behavior stop.

Reimplemented from StateNode.

Definition at line 261 of file WorldModel2Behavior.cc.

References AFS_NUM_LANDMARKS, StateNode::DoStop(), erouter, head_id, _afsParticle::landmarks, _afsLandmarkLoc::mean, motman, _afsParticle::pose, MotionManager::removeMotion(), EventRouter::removeTimer(), _afsLandmarkLoc::state, _afsLandmarkLoc::variance, WM2ref, _afsPose::x, and _afsPose::y.

GawkNode WorldModel2Behavior::GawkNode::operator= const WorldModel2Behavior::GawkNode  ) 
 

don't call

void WorldModel2Behavior::GawkNode::processEvent const EventBase  )  [virtual]
 

Head wag poll timer.

Reimplemented from StateNode.

Definition at line 229 of file WorldModel2Behavior.cc.

References MotionManager::checkinMotion(), MotionManager::checkoutMotion(), get_time(), head_id, motman, and HeadPointerMC::setJoints().


Member Data Documentation

MotionManager::MC_ID WorldModel2Behavior::GawkNode::head_id
 

A motion command ID for the head.

Definition at line 69 of file WorldModel2Behavior.h.

MotionManager::MC_ID WorldModel2Behavior::GawkNode::stand_id
 

A motion command ID for standing up.

Definition at line 70 of file WorldModel2Behavior.h.

WorldModel2* WorldModel2Behavior::GawkNode::WM2ref
 

Reference to WM2B's WM2 object.

Definition at line 58 of file WorldModel2Behavior.h.


The documentation for this struct was generated from the following files:
Tekkotsu v1.4
Generated Sat Jul 19 00:09:16 2003 by Doxygen 1.3.2