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

GT2005BasicBehaviorGoToPointFast Class Reference

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

#include <GT2005SimpleBasicBehaviors.h>

Inheritance diagram for GT2005BasicBehaviorGoToPointFast:

Inheritance graph
[legend]
Collaboration diagram for GT2005BasicBehaviorGoToPointFast:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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


Protected Attributes

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

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

double destinationAngle
 parameter "go-to-point.destination-angle"

double distanceRemain
 parameter "distance-remain"

double angleRemain
 parameter "angle-remain"

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

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

double walkType
 parameter "walk-type"


Detailed Description

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

Author:
Uwe Düffert

Martin Lötzsch

Definition at line 381 of file GT2005SimpleBasicBehaviors.h.


Constructor & Destructor Documentation

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

Definition at line 389 of file GT2005SimpleBasicBehaviors.h.

References point, and Xabsl2BasicBehavior::registerParameter().

Here is the call graph for this function:


Member Function Documentation

void GT2005BasicBehaviorGoToPointFast::execute  )  [virtual]
 

Executes the basic behavior.

Implements Xabsl2BasicBehavior.

Definition at line 1014 of file GT2005SimpleBasicBehaviors.cpp.

References Geometry::angleTo(), Geometry::distanceTo(), fromDegrees(), max, min, MotionRequest::motionType, normalize(), Pose2D::rotation, toDegrees(), 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 GT2005BasicBehaviorGoToPointFast::x [protected]
 

parameter "go-to-point.x"

Definition at line 409 of file GT2005SimpleBasicBehaviors.h.

double GT2005BasicBehaviorGoToPointFast::y [protected]
 

parameter "go-to-point.y"

Definition at line 412 of file GT2005SimpleBasicBehaviors.h.

double GT2005BasicBehaviorGoToPointFast::destinationAngle [protected]
 

parameter "go-to-point.destination-angle"

Definition at line 415 of file GT2005SimpleBasicBehaviors.h.

double GT2005BasicBehaviorGoToPointFast::distanceRemain [protected]
 

parameter "distance-remain"

Definition at line 418 of file GT2005SimpleBasicBehaviors.h.

double GT2005BasicBehaviorGoToPointFast::angleRemain [protected]
 

parameter "angle-remain"

Definition at line 421 of file GT2005SimpleBasicBehaviors.h.

double GT2005BasicBehaviorGoToPointFast::maxSpeed [protected]
 

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

Definition at line 424 of file GT2005SimpleBasicBehaviors.h.

double GT2005BasicBehaviorGoToPointFast::maxSpeedY [protected]
 

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

Definition at line 427 of file GT2005SimpleBasicBehaviors.h.

double GT2005BasicBehaviorGoToPointFast::walkType [protected]
 

parameter "walk-type"

Definition at line 430 of file GT2005SimpleBasicBehaviors.h.


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