VectorMover Class Reference

Inheritance diagram for VectorMover:

VectorMoverTransport Capability List of all members.

Detailed Description

The VectorMover class is a wrapper around VectorMoverTransport.

The VectorMoverTransport class should be used to implement the actual navigator code, but this is a more convenient class for actually controlling a navigator module. Note that move commands, while they will be queued as soon as they are called, may not be sent until the next runUpdate() call.

Definition at line 42 of file VectorMover.H.

Public Member Functions

 VectorMover (const std::string &streamname)
 VectorMover (const ConnectionStrategy &strategy, const std::string &gblName)
 VectorMover (const std::string &streamname, const std::string &gblName)
 ~VectorMover ()
void stop ()
void moveToPoint (Point &goal)
void moveToPoint (const double &x, const double &y)
void moveToPose (Pose &goal)
void moveToPose (const double &x, const double &y, const double &theta)
void rotateToAngle (const double &theta)
void moveToRelativePoint (Point &goal)
void moveToRelativePoint (const double &x, const double &y)
void moveToRelativePose (Pose &goal)
void moveToRelativePose (const double &x, const double &y, const double &theta)
void rotateToRelativeAngle (const double &theta)
void translateFixedDistance (const double &distance)


Constructor & Destructor Documentation

VectorMover ( const std::string &  streamname  )  [inline, explicit]

Definition at line 45 of file VectorMover.H.

VectorMover ( const ConnectionStrategy strategy,
const std::string &  gblName 
) [inline]

Definition at line 48 of file VectorMover.H.

VectorMover ( const std::string &  streamname,
const std::string &  gblName 
) [inline]

Definition at line 51 of file VectorMover.H.

~VectorMover (  )  [inline]

Definition at line 54 of file VectorMover.H.


Member Function Documentation

void stop (  ) 

Definition at line 33 of file VectorMover.cpp.

References VectorMoverTransportInfoStruct::absolute, VectorMoverTransportInfoStruct::brake, VectorMoverTransportInfoStruct::goalHasLocation, VectorMoverTransportInfoStruct::goalHasTheta, VectorMoverTransportInfoStruct::goalPose, Capability::publishRequest(), VectorMoverTransport::requests, and Writable::setValue().

Referenced by main().

void moveToPoint ( Point goal  ) 

Definition at line 45 of file VectorMover.cpp.

References VectorMoverTransportInfoStruct::absolute, VectorMoverTransportInfoStruct::brake, VectorMoverTransportInfoStruct::goalHasLocation, VectorMoverTransportInfoStruct::goalHasTheta, VectorMoverTransportInfoStruct::goalPose, Capability::publishRequest(), VectorMoverTransport::requests, Writable::setValue(), Point::x(), and Point::y().

void moveToPoint ( const double &  x,
const double &  y 
)

Definition at line 57 of file VectorMover.cpp.

References VectorMoverTransportInfoStruct::absolute, VectorMoverTransportInfoStruct::brake, VectorMoverTransportInfoStruct::goalHasLocation, VectorMoverTransportInfoStruct::goalHasTheta, VectorMoverTransportInfoStruct::goalPose, Capability::publishRequest(), VectorMoverTransport::requests, and Writable::setValue().

void moveToPose ( Pose goal  ) 

Definition at line 69 of file VectorMover.cpp.

References VectorMoverTransportInfoStruct::absolute, VectorMoverTransportInfoStruct::brake, VectorMoverTransportInfoStruct::goalHasLocation, VectorMoverTransportInfoStruct::goalHasTheta, VectorMoverTransportInfoStruct::goalPose, Capability::publishRequest(), VectorMoverTransport::requests, and Writable::setValue().

void moveToPose ( const double &  x,
const double &  y,
const double &  theta 
)

Definition at line 79 of file VectorMover.cpp.

References VectorMoverTransportInfoStruct::absolute, VectorMoverTransportInfoStruct::brake, VectorMoverTransportInfoStruct::goalHasLocation, VectorMoverTransportInfoStruct::goalHasTheta, VectorMoverTransportInfoStruct::goalPose, Capability::publishRequest(), VectorMoverTransport::requests, and Writable::setValue().

void rotateToAngle ( const double &  theta  ) 

Definition at line 91 of file VectorMover.cpp.

References VectorMoverTransportInfoStruct::absolute, VectorMoverTransportInfoStruct::brake, VectorMoverTransportInfoStruct::goalHasLocation, VectorMoverTransportInfoStruct::goalHasTheta, VectorMoverTransportInfoStruct::goalPose, Capability::publishRequest(), VectorMoverTransport::requests, and Writable::setValue().

Referenced by main().

void moveToRelativePoint ( Point goal  ) 

Definition at line 103 of file VectorMover.cpp.

References VectorMoverTransportInfoStruct::absolute, VectorMoverTransportInfoStruct::brake, VectorMoverTransportInfoStruct::goalHasLocation, VectorMoverTransportInfoStruct::goalHasTheta, VectorMoverTransportInfoStruct::goalPose, Capability::publishRequest(), VectorMoverTransport::requests, Writable::setValue(), Point::x(), and Point::y().

Referenced by main().

void moveToRelativePoint ( const double &  x,
const double &  y 
)

Definition at line 115 of file VectorMover.cpp.

References VectorMoverTransportInfoStruct::absolute, VectorMoverTransportInfoStruct::brake, VectorMoverTransportInfoStruct::goalHasLocation, VectorMoverTransportInfoStruct::goalHasTheta, VectorMoverTransportInfoStruct::goalPose, Capability::publishRequest(), VectorMoverTransport::requests, and Writable::setValue().

void moveToRelativePose ( Pose goal  ) 

Definition at line 127 of file VectorMover.cpp.

References VectorMoverTransportInfoStruct::absolute, VectorMoverTransportInfoStruct::brake, VectorMoverTransportInfoStruct::goalHasLocation, VectorMoverTransportInfoStruct::goalHasTheta, VectorMoverTransportInfoStruct::goalPose, Capability::publishRequest(), VectorMoverTransport::requests, and Writable::setValue().

Referenced by main().

void moveToRelativePose ( const double &  x,
const double &  y,
const double &  theta 
)

Definition at line 137 of file VectorMover.cpp.

References VectorMoverTransportInfoStruct::absolute, VectorMoverTransportInfoStruct::brake, VectorMoverTransportInfoStruct::goalHasLocation, VectorMoverTransportInfoStruct::goalHasTheta, VectorMoverTransportInfoStruct::goalPose, Capability::publishRequest(), VectorMoverTransport::requests, and Writable::setValue().

void rotateToRelativeAngle ( const double &  theta  ) 

Definition at line 149 of file VectorMover.cpp.

References VectorMoverTransportInfoStruct::absolute, VectorMoverTransportInfoStruct::brake, VectorMoverTransportInfoStruct::goalHasLocation, VectorMoverTransportInfoStruct::goalHasTheta, VectorMoverTransportInfoStruct::goalPose, Capability::publishRequest(), VectorMoverTransport::requests, and Writable::setValue().

void translateFixedDistance ( const double &  distance  ) 

Definition at line 162 of file VectorMover.cpp.

References VectorMoverTransportInfoStruct::absolute, VectorMoverTransportInfoStruct::brake, VectorMoverTransportInfoStruct::goalHasLocation, VectorMoverTransportInfoStruct::goalHasTheta, VectorMoverTransportInfoStruct::goalPose, Capability::publishRequest(), VectorMoverTransport::requests, and Writable::setValue().


The documentation for this class was generated from the following files:
Generated on Thu Feb 1 15:31:56 2007 for WURDE by  doxygen 1.5.1