Fawkes API
Fawkes Development Version
|
NaoQi standup task. More...
#include "motion_standup_task.h"
Public Member Functions | |
NaoQiMotionStandupTask (AL::ALPtr< AL::ALMotionProxy > almotion, fawkes::HumanoidMotionInterface::StandupEnum from_pos, float accel_x, float accel_y, float accel_z) | |
Constructor. More... | |
virtual | ~NaoQiMotionStandupTask () |
Destructor. More... | |
virtual void | run () |
Run the standup. More... | |
NaoQi standup task.
This task can be used to make the robot standup ina non-blocking way. It will use (blocking) ALMotion calls to execute the move. Note that ALMotion should not be used otherwise.
Definition at line 32 of file motion_standup_task.h.
NaoQiMotionStandupTask::NaoQiMotionStandupTask | ( | AL::ALPtr< AL::ALMotionProxy > | almotion, |
fawkes::HumanoidMotionInterface::StandupEnum | from_pos, | ||
float | accel_x, | ||
float | accel_y, | ||
float | accel_z | ||
) |
Constructor.
almotion | ALMotion proxy |
from_pos | position from which to standup |
accel_x | current accelerometer value |
accel_y | current accelerometer value |
accel_z | current accelerometer value |
Definition at line 49 of file motion_standup_task.cpp.
|
virtual |
Destructor.
Definition at line 66 of file motion_standup_task.cpp.
|
virtual |
Run the standup.
Definition at line 269 of file motion_standup_task.cpp.
References fawkes::HumanoidMotionInterface::STANDUP_BACK, and fawkes::HumanoidMotionInterface::STANDUP_FRONT.