Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

GT2005BasicBehaviorTurn Class Reference

#include <GT2005SimpleBasicBehaviors.h>

Inheritance diagram for GT2005BasicBehaviorTurn:

Inheritance graph
[legend]
Collaboration diagram for GT2005BasicBehaviorTurn:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GT2005BasicBehaviorTurn (BehaviorControlInterfaces &interfaces, Xabsl2ErrorHandler &errorHandler)
virtual void execute ()
 Executes the basic behavior.


Private Member Functions

void Init ()

Private Attributes

OdometryData lastOdometry
double angle
double radian
double rotationAngle
double targetRotation
double param

Constructor & Destructor Documentation

GT2005BasicBehaviorTurn::GT2005BasicBehaviorTurn BehaviorControlInterfaces interfaces,
Xabsl2ErrorHandler errorHandler
[inline]
 

Definition at line 1013 of file GT2005SimpleBasicBehaviors.h.

References radian, and Xabsl2BasicBehavior::registerParameter().

Here is the call graph for this function:


Member Function Documentation

void GT2005BasicBehaviorTurn::execute  )  [virtual]
 

Executes the basic behavior.

Implements Xabsl2BasicBehavior.

Definition at line 1570 of file GT2005SimpleBasicBehaviors.cpp.

References fromDegrees(), Init(), MotionRequest::motionType, pi, Pose2D::rotation, slamPercept, targetRotation, MotionRequest::walk, WalkRequest::walkParams, and MotionRequest::walkRequest.

Here is the call graph for this function:

void GT2005BasicBehaviorTurn::Init  )  [private]
 

Definition at line 1553 of file GT2005SimpleBasicBehaviors.cpp.

References pi, radian, Pose2D::rotation, slamPercept, targetRotation, Pose2D::translation, WalkRequest::walkParams, MotionRequest::walkRequest, Vector2< double >::x, and Vector2< double >::y.

Referenced by execute().


Member Data Documentation

OdometryData GT2005BasicBehaviorTurn::lastOdometry [private]
 

Definition at line 1028 of file GT2005SimpleBasicBehaviors.h.

double GT2005BasicBehaviorTurn::angle [private]
 

Definition at line 1030 of file GT2005SimpleBasicBehaviors.h.

double GT2005BasicBehaviorTurn::radian [private]
 

Definition at line 1032 of file GT2005SimpleBasicBehaviors.h.

Referenced by GT2005BasicBehaviorTurn(), and Init().

double GT2005BasicBehaviorTurn::rotationAngle [private]
 

Definition at line 1034 of file GT2005SimpleBasicBehaviors.h.

double GT2005BasicBehaviorTurn::targetRotation [private]
 

Definition at line 1036 of file GT2005SimpleBasicBehaviors.h.

Referenced by execute(), and Init().

double GT2005BasicBehaviorTurn::param [private]
 

Definition at line 1038 of file GT2005SimpleBasicBehaviors.h.


The documentation for this class was generated from the following files:
Generated on Mon Mar 20 22:13:21 2006 for GT2005 by doxygen 1.3.6