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

GT2004BasicBehaviorGoForwardToPoint Class Reference

A Basic Behavior for going to a point on the field facing forward. More...

#include <GT2004SimpleBasicBehaviors.h>

Inheritance diagram for GT2004BasicBehaviorGoForwardToPoint:

Inheritance graph
[legend]
Collaboration diagram for GT2004BasicBehaviorGoForwardToPoint:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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


Protected Attributes

double x
 parameter "go-forward-to-point.x"

double y
 parameter "go-forward-to-point.y"

double maxSpeed
 parameter "go-forward-to-point.max-speed"

WalkAccelerationRestrictor accelerationRestrictor
 Restricts the walk acceleration to maximum values.


Detailed Description

A Basic Behavior for going to a point on the field facing forward.

Author:
Uwe Düffert

Martin Lötzsch

Definition at line 338 of file GT2004SimpleBasicBehaviors.h.


Constructor & Destructor Documentation

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

Definition at line 346 of file GT2004SimpleBasicBehaviors.h.

References point, and Xabsl2BasicBehavior::registerParameter().

Here is the call graph for this function:


Member Function Documentation

void GT2004BasicBehaviorGoForwardToPoint::execute  )  [virtual]
 

Executes the basic behavior.

Implements Xabsl2BasicBehavior.

Definition at line 346 of file GT2004SimpleBasicBehaviors.cpp.

References Geometry::angleTo(), fromDegrees(), MotionRequest::motionType, WalkAccelerationRestrictor::restrictAccelerations(), Pose2D::rotation, WalkAccelerationRestrictor::saveLastWalkParameters(), Pose2D::translation, WalkRequest::walkParams, MotionRequest::walkRequest, WalkRequest::walkType, Vector2< double >::x, and Vector2< double >::y.

Here is the call graph for this function:


Member Data Documentation

double GT2004BasicBehaviorGoForwardToPoint::x [protected]
 

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

Definition at line 362 of file GT2004SimpleBasicBehaviors.h.

double GT2004BasicBehaviorGoForwardToPoint::y [protected]
 

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

Definition at line 365 of file GT2004SimpleBasicBehaviors.h.

double GT2004BasicBehaviorGoForwardToPoint::maxSpeed [protected]
 

parameter "go-forward-to-point.max-speed"

Definition at line 368 of file GT2004SimpleBasicBehaviors.h.

WalkAccelerationRestrictor GT2004BasicBehaviorGoForwardToPoint::accelerationRestrictor [protected]
 

Restricts the walk acceleration to maximum values.

Definition at line 371 of file GT2004SimpleBasicBehaviors.h.


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