Fawkes API
Fawkes Development Version
|
WalkArcMessage Fawkes BlackBoard Interface Message. More...
#include <>>
Classes | |
struct | WalkArcMessage_data_t |
Internal data storage, do NOT modify! More... | |
Public Member Functions | |
WalkArcMessage (const float ini_angle, const float ini_radius) | |
Constructor with initial values. | |
WalkArcMessage () | |
Constructor. | |
~WalkArcMessage () | |
Destructor. | |
WalkArcMessage (const WalkArcMessage *m) | |
Copy constructor. | |
float | angle () const |
Get angle value. | |
void | set_angle (const float new_angle) |
Set angle value. | |
size_t | maxlenof_angle () const |
Get maximum length of angle value. | |
float | radius () const |
Get radius value. | |
void | set_radius (const float new_radius) |
Set radius value. | |
size_t | maxlenof_radius () const |
Get maximum length of radius value. | |
virtual Message * | clone () const |
Clone this message. |
WalkArcMessage Fawkes BlackBoard Interface Message.
fawkes::HumanoidMotionInterface::WalkArcMessage::WalkArcMessage | ( | const float | ini_angle, |
const float | ini_radius | ||
) |
Constructor with initial values.
ini_angle | initial value for angle |
ini_radius | initial value for radius |
Definition at line 502 of file HumanoidMotionInterface.cpp.
References fawkes::Message::data_size, fawkes::Message::data_ptr, fawkes::Message::data_ts, fawkes::HumanoidMotionInterface::WalkArcMessage::WalkArcMessage_data_t::angle, fawkes::HumanoidMotionInterface::WalkArcMessage::WalkArcMessage_data_t::radius, fawkes::Message::add_fieldinfo(), and fawkes::IFT_FLOAT.
fawkes::HumanoidMotionInterface::WalkArcMessage::WalkArcMessage | ( | ) |
Constructor.
Definition at line 515 of file HumanoidMotionInterface.cpp.
References fawkes::Message::data_size, fawkes::Message::data_ptr, fawkes::Message::data_ts, fawkes::Message::add_fieldinfo(), fawkes::IFT_FLOAT, fawkes::HumanoidMotionInterface::WalkArcMessage::WalkArcMessage_data_t::angle, and fawkes::HumanoidMotionInterface::WalkArcMessage::WalkArcMessage_data_t::radius.
fawkes::HumanoidMotionInterface::WalkArcMessage::~WalkArcMessage | ( | ) |
Destructor.
Definition at line 527 of file HumanoidMotionInterface.cpp.
References fawkes::Interface::data_ptr.
fawkes::HumanoidMotionInterface::WalkArcMessage::WalkArcMessage | ( | const WalkArcMessage * | m | ) |
Copy constructor.
m | message to copy from |
Definition at line 535 of file HumanoidMotionInterface.cpp.
References fawkes::Message::data_size, fawkes::Message::data_ptr, and fawkes::Message::data_ts.
float fawkes::HumanoidMotionInterface::WalkArcMessage::angle | ( | ) | const |
Get angle value.
Angle in radians to turn over the way.
Definition at line 550 of file HumanoidMotionInterface.cpp.
Message * fawkes::HumanoidMotionInterface::WalkArcMessage::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 611 of file HumanoidMotionInterface.cpp.
size_t fawkes::HumanoidMotionInterface::WalkArcMessage::maxlenof_angle | ( | ) | const |
Get maximum length of angle value.
Definition at line 560 of file HumanoidMotionInterface.cpp.
size_t fawkes::HumanoidMotionInterface::WalkArcMessage::maxlenof_radius | ( | ) | const |
Get maximum length of radius value.
Definition at line 590 of file HumanoidMotionInterface.cpp.
float fawkes::HumanoidMotionInterface::WalkArcMessage::radius | ( | ) | const |
Get radius value.
Radius in m of the circle in m.
Definition at line 580 of file HumanoidMotionInterface.cpp.
void fawkes::HumanoidMotionInterface::WalkArcMessage::set_angle | ( | const float | new_angle | ) |
Set angle value.
Angle in radians to turn over the way.
new_angle | new angle value |
Definition at line 570 of file HumanoidMotionInterface.cpp.
void fawkes::HumanoidMotionInterface::WalkArcMessage::set_radius | ( | const float | new_radius | ) |
Set radius value.
Radius in m of the circle in m.
new_radius | new radius value |
Definition at line 600 of file HumanoidMotionInterface.cpp.