| Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
#include <WalkNode.h>
Inheritance diagram for WalkNode:

Definition at line 11 of file WalkNode.h.
Public Member Functions | |
| WalkNode (StateNode *p=NULL) | |
| constructor | |
| WalkNode (float xvel, float yvel, float avel, StateNode *p=NULL) | |
| constructor, positive is counter-clockwise from above (to match coordinate system) | |
| void | setVelocity (float xvel, float yvel, float avel) |
| sets the velocity of the walk | |
| void | setXVelocity (float xvel) |
| sets the velocity in x direction (positive is forward) | |
| float | getXVelocity () |
| returns the velocity in x direction (positive is forward) | |
| void | setYVelocity (float yvel) |
| sets the velocity in y direction (positive is forward) | |
| float | getYVelocity () |
| returns the velocity in y direction (positive is forward) | |
| void | setAVelocity (float avel) |
| sets the velocity of the turn, positive is counter-clockwise from above (to match coordinate system) | |
| float | getAVelocity () |
| returns the velocity of the turn, positive is counter-clockwise from above (to match coordinate system) | |
| 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. | |
| virtual void | teardown () |
| removes walkid if walkidIsMine | |
| virtual void | setWalkID (MotionManager::MC_ID id) |
| use this to force the WalkNode to use a shared WalkMC - set to MotionManager::invalid_MC_ID to reset to internally generated walk | |
| virtual MotionManager::MC_ID | getWalkID () |
| use this to access the WalkMC that the WalkNode is using | |
| virtual bool | ownsWalkID () |
| returns true if walkid was created (and will be destroyed) by this WalkNode - false if assigned by setWalkID() | |
Protected Member Functions | |
| void | updateWalk (float xvel, float yvel, float avel) |
| if the walk is invalid, create; then set xya | |
Protected Attributes | |
| MotionManager::MC_ID | walkid |
| the current WalkMC | |
| bool | walkidIsMine |
| true if the walk was created in updateWalk (instead of assigned externally) | |
| float | x |
| velocity in x direction (positive is forward) | |
| float | y |
| velocity in y direction (positive is dog's left) | |
| float | a |
| velocity of the turn, positive is counter-clockwise from above (to match coordinate system) | |
|
|
constructor
Definition at line 14 of file WalkNode.h. |
|
||||||||||||||||||||
|
constructor, positive is counter-clockwise from above (to match coordinate system)
Definition at line 21 of file WalkNode.h. |
|
|
Transitions should call this when you are entering the state, so it can enable its transitions.
Reimplemented from StateNode. Definition at line 53 of file WalkNode.h. |
|
|
Transitions should call this when you are leaving the state, so it can disable its transitions.
Reimplemented from StateNode. Definition at line 58 of file WalkNode.h. |
|
|
returns the velocity of the turn, positive is counter-clockwise from above (to match coordinate system)
Definition at line 51 of file WalkNode.h. |
|
|
use this to access the WalkMC that the WalkNode is using
Definition at line 82 of file WalkNode.h. |
|
|
returns the velocity in x direction (positive is forward)
Definition at line 39 of file WalkNode.h. |
|
|
returns the velocity in y direction (positive is forward)
Definition at line 45 of file WalkNode.h. |
|
|
returns true if walkid was created (and will be destroyed) by this WalkNode - false if assigned by setWalkID()
Definition at line 85 of file WalkNode.h. |
|
|
sets the velocity of the turn, positive is counter-clockwise from above (to match coordinate system)
Definition at line 48 of file WalkNode.h. Referenced by ExploreMachine::processEvent(). |
|
||||||||||||||||
|
sets the velocity of the walk
Definition at line 28 of file WalkNode.h. |
|
|
use this to force the WalkNode to use a shared WalkMC - set to MotionManager::invalid_MC_ID to reset to internally generated walk
Definition at line 72 of file WalkNode.h. |
|
|
sets the velocity in x direction (positive is forward)
Definition at line 36 of file WalkNode.h. |
|
|
sets the velocity in y direction (positive is forward)
Definition at line 42 of file WalkNode.h. |
|
|
removes walkid if walkidIsMine
Reimplemented from StateNode. Definition at line 64 of file WalkNode.h. |
|
||||||||||||||||
|
if the walk is invalid, create; then set xya
Definition at line 89 of file WalkNode.h. Referenced by DoStart(), DoStop(), setAVelocity(), setVelocity(), setXVelocity(), and setYVelocity(). |
|
|
velocity of the turn, positive is counter-clockwise from above (to match coordinate system)
Definition at line 105 of file WalkNode.h. Referenced by DoStart(), getAVelocity(), setAVelocity(), setVelocity(), setXVelocity(), setYVelocity(), and WalkNode(). |
|
|
the current WalkMC
Definition at line 101 of file WalkNode.h. Referenced by getWalkID(), setWalkID(), teardown(), updateWalk(), and WalkNode(). |
|
|
true if the walk was created in updateWalk (instead of assigned externally)
Definition at line 102 of file WalkNode.h. Referenced by ownsWalkID(), setWalkID(), teardown(), updateWalk(), and WalkNode(). |
|
|
velocity in x direction (positive is forward)
Definition at line 103 of file WalkNode.h. Referenced by DoStart(), getXVelocity(), setAVelocity(), setVelocity(), setXVelocity(), setYVelocity(), and WalkNode(). |
|
|
velocity in y direction (positive is dog's left)
Definition at line 104 of file WalkNode.h. Referenced by DoStart(), getYVelocity(), setAVelocity(), setVelocity(), setXVelocity(), setYVelocity(), and WalkNode(). |
|
Tekkotsu v2.0 |
Generated Wed Jan 21 03:23:33 2004 by Doxygen 1.3.4 |