DualCoding::PilotTypes Namespace Reference
Enumerations |
| enum | RequestType_t {
localize,
walk,
waypointWalk,
setVelocity,
goToShape,
pushObject,
visualSearch,
noRequest,
numRequestTypes
} |
| | What we're asking the Pilot to do.
More...
|
| enum | ErrorType_t {
noError = 0,
someError,
invalidRequest,
abort,
cantLocalize,
startCollides,
endCollides,
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 40 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.
|
| startCollides |
Start state would be in collision.
|
| endCollides |
End state would be in collision.
|
| 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.
|
| pushObject |
Push objectSjape to targetShape.
|
| visualSearch |
Turn until search predicate returns true.
|
| noRequest |
Dummy case.
|
| numRequestTypes |
|
Definition at line 8 of file PilotTypes.h.
Variable Documentation
Initial value: {
"noError",
"someError",
"invalidRequest",
"abort",
"cantLocalize",
"startCollides",
"endCollides",
"noPath",
"collisionDetected",
"searchFailed"
}
Definition at line 17 of file PilotTypes.cc.
Initial value: {
"localize",
"walk",
"waypointWalk",
"setVelocity",
"goToShape",
"visualSearch",
"pushTarget",
"noRequest"
}
Definition at line 6 of file PilotTypes.cc.
|