YawPitchHeadMessage Fawkes BlackBoard Interface Message. More...
#include <interfaces/HumanoidMotionInterface.h>

Classes | |
| struct | YawPitchHeadMessage_data_t |
| Internal data storage, do NOT modify! | |
Public Member Functions | |
| YawPitchHeadMessage (const float ini_yaw, const float ini_pitch, const float ini_time_sec) | |
| Constructor with initial values. | |
| YawPitchHeadMessage () | |
| Constructor. | |
| ~YawPitchHeadMessage () | |
| Destructor. | |
| YawPitchHeadMessage (const YawPitchHeadMessage *m) | |
| Copy constructor. | |
| float | yaw () const |
| Get yaw value. | |
| void | set_yaw (const float new_yaw) |
| Set yaw value. | |
| size_t | maxlenof_yaw () const |
| Get maximum length of yaw value. | |
| float | pitch () const |
| Get pitch value. | |
| void | set_pitch (const float new_pitch) |
| Set pitch value. | |
| size_t | maxlenof_pitch () const |
| Get maximum length of pitch value. | |
| float | time_sec () const |
| Get time_sec value. | |
| void | set_time_sec (const float new_time_sec) |
| Set time_sec value. | |
| size_t | maxlenof_time_sec () const |
| Get maximum length of time_sec value. | |
| virtual Message * | clone () const |
| Clone this message. | |
YawPitchHeadMessage Fawkes BlackBoard Interface Message.
Definition at line 580 of file HumanoidMotionInterface.h.
| fawkes::HumanoidMotionInterface::YawPitchHeadMessage::YawPitchHeadMessage | ( | const float | ini_yaw, | |
| const float | ini_pitch, | |||
| const float | ini_time_sec | |||
| ) |
Constructor with initial values.
| ini_yaw | initial value for yaw | |
| ini_pitch | initial value for pitch | |
| ini_time_sec | initial value for time_sec |
Definition at line 2714 of file HumanoidMotionInterface.cpp.
References fawkes::Message::add_fieldinfo(), fawkes::Message::data_ptr, fawkes::Message::data_size, fawkes::Message::data_ts, and fawkes::IFT_FLOAT.
| fawkes::HumanoidMotionInterface::YawPitchHeadMessage::YawPitchHeadMessage | ( | ) |
Constructor.
Definition at line 2729 of file HumanoidMotionInterface.cpp.
References fawkes::Message::add_fieldinfo(), fawkes::Message::data_ptr, fawkes::Message::data_size, fawkes::Message::data_ts, and fawkes::IFT_FLOAT.
Referenced by clone().
| fawkes::HumanoidMotionInterface::YawPitchHeadMessage::~YawPitchHeadMessage | ( | ) |
Destructor.
Definition at line 2742 of file HumanoidMotionInterface.cpp.
References fawkes::Message::data_ptr.
| fawkes::HumanoidMotionInterface::YawPitchHeadMessage::YawPitchHeadMessage | ( | const YawPitchHeadMessage * | m | ) |
Copy constructor.
| m | message to copy from |
Definition at line 2750 of file HumanoidMotionInterface.cpp.
References fawkes::Message::data_ptr, fawkes::Message::data_size, and fawkes::Message::data_ts.
| Message * fawkes::HumanoidMotionInterface::YawPitchHeadMessage::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 2856 of file HumanoidMotionInterface.cpp.
References YawPitchHeadMessage().
| size_t fawkes::HumanoidMotionInterface::YawPitchHeadMessage::maxlenof_pitch | ( | ) | const |
Get maximum length of pitch value.
Definition at line 2805 of file HumanoidMotionInterface.cpp.
| size_t fawkes::HumanoidMotionInterface::YawPitchHeadMessage::maxlenof_time_sec | ( | ) | const |
Get maximum length of time_sec value.
Definition at line 2835 of file HumanoidMotionInterface.cpp.
| size_t fawkes::HumanoidMotionInterface::YawPitchHeadMessage::maxlenof_yaw | ( | ) | const |
Get maximum length of yaw value.
Definition at line 2775 of file HumanoidMotionInterface.cpp.
| float fawkes::HumanoidMotionInterface::YawPitchHeadMessage::pitch | ( | ) | const |
Get pitch value.
Desired pitch (vertical orientation).
Definition at line 2795 of file HumanoidMotionInterface.cpp.
| void fawkes::HumanoidMotionInterface::YawPitchHeadMessage::set_pitch | ( | const float | new_pitch | ) |
Set pitch value.
Desired pitch (vertical orientation).
| new_pitch | new pitch value |
Definition at line 2815 of file HumanoidMotionInterface.cpp.
| void fawkes::HumanoidMotionInterface::YawPitchHeadMessage::set_time_sec | ( | const float | new_time_sec | ) |
Set time_sec value.
Time in seconds when to reach the target.
| new_time_sec | new time_sec value |
Definition at line 2845 of file HumanoidMotionInterface.cpp.
| void fawkes::HumanoidMotionInterface::YawPitchHeadMessage::set_yaw | ( | const float | new_yaw | ) |
Set yaw value.
Desired yaw (horizontal orientation).
| new_yaw | new yaw value |
Definition at line 2785 of file HumanoidMotionInterface.cpp.
| float fawkes::HumanoidMotionInterface::YawPitchHeadMessage::time_sec | ( | ) | const |
Get time_sec value.
Time in seconds when to reach the target.
Definition at line 2825 of file HumanoidMotionInterface.cpp.
| float fawkes::HumanoidMotionInterface::YawPitchHeadMessage::yaw | ( | ) | const |
Get yaw value.
Desired yaw (horizontal orientation).
Definition at line 2765 of file HumanoidMotionInterface.cpp.
1.6.1