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

GT2004BasicBehaviorGoToBallWithoutTurning Class Reference

A Basic Behavior for clearing the ball. More...

#include <GT2004SimpleBasicBehaviors.h>

Inheritance diagram for GT2004BasicBehaviorGoToBallWithoutTurning:

Inheritance graph
[legend]
Collaboration diagram for GT2004BasicBehaviorGoToBallWithoutTurning:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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


Private Attributes

double distanceAtEnd
 parameter "go-to-ball.distance"

double maxSpeed
 parameter "go-to-ball.max-speed"

double maxSpeedY
 parameter "go-to-ball.max-speed.y"

WalkAccelerationRestrictor accelerationRestrictor
 Restricts the walk acceleration to maximum values.

double targetAngleToBall
 parameter "go-to-ball.target-angle-to-ball"

double yOffset
 parameter "go-to-ball.y-offset"

double walkType
 parameter "walk-type"

double maxTurnSpeed
 parameter "max-turn-speed"


Detailed Description

A Basic Behavior for clearing the ball.

Author:
Michael Spranger

Matthias Jüngel

Definition at line 86 of file GT2004SimpleBasicBehaviors.h.


Constructor & Destructor Documentation

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

Definition at line 94 of file GT2004SimpleBasicBehaviors.h.

References Xabsl2BasicBehavior::registerParameter().

Here is the call graph for this function:


Member Function Documentation

void GT2004BasicBehaviorGoToBallWithoutTurning::execute  )  [virtual]
 

Executes the basic behavior.

Implements Xabsl2BasicBehavior.

Definition at line 103 of file GT2004SimpleBasicBehaviors.cpp.

References Geometry::angleTo(), Geometry::distanceTo(), BallModel::getKnownPosition(), RobotPose::getPose(), MotionRequest::motionType, Vector2< V >::normalize(), Pose2D::rotation, Pose2D::translation, WalkRequest::walkParams, MotionRequest::walkRequest, WalkRequest::walkType, Vector2< V >::x, Vector2< double >::x, Vector2< V >::y, and Vector2< double >::y.

Here is the call graph for this function:


Member Data Documentation

double GT2004BasicBehaviorGoToBallWithoutTurning::distanceAtEnd [private]
 

parameter "go-to-ball.distance"

Definition at line 108 of file GT2004SimpleBasicBehaviors.h.

double GT2004BasicBehaviorGoToBallWithoutTurning::maxSpeed [private]
 

parameter "go-to-ball.max-speed"

Definition at line 111 of file GT2004SimpleBasicBehaviors.h.

double GT2004BasicBehaviorGoToBallWithoutTurning::maxSpeedY [private]
 

parameter "go-to-ball.max-speed.y"

Definition at line 114 of file GT2004SimpleBasicBehaviors.h.

WalkAccelerationRestrictor GT2004BasicBehaviorGoToBallWithoutTurning::accelerationRestrictor [private]
 

Restricts the walk acceleration to maximum values.

Definition at line 117 of file GT2004SimpleBasicBehaviors.h.

double GT2004BasicBehaviorGoToBallWithoutTurning::targetAngleToBall [private]
 

parameter "go-to-ball.target-angle-to-ball"

Definition at line 120 of file GT2004SimpleBasicBehaviors.h.

double GT2004BasicBehaviorGoToBallWithoutTurning::yOffset [private]
 

parameter "go-to-ball.y-offset"

Definition at line 123 of file GT2004SimpleBasicBehaviors.h.

double GT2004BasicBehaviorGoToBallWithoutTurning::walkType [private]
 

parameter "walk-type"

Definition at line 126 of file GT2004SimpleBasicBehaviors.h.

double GT2004BasicBehaviorGoToBallWithoutTurning::maxTurnSpeed [private]
 

parameter "max-turn-speed"

Definition at line 129 of file GT2004SimpleBasicBehaviors.h.


The documentation for this class was generated from the following files:
Generated on Thu Sep 23 20:06:52 2004 for GT2004 by doxygen 1.3.6