#include <GT2004SimpleBasicBehaviors.h>
Inheritance diagram for GT2004BasicBehaviorGoToBall:
Public Member Functions | |
GT2004BasicBehaviorGoToBall (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" |
Martin Lötzsch
Jan Hoffmann
Definition at line 29 of file GT2004SimpleBasicBehaviors.h.
|
Definition at line 37 of file GT2004SimpleBasicBehaviors.h. References distanceAtEnd, maxSpeedY, maxTurnSpeed, Xabsl2BasicBehavior::registerParameter(), targetAngleToBall, and yOffset. |
Here is the call graph for this function:
|
Executes the basic behavior.
Implements Xabsl2BasicBehavior. Definition at line 25 of file GT2004SimpleBasicBehaviors.cpp. References Geometry::angleTo(), Geometry::distanceTo(), fromDegrees(), BallModel::getKnownPosition(), RobotPose::getPose(), max, maxSpeedY, maxTurnSpeed, min, MotionRequest::motionType, Vector2< V >::normalize(), pi, Pose2D::rotation, targetAngleToBall, Pose2D::translation, WalkRequest::walkParams, MotionRequest::walkRequest, WalkRequest::walkType, Vector2< V >::x, Vector2< double >::x, Vector2< V >::y, Vector2< double >::y, and yOffset. |
Here is the call graph for this function:
|
parameter "go-to-ball.distance"
Definition at line 57 of file GT2004SimpleBasicBehaviors.h. Referenced by GT2004BasicBehaviorGoToBall(). |
|
parameter "go-to-ball.max-speed"
Definition at line 60 of file GT2004SimpleBasicBehaviors.h. |
|
parameter "go-to-ball.max-speed.y"
Definition at line 63 of file GT2004SimpleBasicBehaviors.h. Referenced by execute(), and GT2004BasicBehaviorGoToBall(). |
|
Restricts the walk acceleration to maximum values.
Definition at line 66 of file GT2004SimpleBasicBehaviors.h. |
|
parameter "go-to-ball.target-angle-to-ball"
Definition at line 69 of file GT2004SimpleBasicBehaviors.h. Referenced by execute(), and GT2004BasicBehaviorGoToBall(). |
|
parameter "go-to-ball.y-offset"
Definition at line 72 of file GT2004SimpleBasicBehaviors.h. Referenced by execute(), and GT2004BasicBehaviorGoToBall(). |
|
parameter "walk-type"
Definition at line 75 of file GT2004SimpleBasicBehaviors.h. |
|
parameter "max-turn-speed"
Definition at line 78 of file GT2004SimpleBasicBehaviors.h. Referenced by execute(), and GT2004BasicBehaviorGoToBall(). |