Fawkes API  Fawkes Development Version
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
NaoQiMotionKickTask Class Reference

NaoQi kick task. More...

#include "motion_kick_task.h"

List of all members.

Public Member Functions

 NaoQiMotionKickTask (AL::ALPtr< AL::ALMotionProxy > almotion, fawkes::HumanoidMotionInterface::LegEnum leg)
 Constructor.
virtual ~NaoQiMotionKickTask ()
 Destructor.
virtual void exitTask ()
 Stop the current kick task.
virtual void run ()
 Run the kick.

Detailed Description

NaoQi kick task.

This task can be used to make the robot kick in a non-blocking way. It will use (blocking) ALMotion calls to execute the move. Note that ALMotion should not be used otherwise while kicking.

Author:
Tim Niemueller

Definition at line 32 of file motion_kick_task.h.


Constructor & Destructor Documentation

NaoQiMotionKickTask::NaoQiMotionKickTask ( AL::ALPtr< AL::ALMotionProxy >  almotion,
fawkes::HumanoidMotionInterface::LegEnum  leg 
)

Constructor.

Parameters:
almotionALMotion proxy
legleg to kick with

Definition at line 49 of file motion_kick_task.cpp.

NaoQiMotionKickTask::~NaoQiMotionKickTask ( )
virtual

Destructor.

Definition at line 62 of file motion_kick_task.cpp.


Member Function Documentation

void NaoQiMotionKickTask::exitTask ( )
virtual

Stop the current kick task.

Stops the current motion and posts a goto for the start position. This is not stable from all configurations but seems to suffices most of the time.

Definition at line 140 of file motion_kick_task.cpp.

void NaoQiMotionKickTask::run ( )
virtual

The documentation for this class was generated from the following files: