24 #include <interfaces/NaoJointStiffnessInterface.h>
26 #include <core/exceptions/software.h>
46 NaoJointStiffnessInterface::NaoJointStiffnessInterface() : Interface()
48 data_size =
sizeof(NaoJointStiffnessInterface_data_t);
49 data_ptr = malloc(data_size);
50 data = (NaoJointStiffnessInterface_data_t *)data_ptr;
51 data_ts = (interface_data_ts_t *)data_ptr;
52 memset(data_ptr, 0, data_size);
53 add_fieldinfo(IFT_FLOAT,
"head_yaw", 1, &data->head_yaw);
54 add_fieldinfo(IFT_FLOAT,
"head_pitch", 1, &data->head_pitch);
55 add_fieldinfo(IFT_FLOAT,
"l_shoulder_pitch", 1, &data->l_shoulder_pitch);
56 add_fieldinfo(IFT_FLOAT,
"l_shoulder_roll", 1, &data->l_shoulder_roll);
57 add_fieldinfo(IFT_FLOAT,
"l_elbow_yaw", 1, &data->l_elbow_yaw);
58 add_fieldinfo(IFT_FLOAT,
"l_elbow_roll", 1, &data->l_elbow_roll);
59 add_fieldinfo(IFT_FLOAT,
"l_wrist_yaw", 1, &data->l_wrist_yaw);
60 add_fieldinfo(IFT_FLOAT,
"l_hand", 1, &data->l_hand);
61 add_fieldinfo(IFT_FLOAT,
"l_hip_yaw_pitch", 1, &data->l_hip_yaw_pitch);
62 add_fieldinfo(IFT_FLOAT,
"l_hip_roll", 1, &data->l_hip_roll);
63 add_fieldinfo(IFT_FLOAT,
"l_hip_pitch", 1, &data->l_hip_pitch);
64 add_fieldinfo(IFT_FLOAT,
"l_knee_pitch", 1, &data->l_knee_pitch);
65 add_fieldinfo(IFT_FLOAT,
"l_ankle_pitch", 1, &data->l_ankle_pitch);
66 add_fieldinfo(IFT_FLOAT,
"l_ankle_roll", 1, &data->l_ankle_roll);
67 add_fieldinfo(IFT_FLOAT,
"r_shoulder_pitch", 1, &data->r_shoulder_pitch);
68 add_fieldinfo(IFT_FLOAT,
"r_shoulder_roll", 1, &data->r_shoulder_roll);
69 add_fieldinfo(IFT_FLOAT,
"r_elbow_yaw", 1, &data->r_elbow_yaw);
70 add_fieldinfo(IFT_FLOAT,
"r_elbow_roll", 1, &data->r_elbow_roll);
71 add_fieldinfo(IFT_FLOAT,
"r_wrist_yaw", 1, &data->r_wrist_yaw);
72 add_fieldinfo(IFT_FLOAT,
"r_hand", 1, &data->r_hand);
73 add_fieldinfo(IFT_FLOAT,
"r_hip_yaw_pitch", 1, &data->r_hip_yaw_pitch);
74 add_fieldinfo(IFT_FLOAT,
"r_hip_roll", 1, &data->r_hip_roll);
75 add_fieldinfo(IFT_FLOAT,
"r_hip_pitch", 1, &data->r_hip_pitch);
76 add_fieldinfo(IFT_FLOAT,
"r_knee_pitch", 1, &data->r_knee_pitch);
77 add_fieldinfo(IFT_FLOAT,
"r_ankle_pitch", 1, &data->r_ankle_pitch);
78 add_fieldinfo(IFT_FLOAT,
"r_ankle_roll", 1, &data->r_ankle_roll);
79 add_fieldinfo(IFT_FLOAT,
"minimum", 1, &data->minimum);
80 add_messageinfo(
"SetStiffnessMessage");
81 add_messageinfo(
"SetBodyStiffnessMessage");
82 add_messageinfo(
"SetStiffnessesMessage");
83 unsigned char tmp_hash[] = {0x29, 0x35, 0x74, 0x2f, 0x4e, 0x93, 0x53, 0xc4, 0x28, 0x56, 0xc8, 0x4a, 0x66, 0x81, 0xd6, 0x6d};
88 NaoJointStiffnessInterface::~NaoJointStiffnessInterface()
98 NaoJointStiffnessInterface::head_yaw()
const
100 return data->head_yaw;
108 NaoJointStiffnessInterface::maxlenof_head_yaw()
const
118 NaoJointStiffnessInterface::set_head_yaw(
const float new_head_yaw)
120 set_field(data->head_yaw, new_head_yaw);
128 NaoJointStiffnessInterface::head_pitch()
const
130 return data->head_pitch;
138 NaoJointStiffnessInterface::maxlenof_head_pitch()
const
148 NaoJointStiffnessInterface::set_head_pitch(
const float new_head_pitch)
150 set_field(data->head_pitch, new_head_pitch);
158 NaoJointStiffnessInterface::l_shoulder_pitch()
const
160 return data->l_shoulder_pitch;
168 NaoJointStiffnessInterface::maxlenof_l_shoulder_pitch()
const
178 NaoJointStiffnessInterface::set_l_shoulder_pitch(
const float new_l_shoulder_pitch)
180 set_field(data->l_shoulder_pitch, new_l_shoulder_pitch);
188 NaoJointStiffnessInterface::l_shoulder_roll()
const
190 return data->l_shoulder_roll;
198 NaoJointStiffnessInterface::maxlenof_l_shoulder_roll()
const
208 NaoJointStiffnessInterface::set_l_shoulder_roll(
const float new_l_shoulder_roll)
210 set_field(data->l_shoulder_roll, new_l_shoulder_roll);
218 NaoJointStiffnessInterface::l_elbow_yaw()
const
220 return data->l_elbow_yaw;
228 NaoJointStiffnessInterface::maxlenof_l_elbow_yaw()
const
238 NaoJointStiffnessInterface::set_l_elbow_yaw(
const float new_l_elbow_yaw)
240 set_field(data->l_elbow_yaw, new_l_elbow_yaw);
248 NaoJointStiffnessInterface::l_elbow_roll()
const
250 return data->l_elbow_roll;
258 NaoJointStiffnessInterface::maxlenof_l_elbow_roll()
const
268 NaoJointStiffnessInterface::set_l_elbow_roll(
const float new_l_elbow_roll)
270 set_field(data->l_elbow_roll, new_l_elbow_roll);
278 NaoJointStiffnessInterface::l_wrist_yaw()
const
280 return data->l_wrist_yaw;
288 NaoJointStiffnessInterface::maxlenof_l_wrist_yaw()
const
298 NaoJointStiffnessInterface::set_l_wrist_yaw(
const float new_l_wrist_yaw)
300 set_field(data->l_wrist_yaw, new_l_wrist_yaw);
308 NaoJointStiffnessInterface::l_hand()
const
318 NaoJointStiffnessInterface::maxlenof_l_hand()
const
328 NaoJointStiffnessInterface::set_l_hand(
const float new_l_hand)
330 set_field(data->l_hand, new_l_hand);
338 NaoJointStiffnessInterface::l_hip_yaw_pitch()
const
340 return data->l_hip_yaw_pitch;
348 NaoJointStiffnessInterface::maxlenof_l_hip_yaw_pitch()
const
358 NaoJointStiffnessInterface::set_l_hip_yaw_pitch(
const float new_l_hip_yaw_pitch)
360 set_field(data->l_hip_yaw_pitch, new_l_hip_yaw_pitch);
368 NaoJointStiffnessInterface::l_hip_roll()
const
370 return data->l_hip_roll;
378 NaoJointStiffnessInterface::maxlenof_l_hip_roll()
const
388 NaoJointStiffnessInterface::set_l_hip_roll(
const float new_l_hip_roll)
390 set_field(data->l_hip_roll, new_l_hip_roll);
398 NaoJointStiffnessInterface::l_hip_pitch()
const
400 return data->l_hip_pitch;
408 NaoJointStiffnessInterface::maxlenof_l_hip_pitch()
const
418 NaoJointStiffnessInterface::set_l_hip_pitch(
const float new_l_hip_pitch)
420 set_field(data->l_hip_pitch, new_l_hip_pitch);
428 NaoJointStiffnessInterface::l_knee_pitch()
const
430 return data->l_knee_pitch;
438 NaoJointStiffnessInterface::maxlenof_l_knee_pitch()
const
448 NaoJointStiffnessInterface::set_l_knee_pitch(
const float new_l_knee_pitch)
450 set_field(data->l_knee_pitch, new_l_knee_pitch);
458 NaoJointStiffnessInterface::l_ankle_pitch()
const
460 return data->l_ankle_pitch;
468 NaoJointStiffnessInterface::maxlenof_l_ankle_pitch()
const
478 NaoJointStiffnessInterface::set_l_ankle_pitch(
const float new_l_ankle_pitch)
480 set_field(data->l_ankle_pitch, new_l_ankle_pitch);
488 NaoJointStiffnessInterface::l_ankle_roll()
const
490 return data->l_ankle_roll;
498 NaoJointStiffnessInterface::maxlenof_l_ankle_roll()
const
508 NaoJointStiffnessInterface::set_l_ankle_roll(
const float new_l_ankle_roll)
510 set_field(data->l_ankle_roll, new_l_ankle_roll);
518 NaoJointStiffnessInterface::r_shoulder_pitch()
const
520 return data->r_shoulder_pitch;
528 NaoJointStiffnessInterface::maxlenof_r_shoulder_pitch()
const
538 NaoJointStiffnessInterface::set_r_shoulder_pitch(
const float new_r_shoulder_pitch)
540 set_field(data->r_shoulder_pitch, new_r_shoulder_pitch);
548 NaoJointStiffnessInterface::r_shoulder_roll()
const
550 return data->r_shoulder_roll;
558 NaoJointStiffnessInterface::maxlenof_r_shoulder_roll()
const
568 NaoJointStiffnessInterface::set_r_shoulder_roll(
const float new_r_shoulder_roll)
570 set_field(data->r_shoulder_roll, new_r_shoulder_roll);
578 NaoJointStiffnessInterface::r_elbow_yaw()
const
580 return data->r_elbow_yaw;
588 NaoJointStiffnessInterface::maxlenof_r_elbow_yaw()
const
598 NaoJointStiffnessInterface::set_r_elbow_yaw(
const float new_r_elbow_yaw)
600 set_field(data->r_elbow_yaw, new_r_elbow_yaw);
608 NaoJointStiffnessInterface::r_elbow_roll()
const
610 return data->r_elbow_roll;
618 NaoJointStiffnessInterface::maxlenof_r_elbow_roll()
const
628 NaoJointStiffnessInterface::set_r_elbow_roll(
const float new_r_elbow_roll)
630 set_field(data->r_elbow_roll, new_r_elbow_roll);
638 NaoJointStiffnessInterface::r_wrist_yaw()
const
640 return data->r_wrist_yaw;
648 NaoJointStiffnessInterface::maxlenof_r_wrist_yaw()
const
658 NaoJointStiffnessInterface::set_r_wrist_yaw(
const float new_r_wrist_yaw)
660 set_field(data->r_wrist_yaw, new_r_wrist_yaw);
668 NaoJointStiffnessInterface::r_hand()
const
678 NaoJointStiffnessInterface::maxlenof_r_hand()
const
688 NaoJointStiffnessInterface::set_r_hand(
const float new_r_hand)
690 set_field(data->r_hand, new_r_hand);
698 NaoJointStiffnessInterface::r_hip_yaw_pitch()
const
700 return data->r_hip_yaw_pitch;
708 NaoJointStiffnessInterface::maxlenof_r_hip_yaw_pitch()
const
718 NaoJointStiffnessInterface::set_r_hip_yaw_pitch(
const float new_r_hip_yaw_pitch)
720 set_field(data->r_hip_yaw_pitch, new_r_hip_yaw_pitch);
728 NaoJointStiffnessInterface::r_hip_roll()
const
730 return data->r_hip_roll;
738 NaoJointStiffnessInterface::maxlenof_r_hip_roll()
const
748 NaoJointStiffnessInterface::set_r_hip_roll(
const float new_r_hip_roll)
750 set_field(data->r_hip_roll, new_r_hip_roll);
758 NaoJointStiffnessInterface::r_hip_pitch()
const
760 return data->r_hip_pitch;
768 NaoJointStiffnessInterface::maxlenof_r_hip_pitch()
const
778 NaoJointStiffnessInterface::set_r_hip_pitch(
const float new_r_hip_pitch)
780 set_field(data->r_hip_pitch, new_r_hip_pitch);
788 NaoJointStiffnessInterface::r_knee_pitch()
const
790 return data->r_knee_pitch;
798 NaoJointStiffnessInterface::maxlenof_r_knee_pitch()
const
808 NaoJointStiffnessInterface::set_r_knee_pitch(
const float new_r_knee_pitch)
810 set_field(data->r_knee_pitch, new_r_knee_pitch);
818 NaoJointStiffnessInterface::r_ankle_pitch()
const
820 return data->r_ankle_pitch;
828 NaoJointStiffnessInterface::maxlenof_r_ankle_pitch()
const
838 NaoJointStiffnessInterface::set_r_ankle_pitch(
const float new_r_ankle_pitch)
840 set_field(data->r_ankle_pitch, new_r_ankle_pitch);
848 NaoJointStiffnessInterface::r_ankle_roll()
const
850 return data->r_ankle_roll;
858 NaoJointStiffnessInterface::maxlenof_r_ankle_roll()
const
868 NaoJointStiffnessInterface::set_r_ankle_roll(
const float new_r_ankle_roll)
870 set_field(data->r_ankle_roll, new_r_ankle_roll);
881 NaoJointStiffnessInterface::minimum()
const
883 return data->minimum;
891 NaoJointStiffnessInterface::maxlenof_minimum()
const
904 NaoJointStiffnessInterface::set_minimum(
const float new_minimum)
906 set_field(data->minimum, new_minimum);
911 NaoJointStiffnessInterface::create_message(
const char *type)
const
913 if ( strncmp(
"SetStiffnessMessage", type, INTERFACE_MESSAGE_TYPE_SIZE_ - 1) == 0 ) {
915 }
else if ( strncmp(
"SetBodyStiffnessMessage", type, INTERFACE_MESSAGE_TYPE_SIZE_ - 1) == 0 ) {
917 }
else if ( strncmp(
"SetStiffnessesMessage", type, INTERFACE_MESSAGE_TYPE_SIZE_ - 1) == 0 ) {
921 "message type for this interface type.", type);
930 NaoJointStiffnessInterface::copy_values(
const Interface *other)
935 type(), other->
type());
937 memcpy(data, oi->data,
sizeof(NaoJointStiffnessInterface_data_t));
941 NaoJointStiffnessInterface::enum_tostring(
const char *enumtype,
int val)
const
959 NaoJointStiffnessInterface::SetStiffnessMessage::SetStiffnessMessage(
const uint32_t ini_servo,
const float ini_value,
const float ini_time_sec) :
Message(
"SetStiffnessMessage")
961 data_size =
sizeof(SetStiffnessMessage_data_t);
964 data = (SetStiffnessMessage_data_t *)
data_ptr;
966 data->servo = ini_servo;
967 data->value = ini_value;
968 data->time_sec = ini_time_sec;
976 data_size =
sizeof(SetStiffnessMessage_data_t);
979 data = (SetStiffnessMessage_data_t *)
data_ptr;
1000 data = (SetStiffnessMessage_data_t *)
data_ptr;
1082 return data->time_sec;
1102 set_field(data->time_sec, new_time_sec);
1128 data_size =
sizeof(SetBodyStiffnessMessage_data_t);
1131 data = (SetBodyStiffnessMessage_data_t *)
data_ptr;
1133 data->value = ini_value;
1134 data->time_sec = ini_time_sec;
1141 data_size =
sizeof(SetBodyStiffnessMessage_data_t);
1144 data = (SetBodyStiffnessMessage_data_t *)
data_ptr;
1164 data = (SetBodyStiffnessMessage_data_t *)
data_ptr;
1206 return data->time_sec;
1226 set_field(data->time_sec, new_time_sec);
1275 NaoJointStiffnessInterface::SetStiffnessesMessage::SetStiffnessesMessage(
const float ini_time_sec,
const float ini_head_yaw,
const float ini_head_pitch,
const float ini_l_shoulder_pitch,
const float ini_l_shoulder_roll,
const float ini_l_elbow_yaw,
const float ini_l_elbow_roll,
const float ini_l_wrist_yaw,
const float ini_l_hand,
const float ini_l_hip_yaw_pitch,
const float ini_l_hip_roll,
const float ini_l_hip_pitch,
const float ini_l_knee_pitch,
const float ini_l_ankle_pitch,
const float ini_l_ankle_roll,
const float ini_r_shoulder_pitch,
const float ini_r_shoulder_roll,
const float ini_r_elbow_yaw,
const float ini_r_wrist_yaw,
const float ini_r_hand,
const float ini_r_hip_yaw_pitch,
const float ini_r_hip_roll,
const float ini_r_hip_pitch,
const float ini_r_knee_pitch,
const float ini_r_ankle_pitch,
const float ini_r_ankle_roll,
const float ini_r_elbow_roll) :
Message(
"SetStiffnessesMessage")
1277 data_size =
sizeof(SetStiffnessesMessage_data_t);
1280 data = (SetStiffnessesMessage_data_t *)
data_ptr;
1282 data->time_sec = ini_time_sec;
1283 data->head_yaw = ini_head_yaw;
1284 data->head_pitch = ini_head_pitch;
1285 data->l_shoulder_pitch = ini_l_shoulder_pitch;
1286 data->l_shoulder_roll = ini_l_shoulder_roll;
1287 data->l_elbow_yaw = ini_l_elbow_yaw;
1288 data->l_elbow_roll = ini_l_elbow_roll;
1289 data->l_wrist_yaw = ini_l_wrist_yaw;
1290 data->l_hand = ini_l_hand;
1291 data->l_hip_yaw_pitch = ini_l_hip_yaw_pitch;
1292 data->l_hip_roll = ini_l_hip_roll;
1293 data->l_hip_pitch = ini_l_hip_pitch;
1294 data->l_knee_pitch = ini_l_knee_pitch;
1295 data->l_ankle_pitch = ini_l_ankle_pitch;
1296 data->l_ankle_roll = ini_l_ankle_roll;
1297 data->r_shoulder_pitch = ini_r_shoulder_pitch;
1298 data->r_shoulder_roll = ini_r_shoulder_roll;
1299 data->r_elbow_yaw = ini_r_elbow_yaw;
1300 data->r_wrist_yaw = ini_r_wrist_yaw;
1301 data->r_hand = ini_r_hand;
1302 data->r_hip_yaw_pitch = ini_r_hip_yaw_pitch;
1303 data->r_hip_roll = ini_r_hip_roll;
1304 data->r_hip_pitch = ini_r_hip_pitch;
1305 data->r_knee_pitch = ini_r_knee_pitch;
1306 data->r_ankle_pitch = ini_r_ankle_pitch;
1307 data->r_ankle_roll = ini_r_ankle_roll;
1308 data->r_elbow_roll = ini_r_elbow_roll;
1340 data_size =
sizeof(SetStiffnessesMessage_data_t);
1343 data = (SetStiffnessesMessage_data_t *)
data_ptr;
1388 data = (SetStiffnessesMessage_data_t *)
data_ptr;
1400 return data->time_sec;
1420 set_field(data->time_sec, new_time_sec);
1430 return data->head_yaw;
1450 set_field(data->head_yaw, new_head_yaw);
1460 return data->head_pitch;
1480 set_field(data->head_pitch, new_head_pitch);
1490 return data->l_shoulder_pitch;
1510 set_field(data->l_shoulder_pitch, new_l_shoulder_pitch);
1520 return data->l_shoulder_roll;
1540 set_field(data->l_shoulder_roll, new_l_shoulder_roll);
1550 return data->l_elbow_yaw;
1570 set_field(data->l_elbow_yaw, new_l_elbow_yaw);
1580 return data->l_elbow_roll;
1600 set_field(data->l_elbow_roll, new_l_elbow_roll);
1610 return data->l_wrist_yaw;
1630 set_field(data->l_wrist_yaw, new_l_wrist_yaw);
1640 return data->l_hand;
1670 return data->l_hip_yaw_pitch;
1690 set_field(data->l_hip_yaw_pitch, new_l_hip_yaw_pitch);
1700 return data->l_hip_roll;
1720 set_field(data->l_hip_roll, new_l_hip_roll);
1730 return data->l_hip_pitch;
1750 set_field(data->l_hip_pitch, new_l_hip_pitch);
1760 return data->l_knee_pitch;
1780 set_field(data->l_knee_pitch, new_l_knee_pitch);
1790 return data->l_ankle_pitch;
1810 set_field(data->l_ankle_pitch, new_l_ankle_pitch);
1820 return data->l_ankle_roll;
1840 set_field(data->l_ankle_roll, new_l_ankle_roll);
1850 return data->r_shoulder_pitch;
1870 set_field(data->r_shoulder_pitch, new_r_shoulder_pitch);
1880 return data->r_shoulder_roll;
1900 set_field(data->r_shoulder_roll, new_r_shoulder_roll);
1910 return data->r_elbow_yaw;
1930 set_field(data->r_elbow_yaw, new_r_elbow_yaw);
1940 return data->r_wrist_yaw;
1960 set_field(data->r_wrist_yaw, new_r_wrist_yaw);
1970 return data->r_hand;
2000 return data->r_hip_yaw_pitch;
2020 set_field(data->r_hip_yaw_pitch, new_r_hip_yaw_pitch);
2030 return data->r_hip_roll;
2050 set_field(data->r_hip_roll, new_r_hip_roll);
2060 return data->r_hip_pitch;
2080 set_field(data->r_hip_pitch, new_r_hip_pitch);
2090 return data->r_knee_pitch;
2110 set_field(data->r_knee_pitch, new_r_knee_pitch);
2120 return data->r_ankle_pitch;
2140 set_field(data->r_ankle_pitch, new_r_ankle_pitch);
2150 return data->r_ankle_roll;
2170 set_field(data->r_ankle_roll, new_r_ankle_roll);
2180 return data->r_elbow_roll;
2200 set_field(data->r_elbow_roll, new_r_elbow_roll);
Base class for all Fawkes BlackBoard interfaces.
const char * type() const
Get type of interface.
void * data_ptr
Pointer to local memory storage.
void set_field(FieldT &field, DataT &data)
Set a field, set data_changed to true and update data_changed accordingly.
Base class for all messages passed through interfaces in Fawkes BlackBoard.
void add_fieldinfo(interface_fieldtype_t type, const char *name, size_t length, void *value, const char *enumtype=0, const interface_enum_map_t *enum_map=0)
Add an entry to the info list.
void * data_ptr
Pointer to memory that contains local data.
message_data_ts_t * data_ts
data timestamp aliasing pointer
unsigned int data_size
Size of memory needed to hold all data.
SetBodyStiffnessMessage Fawkes BlackBoard Interface Message.
~SetBodyStiffnessMessage()
Destructor.
virtual Message * clone() const
Clone this message.
size_t maxlenof_time_sec() const
Get maximum length of time_sec value.
float time_sec() const
Get time_sec value.
SetBodyStiffnessMessage()
Constructor.
size_t maxlenof_value() const
Get maximum length of value value.
void set_value(const float new_value)
Set value value.
void set_time_sec(const float new_time_sec)
Set time_sec value.
float value() const
Get value value.
SetStiffnessMessage Fawkes BlackBoard Interface Message.
virtual Message * clone() const
Clone this message.
size_t maxlenof_value() const
Get maximum length of value value.
float time_sec() const
Get time_sec value.
void set_time_sec(const float new_time_sec)
Set time_sec value.
float value() const
Get value value.
size_t maxlenof_time_sec() const
Get maximum length of time_sec value.
void set_value(const float new_value)
Set value value.
uint32_t servo() const
Get servo value.
void set_servo(const uint32_t new_servo)
Set servo value.
size_t maxlenof_servo() const
Get maximum length of servo value.
~SetStiffnessMessage()
Destructor.
SetStiffnessMessage()
Constructor.
SetStiffnessesMessage Fawkes BlackBoard Interface Message.
float r_hip_roll() const
Get r_hip_roll value.
float head_pitch() const
Get head_pitch value.
float r_hand() const
Get r_hand value.
void set_head_yaw(const float new_head_yaw)
Set head_yaw value.
size_t maxlenof_l_ankle_pitch() const
Get maximum length of l_ankle_pitch value.
virtual Message * clone() const
Clone this message.
size_t maxlenof_l_hip_pitch() const
Get maximum length of l_hip_pitch value.
void set_r_shoulder_roll(const float new_r_shoulder_roll)
Set r_shoulder_roll value.
void set_r_elbow_roll(const float new_r_elbow_roll)
Set r_elbow_roll value.
void set_l_elbow_yaw(const float new_l_elbow_yaw)
Set l_elbow_yaw value.
size_t maxlenof_time_sec() const
Get maximum length of time_sec value.
float r_wrist_yaw() const
Get r_wrist_yaw value.
size_t maxlenof_l_wrist_yaw() const
Get maximum length of l_wrist_yaw value.
float l_shoulder_pitch() const
Get l_shoulder_pitch value.
size_t maxlenof_head_yaw() const
Get maximum length of head_yaw value.
size_t maxlenof_l_hip_roll() const
Get maximum length of l_hip_roll value.
SetStiffnessesMessage()
Constructor.
size_t maxlenof_r_hip_roll() const
Get maximum length of r_hip_roll value.
size_t maxlenof_l_elbow_roll() const
Get maximum length of l_elbow_roll value.
float l_elbow_yaw() const
Get l_elbow_yaw value.
void set_l_shoulder_pitch(const float new_l_shoulder_pitch)
Set l_shoulder_pitch value.
size_t maxlenof_l_hip_yaw_pitch() const
Get maximum length of l_hip_yaw_pitch value.
float r_ankle_pitch() const
Get r_ankle_pitch value.
float l_ankle_pitch() const
Get l_ankle_pitch value.
size_t maxlenof_r_hand() const
Get maximum length of r_hand value.
void set_r_elbow_yaw(const float new_r_elbow_yaw)
Set r_elbow_yaw value.
size_t maxlenof_r_elbow_roll() const
Get maximum length of r_elbow_roll value.
void set_r_hip_yaw_pitch(const float new_r_hip_yaw_pitch)
Set r_hip_yaw_pitch value.
size_t maxlenof_l_ankle_roll() const
Get maximum length of l_ankle_roll value.
size_t maxlenof_r_wrist_yaw() const
Get maximum length of r_wrist_yaw value.
float l_hip_roll() const
Get l_hip_roll value.
float r_elbow_roll() const
Get r_elbow_roll value.
void set_l_hip_yaw_pitch(const float new_l_hip_yaw_pitch)
Set l_hip_yaw_pitch value.
float l_ankle_roll() const
Get l_ankle_roll value.
void set_l_hip_roll(const float new_l_hip_roll)
Set l_hip_roll value.
size_t maxlenof_l_shoulder_roll() const
Get maximum length of l_shoulder_roll value.
float l_knee_pitch() const
Get l_knee_pitch value.
float r_knee_pitch() const
Get r_knee_pitch value.
size_t maxlenof_r_shoulder_pitch() const
Get maximum length of r_shoulder_pitch value.
float r_shoulder_pitch() const
Get r_shoulder_pitch value.
size_t maxlenof_r_ankle_roll() const
Get maximum length of r_ankle_roll value.
size_t maxlenof_l_knee_pitch() const
Get maximum length of l_knee_pitch value.
size_t maxlenof_r_ankle_pitch() const
Get maximum length of r_ankle_pitch value.
void set_r_wrist_yaw(const float new_r_wrist_yaw)
Set r_wrist_yaw value.
void set_r_knee_pitch(const float new_r_knee_pitch)
Set r_knee_pitch value.
~SetStiffnessesMessage()
Destructor.
float r_shoulder_roll() const
Get r_shoulder_roll value.
float l_wrist_yaw() const
Get l_wrist_yaw value.
void set_r_shoulder_pitch(const float new_r_shoulder_pitch)
Set r_shoulder_pitch value.
float l_hand() const
Get l_hand value.
void set_l_hand(const float new_l_hand)
Set l_hand value.
float r_hip_yaw_pitch() const
Get r_hip_yaw_pitch value.
float r_elbow_yaw() const
Get r_elbow_yaw value.
void set_head_pitch(const float new_head_pitch)
Set head_pitch value.
float r_hip_pitch() const
Get r_hip_pitch value.
size_t maxlenof_l_shoulder_pitch() const
Get maximum length of l_shoulder_pitch value.
float l_hip_yaw_pitch() const
Get l_hip_yaw_pitch value.
size_t maxlenof_l_elbow_yaw() const
Get maximum length of l_elbow_yaw value.
void set_r_hip_pitch(const float new_r_hip_pitch)
Set r_hip_pitch value.
size_t maxlenof_head_pitch() const
Get maximum length of head_pitch value.
float l_elbow_roll() const
Get l_elbow_roll value.
void set_r_hand(const float new_r_hand)
Set r_hand value.
size_t maxlenof_r_shoulder_roll() const
Get maximum length of r_shoulder_roll value.
void set_l_wrist_yaw(const float new_l_wrist_yaw)
Set l_wrist_yaw value.
size_t maxlenof_r_hip_pitch() const
Get maximum length of r_hip_pitch value.
void set_time_sec(const float new_time_sec)
Set time_sec value.
float time_sec() const
Get time_sec value.
float head_yaw() const
Get head_yaw value.
size_t maxlenof_l_hand() const
Get maximum length of l_hand value.
float l_hip_pitch() const
Get l_hip_pitch value.
void set_l_hip_pitch(const float new_l_hip_pitch)
Set l_hip_pitch value.
void set_l_knee_pitch(const float new_l_knee_pitch)
Set l_knee_pitch value.
size_t maxlenof_r_hip_yaw_pitch() const
Get maximum length of r_hip_yaw_pitch value.
void set_l_shoulder_roll(const float new_l_shoulder_roll)
Set l_shoulder_roll value.
size_t maxlenof_r_elbow_yaw() const
Get maximum length of r_elbow_yaw value.
void set_l_ankle_pitch(const float new_l_ankle_pitch)
Set l_ankle_pitch value.
float r_ankle_roll() const
Get r_ankle_roll value.
float l_shoulder_roll() const
Get l_shoulder_roll value.
void set_l_elbow_roll(const float new_l_elbow_roll)
Set l_elbow_roll value.
void set_l_ankle_roll(const float new_l_ankle_roll)
Set l_ankle_roll value.
size_t maxlenof_r_knee_pitch() const
Get maximum length of r_knee_pitch value.
void set_r_ankle_roll(const float new_r_ankle_roll)
Set r_ankle_roll value.
void set_r_hip_roll(const float new_r_hip_roll)
Set r_hip_roll value.
void set_r_ankle_pitch(const float new_r_ankle_pitch)
Set r_ankle_pitch value.
NaoJointStiffnessInterface Fawkes BlackBoard Interface.
virtual bool message_valid(const Message *message) const
Check if message is valid and can be enqueued.
Fawkes library namespace.
@ IFT_UINT32
32 bit unsigned integer field
Timestamp data, must be present and first entries for each interface data structs!...