Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

DualCoding::PilotTypes Namespace Reference

Enumerations

enum  RequestType_t {
  localize, walk, waypointWalk, setVelocity,
  goToShape, visualSearch, pushTarget, noRequest,
  numRequestTypes
}
 

What we're asking the Pilot to do.

More...
enum  ErrorType_t {
  noError = 0, someError, invalidRequest, abort,
  cantLocalize, noPath, collisionDetected, searchFailed,
  numErrorTypes
}
 

What error the Pilot is going to return.

More...
enum  CollisionAction_t { collisionIgnore = 0, collisionReport, collisionStop, collisionReplan }
 

Options for handling collisions.

More...

Variables

const char * RequestTypeNames []
const char * ErrorTypeNames []
static const unsigned int invalid_Pilot_ID = -1U

Enumeration Type Documentation

Options for handling collisions.

Enumerator:
collisionIgnore 

Don't check for collisions.

collisionReport 

Report the collision in a PilotEvent, but continue.

collisionStop 

Stop the robot and terminate the request.

collisionReplan 

Try to recover and proceed.

Definition at line 38 of file PilotTypes.h.

What error the Pilot is going to return.

Enumerator:
noError 

Request completed without error.

someError 

Generic error will match anything but noError in a PiotTrans.

invalidRequest 

Ill-formed PilotRequest, such as mssing parameters.

abort 

Request was aborted.

cantLocalize 

Localization failed.

noPath 

Path planning failed.

collisionDetected 

The robot hit something.

searchFailed 

Visual search gave up.

numErrorTypes 

Definition at line 23 of file PilotTypes.h.

What we're asking the Pilot to do.

Enumerator:
localize 

Localize using the available landmarks.

walk 

Walk the distance specified by dx / dy / da.

waypointWalk 

Execute the trajectory in waypointlist.

setVelocity 

Set velocity for continuous walking.

goToShape 

Plan a path to targetShape.

visualSearch 

Turn until search predicate returns true.

pushTarget 

Push against target location (not currently implemented).

noRequest 

Dummy case.

numRequestTypes 

Definition at line 8 of file PilotTypes.h.


Variable Documentation

const char * ErrorTypeNames
Initial value:
 {
  "noError",
  "someError",
  "invalidRequest",
  "abort",
  "cantLocalize",
  "collisionDetected",
  "searchFailed"
}

Definition at line 17 of file PilotTypes.cc.

const unsigned int invalid_Pilot_ID = -1U [static]

Definition at line 45 of file PilotTypes.h.

const char * RequestTypeNames
Initial value:
 {
  "localize",
  "walk",
  "waypointWalk",
  "setVelocity",
  "goToShape",
  "visualSearch",
  "pushTarget",
  "noRequest"
}

Definition at line 6 of file PilotTypes.cc.


DualCoding 5.1CVS
Generated Tue Aug 23 17:13:39 2011 by Doxygen 1.6.3