Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
#include <DriveMeBehavior.h>
Inheritance diagram for DriveMeBehavior:
The AIBO walks accordingly and then stands up, then asks again. And so on and so on.
Input is from cin, not the tekkotsu console (sout)
Definition at line 13 of file DriveMeBehavior.h.
Public Member Functions | |
DriveMeBehavior () | |
constructor | |
virtual | ~DriveMeBehavior () |
destructor | |
virtual void | DoStart () |
By default, merely adds to the reference counter (through AddReference()); Note you should still call this from your overriding methods. | |
virtual void | DoStop () |
By default, subtracts from the reference counter, and deletes if zero; Note you should still call this when you override this; Warning call this at the end of your DoStop(), not beginning (it might delete this ). | |
virtual void | processEvent (const EventBase &event) |
By defining here, allows you to get away with not supplying a processEvent() function for the EventListener interface. By default, does nothing. | |
virtual std::string | getName () const |
Identifies the behavior in menus and such. | |
Static Public Member Functions | |
std::string | getClassDescription () |
Gives a short description of what this class of behaviors does... you should override this (but don't have to). | |
Protected Attributes | |
MotionManager::MC_ID | walker_id |
walks | |
MotionManager::MC_ID | stand_id |
stands up first | |
SharedObject< MotionSequenceMC< MotionSequence::SizeSmall > > | stand |
for standing | |
double | last_dx |
the last dx received | |
double | last_dy |
the last dy received | |
double | last_da |
the last da received | |
unsigned int | last_time |
timestamp of last parameter set |
|
constructor
Definition at line 20 of file DriveMeBehavior.cc. |
|
destructor
Definition at line 16 of file DriveMeBehavior.h. |
|
By default, merely adds to the reference counter (through AddReference()); Note you should still call this from your overriding methods.
Reimplemented from BehaviorBase. Definition at line 32 of file DriveMeBehavior.cc. |
|
By default, subtracts from the reference counter, and deletes if zero; Note you should still call this when you override this; Warning call this at the end of your DoStop(), not beginning (it might
Reimplemented from BehaviorBase. Definition at line 45 of file DriveMeBehavior.cc. |
|
Gives a short description of what this class of behaviors does... you should override this (but don't have to).
Reimplemented from BehaviorBase. Definition at line 24 of file DriveMeBehavior.h. |
|
Identifies the behavior in menus and such.
Implements BehaviorBase. Definition at line 23 of file DriveMeBehavior.h. |
|
By defining here, allows you to get away with not supplying a processEvent() function for the EventListener interface. By default, does nothing.
Reimplemented from BehaviorBase. Definition at line 58 of file DriveMeBehavior.cc. |
|
the last da received
Definition at line 33 of file DriveMeBehavior.h. Referenced by processEvent(). |
|
the last dx received
Definition at line 31 of file DriveMeBehavior.h. Referenced by processEvent(). |
|
the last dy received
Definition at line 32 of file DriveMeBehavior.h. Referenced by processEvent(). |
|
timestamp of last parameter set
Definition at line 34 of file DriveMeBehavior.h. Referenced by processEvent(). |
|
for standing
Definition at line 29 of file DriveMeBehavior.h. Referenced by DoStart(), and DriveMeBehavior(). |
|
stands up first
Definition at line 28 of file DriveMeBehavior.h. Referenced by DoStart(), DoStop(), and processEvent(). |
|
walks
Definition at line 27 of file DriveMeBehavior.h. Referenced by DoStart(), DoStop(), and processEvent(). |
Tekkotsu v2.0 |
Generated Wed Jan 21 03:23:07 2004 by Doxygen 1.3.4 |