Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Pilot Class Reference

#include <Pilot.h>

Inheritance diagram for Pilot:

List of all members.


Detailed Description

Definition at line 17 of file Pilot.h.


Public Types

typedef unsigned int PilotVerbosity_t

Public Member Functions

 Pilot ()
 Constructor.
virtual void DoStart ()
virtual void DoStop ()
virtual void setup ()
unsigned int executeRequest (const PilotRequest &req)
void abort ()
 Abort current request and empty the request queue.
MotionManager::MC_ID getWaypointWalk_MC_ID ()

Static Public Member Functions

static void setVerbosity (PilotVerbosity_t v)
static PilotVerbosity_t getVerbosity ()

Static Public Attributes

static const PilotVerbosity_t PVstart = 1<<0
static const PilotVerbosity_t PVevents = 1<<1
static const PilotVerbosity_t PVexecute = 1<<2
static const PilotVerbosity_t PVsuccess = 1<<3
static const PilotVerbosity_t PVfailure = 1<<4
static const PilotVerbosity_t PVcomplete = 1<<5
static const unsigned int invalid_Pilot_ID = (unsigned int)-1

Protected Member Functions

void executeRequest ()
void requestComplete (const bool result=true)
void success ()
void failure ()

Protected Attributes

std::queue< PilotRequest * > requests
PilotRequestcurReq
unsigned int idCounter
MotionManager::MC_ID waypointwalk_id
MotionManager::MC_ID posture_id
unsigned int lastDisplayParticleTime
DispatchdispatchNode

Private Member Functions

 Pilot (const Pilot &)
 do not call
Pilotoperator= (const Pilot &)
 do not call

Static Private Attributes

static PilotVerbosity_t verbosity = -1U

Classes

class  BuildTarget
class  CreepToShape
class  CreepToShapeBuildMap
class  CreepToShapeLocalize
class  CreepToShapeStand
class  CreepToShapeWait
class  Dispatch
class  Failure
class  GotoShape
class  GotoTarget
class  Localize
class  PushTarget
class  Success
class  VisualSearch
class  VisualSearchHaveMap
class  VisualSearchWalk
class  Walk

Member Typedef Documentation

typedef unsigned int PilotVerbosity_t

Definition at line 20 of file Pilot.h.


Constructor & Destructor Documentation

Pilot (  ) 

Constructor.

Definition at line 19 of file Pilot.cc.

Pilot ( const Pilot  )  [private]

do not call


Member Function Documentation

static void setVerbosity ( PilotVerbosity_t  v  )  [inline, static]

Definition at line 31 of file Pilot.h.

static PilotVerbosity_t getVerbosity (  )  [inline, static]

Definition at line 32 of file Pilot.h.

Referenced by Pilot::Failure::DoStart(), and Pilot::Success::DoStart().

void DoStart (  )  [virtual]

Definition at line 29 of file Pilot.cc.

Referenced by VRmixin::startCrew().

void DoStop (  )  [virtual]

Definition at line 40 of file Pilot.cc.

Referenced by VRmixin::stopCrew().

void setup (  )  [virtual]

Definition at line 63 of file Pilot.cc.

unsigned int executeRequest ( const PilotRequest req  ) 

Definition at line 69 of file Pilot.cc.

void abort (  ) 

Abort current request and empty the request queue.

Definition at line 51 of file Pilot.cc.

Referenced by Pilot::DoStop().

MotionManager::MC_ID getWaypointWalk_MC_ID (  )  [inline]

Definition at line 236 of file Pilot.h.

void executeRequest (  )  [protected]

Definition at line 77 of file Pilot.cc.

Referenced by Pilot::executeRequest(), and Pilot::requestComplete().

void requestComplete ( const bool  result = true  )  [protected]

Definition at line 88 of file Pilot.cc.

Referenced by Pilot::Failure::DoStart(), and Pilot::Success::DoStart().

void success (  )  [inline, protected]

Pilot& operator= ( const Pilot  )  [private]

do not call


Member Data Documentation

const PilotVerbosity_t PVstart = 1<<0 [static]

Definition at line 21 of file Pilot.h.

Referenced by Pilot::DoStart(), and Pilot::DoStop().

const PilotVerbosity_t PVevents = 1<<1 [static]

Definition at line 22 of file Pilot.h.

const PilotVerbosity_t PVexecute = 1<<2 [static]

Definition at line 23 of file Pilot.h.

Referenced by Pilot::executeRequest().

const PilotVerbosity_t PVsuccess = 1<<3 [static]

Definition at line 24 of file Pilot.h.

Referenced by Pilot::Success::DoStart().

const PilotVerbosity_t PVfailure = 1<<4 [static]

Definition at line 25 of file Pilot.h.

Referenced by Pilot::Failure::DoStart().

const PilotVerbosity_t PVcomplete = 1<<5 [static]

Definition at line 26 of file Pilot.h.

Referenced by Pilot::requestComplete().

const unsigned int invalid_Pilot_ID = (unsigned int)-1 [static]

Definition at line 238 of file Pilot.h.

std::queue<PilotRequest*> requests [protected]

Definition at line 246 of file Pilot.h.

Referenced by Pilot::abort(), Pilot::executeRequest(), and Pilot::requestComplete().

unsigned int idCounter [protected]

Definition at line 248 of file Pilot.h.

Referenced by Pilot::executeRequest().

unsigned int lastDisplayParticleTime [protected]

Definition at line 251 of file Pilot.h.

Referenced by Pilot::Localize::processMap().


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

DualCoding 4.0
Generated Thu Nov 22 00:54:00 2007 by Doxygen 1.5.4