24 #include <interfaces/NaoJointStiffnessInterface.h> 26 #include <core/exceptions/software.h> 46 NaoJointStiffnessInterface::NaoJointStiffnessInterface() : Interface()
48 data_size =
sizeof(NaoJointStiffnessInterface_data_t);
50 data = (NaoJointStiffnessInterface_data_t *)
data_ptr;
83 unsigned char tmp_hash[] = {0x29, 0x35, 0x74, 0x2f, 0x4e, 0x93, 0x53, 0xc4, 0x28, 0x56, 0xc8, 0x4a, 0x66, 0x81, 0xd6, 0x6d};
88 NaoJointStiffnessInterface::~NaoJointStiffnessInterface()
100 return data->head_yaw;
120 data->head_yaw = new_head_yaw;
131 return data->head_pitch;
151 data->head_pitch = new_head_pitch;
162 return data->l_shoulder_pitch;
182 data->l_shoulder_pitch = new_l_shoulder_pitch;
193 return data->l_shoulder_roll;
213 data->l_shoulder_roll = new_l_shoulder_roll;
224 return data->l_elbow_yaw;
244 data->l_elbow_yaw = new_l_elbow_yaw;
255 return data->l_elbow_roll;
275 data->l_elbow_roll = new_l_elbow_roll;
286 return data->l_wrist_yaw;
306 data->l_wrist_yaw = new_l_wrist_yaw;
337 data->l_hand = new_l_hand;
348 return data->l_hip_yaw_pitch;
368 data->l_hip_yaw_pitch = new_l_hip_yaw_pitch;
379 return data->l_hip_roll;
399 data->l_hip_roll = new_l_hip_roll;
410 return data->l_hip_pitch;
430 data->l_hip_pitch = new_l_hip_pitch;
441 return data->l_knee_pitch;
461 data->l_knee_pitch = new_l_knee_pitch;
472 return data->l_ankle_pitch;
492 data->l_ankle_pitch = new_l_ankle_pitch;
503 return data->l_ankle_roll;
523 data->l_ankle_roll = new_l_ankle_roll;
534 return data->r_shoulder_pitch;
554 data->r_shoulder_pitch = new_r_shoulder_pitch;
565 return data->r_shoulder_roll;
585 data->r_shoulder_roll = new_r_shoulder_roll;
596 return data->r_elbow_yaw;
616 data->r_elbow_yaw = new_r_elbow_yaw;
627 return data->r_elbow_roll;
647 data->r_elbow_roll = new_r_elbow_roll;
658 return data->r_wrist_yaw;
678 data->r_wrist_yaw = new_r_wrist_yaw;
709 data->r_hand = new_r_hand;
720 return data->r_hip_yaw_pitch;
740 data->r_hip_yaw_pitch = new_r_hip_yaw_pitch;
751 return data->r_hip_roll;
771 data->r_hip_roll = new_r_hip_roll;
782 return data->r_hip_pitch;
802 data->r_hip_pitch = new_r_hip_pitch;
813 return data->r_knee_pitch;
833 data->r_knee_pitch = new_r_knee_pitch;
844 return data->r_ankle_pitch;
864 data->r_ankle_pitch = new_r_ankle_pitch;
875 return data->r_ankle_roll;
895 data->r_ankle_roll = new_r_ankle_roll;
909 return data->minimum;
932 data->minimum = new_minimum;
940 if ( strncmp(
"SetStiffnessMessage", type, __INTERFACE_MESSAGE_TYPE_SIZE) == 0 ) {
942 }
else if ( strncmp(
"SetBodyStiffnessMessage", type, __INTERFACE_MESSAGE_TYPE_SIZE) == 0 ) {
944 }
else if ( strncmp(
"SetStiffnessesMessage", type, __INTERFACE_MESSAGE_TYPE_SIZE) == 0 ) {
948 "message type for this interface type.", type);
964 memcpy(data, oi->data,
sizeof(NaoJointStiffnessInterface_data_t));
988 data_size =
sizeof(SetStiffnessMessage_data_t);
991 data = (SetStiffnessMessage_data_t *)
data_ptr;
993 data->servo = ini_servo;
994 data->value = ini_value;
995 data->time_sec = ini_time_sec;
1003 data_size =
sizeof(SetStiffnessMessage_data_t);
1006 data = (SetStiffnessMessage_data_t *)
data_ptr;
1027 data = (SetStiffnessMessage_data_t *)
data_ptr;
1069 data->servo = new_servo;
1099 data->value = new_value;
1109 return data->time_sec;
1129 data->time_sec = new_time_sec;
1155 data_size =
sizeof(SetBodyStiffnessMessage_data_t);
1158 data = (SetBodyStiffnessMessage_data_t *)
data_ptr;
1160 data->value = ini_value;
1161 data->time_sec = ini_time_sec;
1168 data_size =
sizeof(SetBodyStiffnessMessage_data_t);
1171 data = (SetBodyStiffnessMessage_data_t *)
data_ptr;
1191 data = (SetBodyStiffnessMessage_data_t *)
data_ptr;
1223 data->value = new_value;
1233 return data->time_sec;
1253 data->time_sec = new_time_sec;
1302 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")
1304 data_size =
sizeof(SetStiffnessesMessage_data_t);
1307 data = (SetStiffnessesMessage_data_t *)
data_ptr;
1309 data->time_sec = ini_time_sec;
1310 data->head_yaw = ini_head_yaw;
1311 data->head_pitch = ini_head_pitch;
1312 data->l_shoulder_pitch = ini_l_shoulder_pitch;
1313 data->l_shoulder_roll = ini_l_shoulder_roll;
1314 data->l_elbow_yaw = ini_l_elbow_yaw;
1315 data->l_elbow_roll = ini_l_elbow_roll;
1316 data->l_wrist_yaw = ini_l_wrist_yaw;
1317 data->l_hand = ini_l_hand;
1318 data->l_hip_yaw_pitch = ini_l_hip_yaw_pitch;
1319 data->l_hip_roll = ini_l_hip_roll;
1320 data->l_hip_pitch = ini_l_hip_pitch;
1321 data->l_knee_pitch = ini_l_knee_pitch;
1322 data->l_ankle_pitch = ini_l_ankle_pitch;
1323 data->l_ankle_roll = ini_l_ankle_roll;
1324 data->r_shoulder_pitch = ini_r_shoulder_pitch;
1325 data->r_shoulder_roll = ini_r_shoulder_roll;
1326 data->r_elbow_yaw = ini_r_elbow_yaw;
1327 data->r_wrist_yaw = ini_r_wrist_yaw;
1328 data->r_hand = ini_r_hand;
1329 data->r_hip_yaw_pitch = ini_r_hip_yaw_pitch;
1330 data->r_hip_roll = ini_r_hip_roll;
1331 data->r_hip_pitch = ini_r_hip_pitch;
1332 data->r_knee_pitch = ini_r_knee_pitch;
1333 data->r_ankle_pitch = ini_r_ankle_pitch;
1334 data->r_ankle_roll = ini_r_ankle_roll;
1335 data->r_elbow_roll = ini_r_elbow_roll;
1367 data_size =
sizeof(SetStiffnessesMessage_data_t);
1370 data = (SetStiffnessesMessage_data_t *)
data_ptr;
1415 data = (SetStiffnessesMessage_data_t *)
data_ptr;
1427 return data->time_sec;
1447 data->time_sec = new_time_sec;
1457 return data->head_yaw;
1477 data->head_yaw = new_head_yaw;
1487 return data->head_pitch;
1507 data->head_pitch = new_head_pitch;
1517 return data->l_shoulder_pitch;
1537 data->l_shoulder_pitch = new_l_shoulder_pitch;
1547 return data->l_shoulder_roll;
1567 data->l_shoulder_roll = new_l_shoulder_roll;
1577 return data->l_elbow_yaw;
1597 data->l_elbow_yaw = new_l_elbow_yaw;
1607 return data->l_elbow_roll;
1627 data->l_elbow_roll = new_l_elbow_roll;
1637 return data->l_wrist_yaw;
1657 data->l_wrist_yaw = new_l_wrist_yaw;
1667 return data->l_hand;
1687 data->l_hand = new_l_hand;
1697 return data->l_hip_yaw_pitch;
1717 data->l_hip_yaw_pitch = new_l_hip_yaw_pitch;
1727 return data->l_hip_roll;
1747 data->l_hip_roll = new_l_hip_roll;
1757 return data->l_hip_pitch;
1777 data->l_hip_pitch = new_l_hip_pitch;
1787 return data->l_knee_pitch;
1807 data->l_knee_pitch = new_l_knee_pitch;
1817 return data->l_ankle_pitch;
1837 data->l_ankle_pitch = new_l_ankle_pitch;
1847 return data->l_ankle_roll;
1867 data->l_ankle_roll = new_l_ankle_roll;
1877 return data->r_shoulder_pitch;
1897 data->r_shoulder_pitch = new_r_shoulder_pitch;
1907 return data->r_shoulder_roll;
1927 data->r_shoulder_roll = new_r_shoulder_roll;
1937 return data->r_elbow_yaw;
1957 data->r_elbow_yaw = new_r_elbow_yaw;
1967 return data->r_wrist_yaw;
1987 data->r_wrist_yaw = new_r_wrist_yaw;
1997 return data->r_hand;
2017 data->r_hand = new_r_hand;
2027 return data->r_hip_yaw_pitch;
2047 data->r_hip_yaw_pitch = new_r_hip_yaw_pitch;
2057 return data->r_hip_roll;
2077 data->r_hip_roll = new_r_hip_roll;
2087 return data->r_hip_pitch;
2107 data->r_hip_pitch = new_r_hip_pitch;
2117 return data->r_knee_pitch;
2137 data->r_knee_pitch = new_r_knee_pitch;
2147 return data->r_ankle_pitch;
2167 data->r_ankle_pitch = new_r_ankle_pitch;
2177 return data->r_ankle_roll;
2197 data->r_ankle_roll = new_r_ankle_roll;
2207 return data->r_elbow_roll;
2227 data->r_elbow_roll = new_r_elbow_roll;
float head_pitch() const
Get head_pitch value.
float r_ankle_roll() const
Get r_ankle_roll value.
size_t maxlenof_r_elbow_roll() const
Get maximum length of r_elbow_roll value.
void set_l_shoulder_pitch(const float new_l_shoulder_pitch)
Set l_shoulder_pitch value.
size_t maxlenof_l_hand() const
Get maximum length of l_hand value.
size_t maxlenof_r_wrist_yaw() const
Get maximum length of r_wrist_yaw value.
virtual Message * clone() const
Clone this message.
void set_r_elbow_roll(const float new_r_elbow_roll)
Set r_elbow_roll value.
void set_r_elbow_yaw(const float new_r_elbow_yaw)
Set r_elbow_yaw value.
void * data_ptr
Pointer to memory that contains local data.
float value() const
Get value value.
void set_r_hip_pitch(const float new_r_hip_pitch)
Set r_hip_pitch value.
size_t maxlenof_l_elbow_roll() const
Get maximum length of l_elbow_roll value.
Base class for all messages passed through interfaces in Fawkes BlackBoard.
size_t maxlenof_l_hip_roll() const
Get maximum length of l_hip_roll value.
size_t maxlenof_l_wrist_yaw() const
Get maximum length of l_wrist_yaw value.
size_t maxlenof_minimum() const
Get maximum length of minimum value.
size_t maxlenof_r_knee_pitch() const
Get maximum length of r_knee_pitch value.
size_t maxlenof_r_hip_roll() const
Get maximum length of r_hip_roll value.
void set_l_hip_roll(const float new_l_hip_roll)
Set l_hip_roll value.
size_t maxlenof_l_ankle_pitch() const
Get maximum length of l_ankle_pitch value.
virtual bool message_valid(const Message *message) const
Check if message is valid and can be enqueued.
void set_l_ankle_pitch(const float new_l_ankle_pitch)
Set l_ankle_pitch value.
float r_elbow_yaw() const
Get r_elbow_yaw value.
void set_hash(unsigned char *ihash)
Set hash.
size_t maxlenof_l_elbow_roll() const
Get maximum length of l_elbow_roll value.
float l_hip_pitch() const
Get l_hip_pitch value.
float r_elbow_yaw() const
Get r_elbow_yaw value.
float l_ankle_pitch() const
Get l_ankle_pitch value.
size_t maxlenof_r_shoulder_roll() const
Get maximum length of r_shoulder_roll value.
Fawkes library namespace.
Timestamp data, must be present and first entries for each interface data structs! This leans on time...
float value() const
Get value value.
float l_wrist_yaw() const
Get l_wrist_yaw value.
unsigned int data_size
Minimal data size to hold data storage.
void set_r_hip_yaw_pitch(const float new_r_hip_yaw_pitch)
Set r_hip_yaw_pitch value.
void set_r_elbow_roll(const float new_r_elbow_roll)
Set r_elbow_roll value.
float head_yaw() const
Get head_yaw value.
void set_head_pitch(const float new_head_pitch)
Set head_pitch value.
size_t maxlenof_r_hip_yaw_pitch() const
Get maximum length of r_hip_yaw_pitch value.
void set_l_hip_roll(const float new_l_hip_roll)
Set l_hip_roll value.
float time_sec() const
Get time_sec value.
void set_l_ankle_roll(const float new_l_ankle_roll)
Set l_ankle_roll value.
float head_yaw() const
Get head_yaw value.
float l_hip_yaw_pitch() const
Get l_hip_yaw_pitch value.
size_t maxlenof_l_wrist_yaw() const
Get maximum length of l_wrist_yaw value.
size_t maxlenof_l_shoulder_pitch() const
Get maximum length of l_shoulder_pitch value.
void set_r_shoulder_pitch(const float new_r_shoulder_pitch)
Set r_shoulder_pitch value.
SetBodyStiffnessMessage Fawkes BlackBoard Interface Message.
size_t maxlenof_r_elbow_yaw() const
Get maximum length of r_elbow_yaw value.
void set_head_yaw(const float new_head_yaw)
Set head_yaw value.
Base class for all Fawkes BlackBoard interfaces.
NaoJointStiffnessInterface Fawkes BlackBoard Interface.
float r_hip_yaw_pitch() const
Get r_hip_yaw_pitch value.
float minimum() const
Get minimum value.
size_t maxlenof_l_hip_yaw_pitch() const
Get maximum length of l_hip_yaw_pitch value.
size_t maxlenof_l_ankle_roll() const
Get maximum length of l_ankle_roll value.
virtual const char * enum_tostring(const char *enumtype, int val) const
Convert arbitrary enum value to string.
float r_elbow_roll() const
Get r_elbow_roll value.
float l_hip_pitch() const
Get l_hip_pitch value.
float r_ankle_pitch() const
Get r_ankle_pitch value.
void set_l_hip_yaw_pitch(const float new_l_hip_yaw_pitch)
Set l_hip_yaw_pitch value.
float r_hip_roll() const
Get r_hip_roll value.
float l_elbow_yaw() const
Get l_elbow_yaw value.
size_t maxlenof_l_ankle_roll() const
Get maximum length of l_ankle_roll value.
void set_l_hip_pitch(const float new_l_hip_pitch)
Set l_hip_pitch value.
size_t maxlenof_value() const
Get maximum length of value value.
float l_ankle_roll() const
Get l_ankle_roll value.
float r_shoulder_pitch() const
Get r_shoulder_pitch value.
void set_r_knee_pitch(const float new_r_knee_pitch)
Set r_knee_pitch value.
message_data_ts_t * data_ts
data timestamp aliasing pointer
float r_hip_roll() const
Get r_hip_roll value.
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 field info list.
unsigned int data_size
Size of memory needed to hold all data.
size_t maxlenof_r_shoulder_pitch() const
Get maximum length of r_shoulder_pitch value.
void set_time_sec(const float new_time_sec)
Set time_sec value.
size_t maxlenof_r_elbow_yaw() const
Get maximum length of r_elbow_yaw value.
void set_r_hand(const float new_r_hand)
Set r_hand value.
size_t maxlenof_time_sec() const
Get maximum length of time_sec value.
void add_messageinfo(const char *name)
Add an entry to the message info list.
bool data_changed
Indicator if data has changed.
float r_hip_pitch() const
Get r_hip_pitch value.
size_t maxlenof_r_elbow_roll() const
Get maximum length of r_elbow_roll value.
void set_r_elbow_yaw(const float new_r_elbow_yaw)
Set r_elbow_yaw value.
size_t maxlenof_l_hip_pitch() const
Get maximum length of l_hip_pitch value.
const char * type() const
Get type of interface.
void set_value(const float new_value)
Set value value.
float r_elbow_roll() const
Get r_elbow_roll value.
void * data_ptr
Pointer to local memory storage.
float l_shoulder_pitch() const
Get l_shoulder_pitch value.
size_t maxlenof_r_knee_pitch() const
Get maximum length of r_knee_pitch value.
size_t maxlenof_r_hip_yaw_pitch() const
Get maximum length of r_hip_yaw_pitch value.
float r_shoulder_pitch() const
Get r_shoulder_pitch value.
void set_r_shoulder_roll(const float new_r_shoulder_roll)
Set r_shoulder_roll value.
size_t maxlenof_l_elbow_yaw() const
Get maximum length of l_elbow_yaw value.
float r_wrist_yaw() const
Get r_wrist_yaw value.
float l_hip_yaw_pitch() const
Get l_hip_yaw_pitch value.
size_t maxlenof_r_hip_roll() const
Get maximum length of r_hip_roll value.
void set_time_sec(const float new_time_sec)
Set time_sec value.
void set_l_hand(const float new_l_hand)
Set l_hand value.
float l_elbow_roll() const
Get l_elbow_roll value.
float r_hand() const
Get r_hand value.
void set_l_elbow_yaw(const float new_l_elbow_yaw)
Set l_elbow_yaw value.
size_t maxlenof_l_shoulder_pitch() const
Get maximum length of l_shoulder_pitch value.
size_t maxlenof_head_pitch() const
Get maximum length of head_pitch value.
float head_pitch() const
Get head_pitch value.
void set_r_ankle_pitch(const float new_r_ankle_pitch)
Set r_ankle_pitch value.
size_t maxlenof_value() const
Get maximum length of value value.
size_t maxlenof_l_knee_pitch() const
Get maximum length of l_knee_pitch value.
float l_ankle_pitch() const
Get l_ankle_pitch value.
SetBodyStiffnessMessage()
Constructor.
size_t maxlenof_r_hand() const
Get maximum length of r_hand value.
size_t maxlenof_r_wrist_yaw() const
Get maximum length of r_wrist_yaw value.
float r_hand() const
Get r_hand value.
~SetStiffnessMessage()
Destructor.
float l_elbow_roll() const
Get l_elbow_roll value.
SetStiffnessesMessage()
Constructor.
float r_knee_pitch() const
Get r_knee_pitch value.
virtual Message * create_message(const char *type) const
Create message based on type name.
SetStiffnessesMessage Fawkes BlackBoard Interface Message.
void set_r_wrist_yaw(const float new_r_wrist_yaw)
Set r_wrist_yaw value.
void set_time_sec(const float new_time_sec)
Set time_sec value.
size_t maxlenof_r_ankle_pitch() const
Get maximum length of r_ankle_pitch value.
size_t maxlenof_l_elbow_yaw() const
Get maximum length of l_elbow_yaw value.
size_t maxlenof_l_knee_pitch() const
Get maximum length of l_knee_pitch value.
void set_r_hip_pitch(const float new_r_hip_pitch)
Set r_hip_pitch value.
size_t maxlenof_l_shoulder_roll() const
Get maximum length of l_shoulder_roll value.
void set_r_hand(const float new_r_hand)
Set r_hand value.
void set_l_knee_pitch(const float new_l_knee_pitch)
Set l_knee_pitch value.
size_t maxlenof_l_hip_roll() const
Get maximum length of l_hip_roll value.
void set_l_hip_yaw_pitch(const float new_l_hip_yaw_pitch)
Set l_hip_yaw_pitch value.
size_t maxlenof_r_hip_pitch() const
Get maximum length of r_hip_pitch value.
size_t maxlenof_time_sec() const
Get maximum length of time_sec value.
size_t maxlenof_r_shoulder_roll() const
Get maximum length of r_shoulder_roll value.
size_t maxlenof_time_sec() const
Get maximum length of time_sec value.
uint32_t servo() const
Get servo value.
float l_knee_pitch() const
Get l_knee_pitch value.
float l_ankle_roll() const
Get l_ankle_roll value.
size_t maxlenof_r_hip_pitch() const
Get maximum length of r_hip_pitch value.
float r_ankle_roll() const
Get r_ankle_roll value.
float r_shoulder_roll() const
Get r_shoulder_roll value.
void set_l_wrist_yaw(const float new_l_wrist_yaw)
Set l_wrist_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.
float l_shoulder_pitch() const
Get l_shoulder_pitch value.
size_t maxlenof_r_ankle_roll() const
Get maximum length of r_ankle_roll value.
float time_sec() const
Get time_sec value.
void set_value(const float new_value)
Set value value.
size_t maxlenof_l_hip_pitch() const
Get maximum length of l_hip_pitch value.
void set_r_knee_pitch(const float new_r_knee_pitch)
Set r_knee_pitch value.
void set_r_shoulder_pitch(const float new_r_shoulder_pitch)
Set r_shoulder_pitch value.
float r_shoulder_roll() const
Get r_shoulder_roll value.
float r_knee_pitch() const
Get r_knee_pitch value.
float r_wrist_yaw() const
Get r_wrist_yaw value.
float l_hand() const
Get l_hand 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.
~SetBodyStiffnessMessage()
Destructor.
void set_l_hip_pitch(const float new_l_hip_pitch)
Set l_hip_pitch value.
void set_l_shoulder_roll(const float new_l_shoulder_roll)
Set l_shoulder_roll value.
void set_l_shoulder_pitch(const float new_l_shoulder_pitch)
Set l_shoulder_pitch value.
void set_l_knee_pitch(const float new_l_knee_pitch)
Set l_knee_pitch value.
void set_servo(const uint32_t new_servo)
Set servo value.
void set_l_wrist_yaw(const float new_l_wrist_yaw)
Set l_wrist_yaw value.
void set_l_elbow_roll(const float new_l_elbow_roll)
Set l_elbow_roll value.
size_t maxlenof_head_yaw() const
Get maximum length of head_yaw value.
void set_r_shoulder_roll(const float new_r_shoulder_roll)
Set r_shoulder_roll value.
virtual void copy_values(const Interface *other)
Copy values from other interface.
void set_l_elbow_roll(const float new_l_elbow_roll)
Set l_elbow_roll value.
float l_hand() const
Get l_hand value.
float r_hip_yaw_pitch() const
Get r_hip_yaw_pitch value.
size_t maxlenof_l_hand() const
Get maximum length of l_hand value.
void set_r_wrist_yaw(const float new_r_wrist_yaw)
Set r_wrist_yaw value.
float l_hip_roll() const
Get l_hip_roll value.
void set_r_hip_roll(const float new_r_hip_roll)
Set r_hip_roll value.
void set_l_elbow_yaw(const float new_l_elbow_yaw)
Set l_elbow_yaw value.
interface_data_ts_t * data_ts
Pointer to data casted to timestamp struct.
float l_wrist_yaw() const
Get l_wrist_yaw value.
void set_r_ankle_roll(const float new_r_ankle_roll)
Set r_ankle_roll value.
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.
size_t maxlenof_r_ankle_pitch() const
Get maximum length of r_ankle_pitch value.
void set_l_hand(const float new_l_hand)
Set l_hand value.
size_t maxlenof_l_hip_yaw_pitch() const
Get maximum length of l_hip_yaw_pitch value.
size_t maxlenof_head_yaw() const
Get maximum length of head_yaw value.
void set_minimum(const float new_minimum)
Set minimum value.
SetStiffnessMessage Fawkes BlackBoard Interface Message.
size_t maxlenof_l_shoulder_roll() const
Get maximum length of l_shoulder_roll value.
size_t maxlenof_head_pitch() const
Get maximum length of head_pitch value.
size_t maxlenof_r_hand() const
Get maximum length of r_hand value.
size_t maxlenof_servo() const
Get maximum length of servo value.
float l_shoulder_roll() const
Get l_shoulder_roll value.
void set_head_yaw(const float new_head_yaw)
Set head_yaw value.
void set_l_ankle_pitch(const float new_l_ankle_pitch)
Set l_ankle_pitch value.
float time_sec() const
Get time_sec value.
float l_shoulder_roll() const
Get l_shoulder_roll value.
void set_r_hip_yaw_pitch(const float new_r_hip_yaw_pitch)
Set r_hip_yaw_pitch value.
32 bit unsigned integer field
float r_ankle_pitch() const
Get r_ankle_pitch value.
SetStiffnessMessage()
Constructor.
virtual Message * clone() const
Clone this message.
~SetStiffnessesMessage()
Destructor.
virtual Message * clone() const
Clone this message.
float l_elbow_yaw() const
Get l_elbow_yaw value.
float l_knee_pitch() const
Get l_knee_pitch value.
void set_r_ankle_roll(const float new_r_ankle_roll)
Set r_ankle_roll value.
size_t maxlenof_r_ankle_roll() const
Get maximum length of r_ankle_roll value.
size_t maxlenof_r_shoulder_pitch() const
Get maximum length of r_shoulder_pitch value.
void set_l_shoulder_roll(const float new_l_shoulder_roll)
Set l_shoulder_roll value.
float l_hip_roll() const
Get l_hip_roll value.
void set_l_ankle_roll(const float new_l_ankle_roll)
Set l_ankle_roll value.
size_t maxlenof_l_ankle_pitch() const
Get maximum length of l_ankle_pitch value.