#include <interfaces/HumanoidMotionInterface.h>
Inheritance diagram for fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage:
Public Member Functions | |
SetWalkArmsParamsMessage (const bool ini_arms_enabled, const float ini_shoulder_pitch_median, const float ini_shoulder_pitch_amplitude, const float ini_elbow_roll_median, const float ini_elbow_roll_amplitude) | |
Constructor with initial values. | |
SetWalkArmsParamsMessage () | |
Constructor. | |
~SetWalkArmsParamsMessage () | |
Destructor. | |
SetWalkArmsParamsMessage (const SetWalkArmsParamsMessage *m) | |
Copy constructor. | |
bool | is_arms_enabled () const |
Get arms_enabled value. | |
void | set_arms_enabled (const bool new_arms_enabled) |
Set arms_enabled value. | |
size_t | maxlenof_arms_enabled () const |
Get maximum length of arms_enabled value. | |
float | shoulder_pitch_median () const |
Get shoulder_pitch_median value. | |
void | set_shoulder_pitch_median (const float new_shoulder_pitch_median) |
Set shoulder_pitch_median value. | |
size_t | maxlenof_shoulder_pitch_median () const |
Get maximum length of shoulder_pitch_median value. | |
float | shoulder_pitch_amplitude () const |
Get shoulder_pitch_amplitude value. | |
void | set_shoulder_pitch_amplitude (const float new_shoulder_pitch_amplitude) |
Set shoulder_pitch_amplitude value. | |
size_t | maxlenof_shoulder_pitch_amplitude () const |
Get maximum length of shoulder_pitch_amplitude value. | |
float | elbow_roll_median () const |
Get elbow_roll_median value. | |
void | set_elbow_roll_median (const float new_elbow_roll_median) |
Set elbow_roll_median value. | |
size_t | maxlenof_elbow_roll_median () const |
Get maximum length of elbow_roll_median value. | |
float | elbow_roll_amplitude () const |
Get elbow_roll_amplitude value. | |
void | set_elbow_roll_amplitude (const float new_elbow_roll_amplitude) |
Set elbow_roll_amplitude value. | |
size_t | maxlenof_elbow_roll_amplitude () const |
Get maximum length of elbow_roll_amplitude value. | |
virtual Message * | clone () const |
Clone this message. | |
Classes | |
struct | SetWalkArmsParamsMessage_data_t |
Internal data storage, do NOT modify! |
Definition at line 218 of file HumanoidMotionInterface.h.
fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage::SetWalkArmsParamsMessage | ( | const bool | ini_arms_enabled, | |
const float | ini_shoulder_pitch_median, | |||
const float | ini_shoulder_pitch_amplitude, | |||
const float | ini_elbow_roll_median, | |||
const float | ini_elbow_roll_amplitude | |||
) |
Constructor with initial values.
ini_arms_enabled | initial value for arms_enabled | |
ini_shoulder_pitch_median | initial value for shoulder_pitch_median | |
ini_shoulder_pitch_amplitude | initial value for shoulder_pitch_amplitude | |
ini_elbow_roll_median | initial value for elbow_roll_median | |
ini_elbow_roll_amplitude | initial value for elbow_roll_amplitude |
Definition at line 1292 of file HumanoidMotionInterface.cpp.
References fawkes::Message::add_fieldinfo(), fawkes::Message::data_ptr, fawkes::Message::data_size, fawkes::Message::data_ts, fawkes::IFT_BOOL, and fawkes::IFT_FLOAT.
fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage::SetWalkArmsParamsMessage | ( | ) |
Constructor.
Definition at line 1311 of file HumanoidMotionInterface.cpp.
References fawkes::Message::add_fieldinfo(), fawkes::Message::data_ptr, fawkes::Message::data_size, fawkes::Message::data_ts, fawkes::IFT_BOOL, and fawkes::IFT_FLOAT.
fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage::~SetWalkArmsParamsMessage | ( | ) |
Destructor.
Definition at line 1326 of file HumanoidMotionInterface.cpp.
References fawkes::Message::data_ptr.
fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage::SetWalkArmsParamsMessage | ( | const SetWalkArmsParamsMessage * | m | ) |
Copy constructor.
m | message to copy from |
Definition at line 1334 of file HumanoidMotionInterface.cpp.
References fawkes::Message::data_ptr, fawkes::Message::data_size, and fawkes::Message::data_ts.
Message * fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage::clone | ( | ) | const [virtual] |
Clone this message.
Produces a message of the same type as this message and copies the data to the new message.
Reimplemented from fawkes::Message.
Definition at line 1520 of file HumanoidMotionInterface.cpp.
float fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage::elbow_roll_amplitude | ( | ) | const |
Get elbow_roll_amplitude value.
Amplitude of the elbow roll movement during walking.
Definition at line 1487 of file HumanoidMotionInterface.cpp.
float fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage::elbow_roll_median | ( | ) | const |
Get elbow_roll_median value.
Median in radians of the elbow roll during walking.
Definition at line 1453 of file HumanoidMotionInterface.cpp.
bool fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage::is_arms_enabled | ( | ) | const |
Get arms_enabled value.
If true the arms are controlled during walking for balancing.
Definition at line 1351 of file HumanoidMotionInterface.cpp.
size_t fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage::maxlenof_arms_enabled | ( | ) | const |
Get maximum length of arms_enabled value.
Definition at line 1361 of file HumanoidMotionInterface.cpp.
size_t fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage::maxlenof_elbow_roll_amplitude | ( | ) | const |
Get maximum length of elbow_roll_amplitude value.
Definition at line 1497 of file HumanoidMotionInterface.cpp.
size_t fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage::maxlenof_elbow_roll_median | ( | ) | const |
Get maximum length of elbow_roll_median value.
Definition at line 1463 of file HumanoidMotionInterface.cpp.
size_t fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage::maxlenof_shoulder_pitch_amplitude | ( | ) | const |
Get maximum length of shoulder_pitch_amplitude value.
Definition at line 1429 of file HumanoidMotionInterface.cpp.
size_t fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage::maxlenof_shoulder_pitch_median | ( | ) | const |
Get maximum length of shoulder_pitch_median value.
Definition at line 1395 of file HumanoidMotionInterface.cpp.
void fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage::set_arms_enabled | ( | const bool | new_arms_enabled | ) |
Set arms_enabled value.
If true the arms are controlled during walking for balancing.
new_arms_enabled | new arms_enabled value |
Definition at line 1373 of file HumanoidMotionInterface.cpp.
void fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage::set_elbow_roll_amplitude | ( | const float | new_elbow_roll_amplitude | ) |
Set elbow_roll_amplitude value.
Amplitude of the elbow roll movement during walking.
new_elbow_roll_amplitude | new elbow_roll_amplitude value |
Definition at line 1509 of file HumanoidMotionInterface.cpp.
void fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage::set_elbow_roll_median | ( | const float | new_elbow_roll_median | ) |
Set elbow_roll_median value.
Median in radians of the elbow roll during walking.
new_elbow_roll_median | new elbow_roll_median value |
Definition at line 1475 of file HumanoidMotionInterface.cpp.
void fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage::set_shoulder_pitch_amplitude | ( | const float | new_shoulder_pitch_amplitude | ) |
Set shoulder_pitch_amplitude value.
Amplitude of the shoulder pitch movement during walking.
new_shoulder_pitch_amplitude | new shoulder_pitch_amplitude value |
Definition at line 1441 of file HumanoidMotionInterface.cpp.
void fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage::set_shoulder_pitch_median | ( | const float | new_shoulder_pitch_median | ) |
Set shoulder_pitch_median value.
Median in radians of the shoulder pitch during walking.
new_shoulder_pitch_median | new shoulder_pitch_median value |
Definition at line 1407 of file HumanoidMotionInterface.cpp.
float fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage::shoulder_pitch_amplitude | ( | ) | const |
Get shoulder_pitch_amplitude value.
Amplitude of the shoulder pitch movement during walking.
Definition at line 1419 of file HumanoidMotionInterface.cpp.
float fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage::shoulder_pitch_median | ( | ) | const |
Get shoulder_pitch_median value.
Median in radians of the shoulder pitch during walking.
Definition at line 1385 of file HumanoidMotionInterface.cpp.