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

GT2005BasicBehaviorTurnAroundPoint Class Reference

A Basic Behavior for going turning around a point on the field. More...

#include <GT2005SimpleBasicBehaviors.h>

Inheritance diagram for GT2005BasicBehaviorTurnAroundPoint:

Inheritance graph
[legend]
Collaboration diagram for GT2005BasicBehaviorTurnAroundPoint:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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


Protected Attributes

double x
 parameter "turn-around-point.x"

double y
 parameter "turn-around-point.y"

double radius
 parameter "turn-around-point.radius"

double leftRight
 parameter "go-to-point.left-right"

double forwardComponent
 parameter "go-to-point.forward-component"

WalkAccelerationRestrictor accelerationRestrictor
 Restricts the walk acceleration to maximum values.


Detailed Description

A Basic Behavior for going turning around a point on the field.

Author:
Jan Hoffmann

Definition at line 507 of file GT2005SimpleBasicBehaviors.h.


Constructor & Destructor Documentation

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

Definition at line 515 of file GT2005SimpleBasicBehaviors.h.

References forwardComponent, leftRight, point, and Xabsl2BasicBehavior::registerParameter().

Here is the call graph for this function:


Member Function Documentation

void GT2005BasicBehaviorTurnAroundPoint::execute  )  [virtual]
 

Executes the basic behavior.

Implements Xabsl2BasicBehavior.

Definition at line 550 of file GT2005SimpleBasicBehaviors.cpp.

References Geometry::angleTo(), Geometry::distanceTo(), forwardComponent, fromDegrees(), RobotPose::getPose(), leftRight, MotionRequest::motionType, pi, Range< T >::Range(), Pose2D::rotation, Pose2D::translation, WalkRequest::walkParams, MotionRequest::walkRequest, WalkRequest::walkType, Vector2< double >::x, Vector2< V >::x, Vector2< double >::y, and Vector2< V >::y.

Here is the call graph for this function:


Member Data Documentation

double GT2005BasicBehaviorTurnAroundPoint::x [protected]
 

parameter "turn-around-point.x"

Definition at line 533 of file GT2005SimpleBasicBehaviors.h.

double GT2005BasicBehaviorTurnAroundPoint::y [protected]
 

parameter "turn-around-point.y"

Definition at line 536 of file GT2005SimpleBasicBehaviors.h.

double GT2005BasicBehaviorTurnAroundPoint::radius [protected]
 

parameter "turn-around-point.radius"

Definition at line 539 of file GT2005SimpleBasicBehaviors.h.

double GT2005BasicBehaviorTurnAroundPoint::leftRight [protected]
 

parameter "go-to-point.left-right"

Definition at line 542 of file GT2005SimpleBasicBehaviors.h.

Referenced by execute(), and GT2005BasicBehaviorTurnAroundPoint().

double GT2005BasicBehaviorTurnAroundPoint::forwardComponent [protected]
 

parameter "go-to-point.forward-component"

Definition at line 545 of file GT2005SimpleBasicBehaviors.h.

Referenced by execute(), and GT2005BasicBehaviorTurnAroundPoint().

WalkAccelerationRestrictor GT2005BasicBehaviorTurnAroundPoint::accelerationRestrictor [protected]
 

Restricts the walk acceleration to maximum values.

Definition at line 548 of file GT2005SimpleBasicBehaviors.h.


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