BasicBehaviorWalk Class Reference

#include <CommonBasicBehaviors.h>

Inheritance diagram for BasicBehaviorWalk:

Xabsl2BasicBehavior BehaviorControlInterfaces Xabsl2NamedItem List of all members.

Public Member Functions

 BasicBehaviorWalk (const BehaviorControlInterfaces &interfaces, Xabsl2ErrorHandler &errorHandler)
virtual void execute ()

Private Attributes

double type
double speedX
double speedY
double rotationSpeed

Detailed Description

A Basic Behavior for walking
Author:
Matthias Jüngel

Martin Lötzsch

Max Risler

Definition at line 70 of file CommonBasicBehaviors.h.


Constructor & Destructor Documentation

BasicBehaviorWalk::BasicBehaviorWalk ( const BehaviorControlInterfaces interfaces,
Xabsl2ErrorHandler errorHandler 
) [inline]

Definition at line 78 of file CommonBasicBehaviors.h.

References Xabsl2BasicBehavior::registerParameter(), rotationSpeed, speedX, speedY, and type.


Member Function Documentation

void BasicBehaviorWalk::execute (  )  [virtual]

Executes the basic behavior.

Implements Xabsl2BasicBehavior.

Definition at line 34 of file CommonBasicBehaviors.cpp.

References fromDegrees(), BehaviorControlInterfaces::motionRequest, MotionRequest::motionType, WalkRequest::normal, WalkRequest::numOfWalkType, Pose2D::rotation, rotationSpeed, speedX, speedY, Pose2D::translation, type, MotionRequest::walk, WalkRequest::walkParams, MotionRequest::walkRequest, WalkRequest::walkType, Vector2< V >::x, and Vector2< V >::y.


Member Data Documentation

double BasicBehaviorWalk::rotationSpeed [private]

Parameter "walk.rotation-speed"

Definition at line 103 of file CommonBasicBehaviors.h.

Referenced by BasicBehaviorWalk(), and execute().

double BasicBehaviorWalk::speedX [private]

Parameter "walk.speed-x"

Definition at line 97 of file CommonBasicBehaviors.h.

Referenced by BasicBehaviorWalk(), and execute().

double BasicBehaviorWalk::speedY [private]

Parameter "walk.speed-y"

Definition at line 100 of file CommonBasicBehaviors.h.

Referenced by BasicBehaviorWalk(), and execute().

double BasicBehaviorWalk::type [private]

Parameter "walk.type"

Definition at line 94 of file CommonBasicBehaviors.h.

Referenced by BasicBehaviorWalk(), and execute().


The documentation for this class was generated from the following files:
Generated on Thu Dec 7 01:19:07 2006 for DT2005.panorama by  doxygen 1.4.7