Homepage Demos Overview Downloads Tutorials Reference
Credits

WaypointWalkControl Class Reference

#include <WaypointWalkControl.h>

Inheritance diagram for WaypointWalkControl:

Inheritance graph
[legend]
List of all members.

Detailed Description

Allows interactive control and execution of a set of waypoints.

Definition at line 14 of file WaypointWalkControl.h.

Public Member Functions

 WaypointWalkControl ()
 constructor
virtual ControlBaseactivate (MotionManager::MC_ID disp_id, Socket *gui)
 add #walk to motman
virtual void refresh ()
 will be called after each waypoint is reached so we can update the menu
virtual void deactivate ()
 remove the #walk from motman
virtual ControlBasedoSelect ()
 handles selection of menu items

Protected Attributes

bool isRunning
 true if #walk is currently running
NullControlstartstopCtl
 start and stop waypoint running
ToggleControlloopCtl
 repeat waypoints
NullControladdEgoWPCtl
 start and stop waypoint running
NullControladdOffWPCtl
 start and stop waypoint running
NullControladdAbsWPCtl
 start and stop waypoint running
FileInputControlloadCtl
 allows loading of a path
StringInputControlsaveCtl
 save a path to a file
StringInputControllocalizationCtl
 enter localization updates manually
unsigned int listOffset
 the index of the first waypoint in the menu
MotionManager::MC_ID walk_id
 id number of the walk we're using, so we can check it out before modifying it

Private Member Functions

 WaypointWalkControl (const WaypointWalkControl &)
 don't call
WaypointWalkControl operator= (const WaypointWalkControl &)
 don't call


Constructor & Destructor Documentation

WaypointWalkControl::WaypointWalkControl  ) 
 

constructor

Definition at line 13 of file WaypointWalkControl.cc.

WaypointWalkControl::WaypointWalkControl const WaypointWalkControl  )  [private]
 

don't call


Member Function Documentation

ControlBase * WaypointWalkControl::activate MotionManager::MC_ID  disp_id,
Socket gui
[virtual]
 

add #walk to motman

Reimplemented from ControlBase.

Definition at line 33 of file WaypointWalkControl.cc.

void WaypointWalkControl::deactivate  )  [virtual]
 

remove the #walk from motman

Reimplemented from ControlBase.

Definition at line 98 of file WaypointWalkControl.cc.

ControlBase * WaypointWalkControl::doSelect  )  [virtual]
 

handles selection of menu items

Reimplemented from ControlBase.

Definition at line 105 of file WaypointWalkControl.cc.

WaypointWalkControl WaypointWalkControl::operator= const WaypointWalkControl  )  [private]
 

don't call

void WaypointWalkControl::refresh  )  [virtual]
 

will be called after each waypoint is reached so we can update the menu

Reimplemented from ControlBase.

Definition at line 42 of file WaypointWalkControl.cc.


Member Data Documentation

NullControl* WaypointWalkControl::addAbsWPCtl [protected]
 

start and stop waypoint running

Definition at line 59 of file WaypointWalkControl.h.

Referenced by WaypointWalkControl().

NullControl* WaypointWalkControl::addEgoWPCtl [protected]
 

start and stop waypoint running

Definition at line 57 of file WaypointWalkControl.h.

Referenced by WaypointWalkControl().

NullControl* WaypointWalkControl::addOffWPCtl [protected]
 

start and stop waypoint running

Definition at line 58 of file WaypointWalkControl.h.

Referenced by WaypointWalkControl().

bool WaypointWalkControl::isRunning [protected]
 

true if #walk is currently running

Definition at line 54 of file WaypointWalkControl.h.

Referenced by doSelect().

unsigned int WaypointWalkControl::listOffset [protected]
 

the index of the first waypoint in the menu

Definition at line 64 of file WaypointWalkControl.h.

Referenced by refresh(), and WaypointWalkControl().

FileInputControl* WaypointWalkControl::loadCtl [protected]
 

allows loading of a path

Definition at line 60 of file WaypointWalkControl.h.

Referenced by refresh(), and WaypointWalkControl().

StringInputControl* WaypointWalkControl::localizationCtl [protected]
 

enter localization updates manually

Definition at line 62 of file WaypointWalkControl.h.

Referenced by refresh(), and WaypointWalkControl().

ToggleControl* WaypointWalkControl::loopCtl [protected]
 

repeat waypoints

Definition at line 56 of file WaypointWalkControl.h.

Referenced by doSelect(), refresh(), and WaypointWalkControl().

StringInputControl* WaypointWalkControl::saveCtl [protected]
 

save a path to a file

Definition at line 61 of file WaypointWalkControl.h.

Referenced by refresh(), and WaypointWalkControl().

NullControl* WaypointWalkControl::startstopCtl [protected]
 

start and stop waypoint running

Definition at line 55 of file WaypointWalkControl.h.

Referenced by doSelect(), and WaypointWalkControl().

MotionManager::MC_ID WaypointWalkControl::walk_id [protected]
 

id number of the walk we're using, so we can check it out before modifying it

Definition at line 66 of file WaypointWalkControl.h.

Referenced by activate(), deactivate(), and refresh().


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

Tekkotsu v2.2.1
Generated Tue Nov 23 16:37:55 2004 by Doxygen 1.3.9.1