Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

PilotRequest Class Reference

Request to the Pilot for motion or navigation. More...

#include <PilotRequest.h>


Detailed Description

Request to the Pilot for motion or navigation.

Definition at line 16 of file PilotRequest.h.

List of all members.

Public Member Functions

 PilotRequest (PilotTypes::RequestType_t _type=PilotTypes::noRequest)
 Constructor.
 PilotRequest (const PilotRequest &req)
PilotTypes::RequestType_t getRequestType () const
PilotRequestoperator= (const PilotRequest &req)
bool operator== (const PilotRequest &other) const

Public Attributes

PilotTypes::RequestType_t requestType
 Type of pilot request.
float dx
 Forward distance in mm (negative means go backward).
float dy
 Sideways distance in mm (positive to the left).
float da
 Rotation angle in radians (positive is counterclockwise).
float forwardSpeed
 Translation speed in mm/sec for dx or dy.
float strafeSpeed
 Sideways translational speed used for setVelocity.
float turnSpeed
 Rotational speed in radians/sec for da.
std::string walkParameters
PilotTypes::CollisionAction_t collisionAction
 What to do about collisions.
WaypointList * waypointList
 Waypoint list for waypointWalk; contents will be copied by Pilot::executeRequest.
bool clearWaypoints
 If true, the waypointList will be cleared before appending new waypoints.
MapBuilderRequestlandmarkExtractor
 MapBuilderRequest used to find landmarks.
bool(* landmarkExitTest )()
 Should return true if there are enough landmarks to localize.
MapBuilderRequestsearchObjectExtractor
 MapBuilderRequest to be used for visual search.
bool(* searchExitTest )()
 If true, terminate search and post a completion event.
AngSignPi searchRotationAngle
 Angle to rotate body to continue a visual search.
ShapeRoot targetShape
 Shape to walk to.
AngTwoPi targetHeading
 Heading on which we want to arrive at the target.
bool avoidCliffs
 If true, use chest IR to avoid walking off a cliff.
int cliffThreshold
 Maximum tolerable distance to the ground (millimeters).
bool avoidObstacles
 If true, use head IR sensors to avoid obstacles.
int obstacleThreshold
 Minimum tolerable distance to an obstacle (millimeters).
LookoutTrackRequesttrackRequest
 Lookout request for tracking objects while walking.
float displayParticles
 How many particles to display (number or percentage) as a single Graphics shape.
float displayIndividualParticles
 How many particles to display (number or percentage) as LocalizationParticle shapes.
bool displayPath
 If true, the planned path is displayed in the shape space.
bool displayTree
 If true, the RRT search tree is displayed in the shape space.
unsigned int maxRRTIterations
 Maximum number of iterations for path planner RRT search.
bool executePath
 If true, the Pilot will execute the path it has planned; if false, it plans but does not execute.
std::vector
< DualCoding::ShapeRoot
landmarks
 Vector of landmarks to use for localization.
BehaviorBaserequestingBehavior
 Used to construct a PilotEvent to notify the requesting node of the results of this Pilot operation.

Private Attributes

unsigned int requestID

Friends

class Pilot

Constructor & Destructor Documentation

PilotRequest ( PilotTypes::RequestType_t  _type = PilotTypes::noRequest  ) 

Constructor.

Definition at line 8 of file PilotRequest.cc.

PilotRequest ( const PilotRequest req  ) 

Definition at line 27 of file PilotRequest.cc.


Member Function Documentation

PilotTypes::RequestType_t getRequestType (  )  const

Definition at line 26 of file PilotRequest.h.

PilotRequest & operator= ( const PilotRequest req  ) 

Definition at line 51 of file PilotRequest.cc.

bool operator== ( const PilotRequest other  )  const

Definition at line 78 of file PilotRequest.h.


Friends And Related Function Documentation

friend class Pilot [friend]

Definition at line 17 of file PilotRequest.h.


Member Data Documentation

If true, use chest IR to avoid walking off a cliff.

Definition at line 50 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

If true, use head IR sensors to avoid obstacles.

Definition at line 52 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

If true, the waypointList will be cleared before appending new waypoints.

Definition at line 39 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

Maximum tolerable distance to the ground (millimeters).

Definition at line 51 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

What to do about collisions.

Definition at line 36 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

float da

Rotation angle in radians (positive is counterclockwise).

Definition at line 31 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

How many particles to display (number or percentage) as LocalizationParticle shapes.

Definition at line 57 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

How many particles to display (number or percentage) as a single Graphics shape.

Definition at line 56 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

If true, the planned path is displayed in the shape space.

Definition at line 58 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

If true, the RRT search tree is displayed in the shape space.

Definition at line 59 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

float dx

Forward distance in mm (negative means go backward).

Definition at line 29 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

float dy

Sideways distance in mm (positive to the left).

Definition at line 30 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

If true, the Pilot will execute the path it has planned; if false, it plans but does not execute.

Definition at line 61 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

float forwardSpeed

Translation speed in mm/sec for dx or dy.

Definition at line 32 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

Should return true if there are enough landmarks to localize.

Definition at line 42 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

MapBuilderRequest used to find landmarks.

Definition at line 41 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

Vector of landmarks to use for localization.

Definition at line 62 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

unsigned int maxRRTIterations

Maximum number of iterations for path planner RRT search.

Definition at line 60 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

Minimum tolerable distance to an obstacle (millimeters).

Definition at line 53 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

unsigned int requestID [private]

Definition at line 81 of file PilotRequest.h.

Used to construct a PilotEvent to notify the requesting node of the results of this Pilot operation.

Definition at line 74 of file PilotRequest.h.

Type of pilot request.

Definition at line 28 of file PilotRequest.h.

Referenced by PilotRequest::getRequestType(), and PilotRequest::operator=().

If true, terminate search and post a completion event.

Definition at line 45 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

MapBuilderRequest to be used for visual search.

Definition at line 44 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

Angle to rotate body to continue a visual search.

Definition at line 46 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

float strafeSpeed

Sideways translational speed used for setVelocity.

Definition at line 33 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

AngTwoPi targetHeading

Heading on which we want to arrive at the target.

Definition at line 49 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

Shape to walk to.

Definition at line 48 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

Lookout request for tracking objects while walking.

Definition at line 54 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

float turnSpeed

Rotational speed in radians/sec for da.

Definition at line 34 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

std::string walkParameters

Definition at line 35 of file PilotRequest.h.

Referenced by PilotRequest::operator=().

WaypointList* waypointList

Waypoint list for waypointWalk; contents will be copied by Pilot::executeRequest.

Definition at line 38 of file PilotRequest.h.

Referenced by PilotRequest::operator=().


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

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