#include <CommonBasicBehaviors.h>
Inheritance diagram for BasicBehaviorWalk:
Public Member Functions | |
BasicBehaviorWalk (const BehaviorControlInterfaces &interfaces, Xabsl2ErrorHandler &errorHandler) | |
virtual void | execute () |
Private Attributes | |
double | type |
double | speedX |
double | speedY |
double | rotationSpeed |
Martin Lötzsch
Max Risler
Definition at line 70 of file CommonBasicBehaviors.h.
BasicBehaviorWalk::BasicBehaviorWalk | ( | const BehaviorControlInterfaces & | interfaces, | |
Xabsl2ErrorHandler & | errorHandler | |||
) | [inline] |
Definition at line 78 of file CommonBasicBehaviors.h.
References Xabsl2BasicBehavior::registerParameter(), rotationSpeed, speedX, speedY, and type.
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.
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().