Fawkes API
Fawkes Development Version
|
#include <>>
Classes | |
class | SetBodyStiffnessMessage |
class | SetStiffnessesMessage |
class | SetStiffnessMessage |
Public Member Functions | |
virtual bool | message_valid (const Message *message) const |
Check if message is valid and can be enqueued. More... | |
float | head_yaw () const |
Get head_yaw value. More... | |
void | set_head_yaw (const float new_head_yaw) |
Set head_yaw value. More... | |
size_t | maxlenof_head_yaw () const |
Get maximum length of head_yaw value. More... | |
float | head_pitch () const |
Get head_pitch value. More... | |
void | set_head_pitch (const float new_head_pitch) |
Set head_pitch value. More... | |
size_t | maxlenof_head_pitch () const |
Get maximum length of head_pitch value. More... | |
float | l_shoulder_pitch () const |
Get l_shoulder_pitch value. More... | |
void | set_l_shoulder_pitch (const float new_l_shoulder_pitch) |
Set l_shoulder_pitch value. More... | |
size_t | maxlenof_l_shoulder_pitch () const |
Get maximum length of l_shoulder_pitch value. More... | |
float | l_shoulder_roll () const |
Get l_shoulder_roll value. More... | |
void | set_l_shoulder_roll (const float new_l_shoulder_roll) |
Set l_shoulder_roll value. More... | |
size_t | maxlenof_l_shoulder_roll () const |
Get maximum length of l_shoulder_roll value. More... | |
float | l_elbow_yaw () const |
Get l_elbow_yaw value. More... | |
void | set_l_elbow_yaw (const float new_l_elbow_yaw) |
Set l_elbow_yaw value. More... | |
size_t | maxlenof_l_elbow_yaw () const |
Get maximum length of l_elbow_yaw value. More... | |
float | l_elbow_roll () const |
Get l_elbow_roll value. More... | |
void | set_l_elbow_roll (const float new_l_elbow_roll) |
Set l_elbow_roll value. More... | |
size_t | maxlenof_l_elbow_roll () const |
Get maximum length of l_elbow_roll value. More... | |
float | l_wrist_yaw () const |
Get l_wrist_yaw value. More... | |
void | set_l_wrist_yaw (const float new_l_wrist_yaw) |
Set l_wrist_yaw value. More... | |
size_t | maxlenof_l_wrist_yaw () const |
Get maximum length of l_wrist_yaw value. More... | |
float | l_hand () const |
Get l_hand value. More... | |
void | set_l_hand (const float new_l_hand) |
Set l_hand value. More... | |
size_t | maxlenof_l_hand () const |
Get maximum length of l_hand value. More... | |
float | l_hip_yaw_pitch () const |
Get l_hip_yaw_pitch value. More... | |
void | set_l_hip_yaw_pitch (const float new_l_hip_yaw_pitch) |
Set l_hip_yaw_pitch value. More... | |
size_t | maxlenof_l_hip_yaw_pitch () const |
Get maximum length of l_hip_yaw_pitch value. More... | |
float | l_hip_roll () const |
Get l_hip_roll value. More... | |
void | set_l_hip_roll (const float new_l_hip_roll) |
Set l_hip_roll value. More... | |
size_t | maxlenof_l_hip_roll () const |
Get maximum length of l_hip_roll value. More... | |
float | l_hip_pitch () const |
Get l_hip_pitch value. More... | |
void | set_l_hip_pitch (const float new_l_hip_pitch) |
Set l_hip_pitch value. More... | |
size_t | maxlenof_l_hip_pitch () const |
Get maximum length of l_hip_pitch value. More... | |
float | l_knee_pitch () const |
Get l_knee_pitch value. More... | |
void | set_l_knee_pitch (const float new_l_knee_pitch) |
Set l_knee_pitch value. More... | |
size_t | maxlenof_l_knee_pitch () const |
Get maximum length of l_knee_pitch value. More... | |
float | l_ankle_pitch () const |
Get l_ankle_pitch value. More... | |
void | set_l_ankle_pitch (const float new_l_ankle_pitch) |
Set l_ankle_pitch value. More... | |
size_t | maxlenof_l_ankle_pitch () const |
Get maximum length of l_ankle_pitch value. More... | |
float | l_ankle_roll () const |
Get l_ankle_roll value. More... | |
void | set_l_ankle_roll (const float new_l_ankle_roll) |
Set l_ankle_roll value. More... | |
size_t | maxlenof_l_ankle_roll () const |
Get maximum length of l_ankle_roll value. More... | |
float | r_shoulder_pitch () const |
Get r_shoulder_pitch value. More... | |
void | set_r_shoulder_pitch (const float new_r_shoulder_pitch) |
Set r_shoulder_pitch value. More... | |
size_t | maxlenof_r_shoulder_pitch () const |
Get maximum length of r_shoulder_pitch value. More... | |
float | r_shoulder_roll () const |
Get r_shoulder_roll value. More... | |
void | set_r_shoulder_roll (const float new_r_shoulder_roll) |
Set r_shoulder_roll value. More... | |
size_t | maxlenof_r_shoulder_roll () const |
Get maximum length of r_shoulder_roll value. More... | |
float | r_elbow_yaw () const |
Get r_elbow_yaw value. More... | |
void | set_r_elbow_yaw (const float new_r_elbow_yaw) |
Set r_elbow_yaw value. More... | |
size_t | maxlenof_r_elbow_yaw () const |
Get maximum length of r_elbow_yaw value. More... | |
float | r_elbow_roll () const |
Get r_elbow_roll value. More... | |
void | set_r_elbow_roll (const float new_r_elbow_roll) |
Set r_elbow_roll value. More... | |
size_t | maxlenof_r_elbow_roll () const |
Get maximum length of r_elbow_roll value. More... | |
float | r_wrist_yaw () const |
Get r_wrist_yaw value. More... | |
void | set_r_wrist_yaw (const float new_r_wrist_yaw) |
Set r_wrist_yaw value. More... | |
size_t | maxlenof_r_wrist_yaw () const |
Get maximum length of r_wrist_yaw value. More... | |
float | r_hand () const |
Get r_hand value. More... | |
void | set_r_hand (const float new_r_hand) |
Set r_hand value. More... | |
size_t | maxlenof_r_hand () const |
Get maximum length of r_hand value. More... | |
float | r_hip_yaw_pitch () const |
Get r_hip_yaw_pitch value. More... | |
void | set_r_hip_yaw_pitch (const float new_r_hip_yaw_pitch) |
Set r_hip_yaw_pitch value. More... | |
size_t | maxlenof_r_hip_yaw_pitch () const |
Get maximum length of r_hip_yaw_pitch value. More... | |
float | r_hip_roll () const |
Get r_hip_roll value. More... | |
void | set_r_hip_roll (const float new_r_hip_roll) |
Set r_hip_roll value. More... | |
size_t | maxlenof_r_hip_roll () const |
Get maximum length of r_hip_roll value. More... | |
float | r_hip_pitch () const |
Get r_hip_pitch value. More... | |
void | set_r_hip_pitch (const float new_r_hip_pitch) |
Set r_hip_pitch value. More... | |
size_t | maxlenof_r_hip_pitch () const |
Get maximum length of r_hip_pitch value. More... | |
float | r_knee_pitch () const |
Get r_knee_pitch value. More... | |
void | set_r_knee_pitch (const float new_r_knee_pitch) |
Set r_knee_pitch value. More... | |
size_t | maxlenof_r_knee_pitch () const |
Get maximum length of r_knee_pitch value. More... | |
float | r_ankle_pitch () const |
Get r_ankle_pitch value. More... | |
void | set_r_ankle_pitch (const float new_r_ankle_pitch) |
Set r_ankle_pitch value. More... | |
size_t | maxlenof_r_ankle_pitch () const |
Get maximum length of r_ankle_pitch value. More... | |
float | r_ankle_roll () const |
Get r_ankle_roll value. More... | |
void | set_r_ankle_roll (const float new_r_ankle_roll) |
Set r_ankle_roll value. More... | |
size_t | maxlenof_r_ankle_roll () const |
Get maximum length of r_ankle_roll value. More... | |
float | minimum () const |
Get minimum value. More... | |
void | set_minimum (const float new_minimum) |
Set minimum value. More... | |
size_t | maxlenof_minimum () const |
Get maximum length of minimum value. More... | |
virtual Message * | create_message (const char *type) const |
virtual void | copy_values (const Interface *other) |
Copy values from other interface. More... | |
virtual const char * | enum_tostring (const char *enumtype, int val) const |
![]() | |
virtual | ~Interface () |
Destructor. More... | |
bool | oftype (const char *interface_type) const |
Check if interface is of given type. More... | |
const void * | datachunk () const |
Get data chunk. More... | |
unsigned int | datasize () const |
Get data size. More... | |
const char * | type () const |
Get type of interface. More... | |
const char * | id () const |
Get identifier of interface. More... | |
const char * | uid () const |
Get unique identifier of interface. More... | |
unsigned short | serial () const |
Get instance serial of interface. More... | |
unsigned int | mem_serial () const |
Get memory serial of interface. More... | |
bool | operator== (Interface &comp) const |
Check equality of two interfaces. More... | |
const unsigned char * | hash () const |
Get interface hash. More... | |
size_t | hash_size () const |
Get size of interface hash. More... | |
const char * | hash_printable () const |
Get printable interface hash. More... | |
bool | is_writer () const |
Check if this is a writing instance. More... | |
void | set_validity (bool valid) |
Mark this interface invalid. More... | |
bool | is_valid () const |
Check validity of interface. More... | |
const char * | owner () const |
Get owner of interface. More... | |
void | set_from_chunk (void *chunk) |
Set from a raw data chunk. More... | |
void | resize_buffers (unsigned int num_buffers) |
Resize buffer array. More... | |
unsigned int | num_buffers () const |
Get number of buffers. More... | |
void | copy_shared_to_buffer (unsigned int buffer) |
Copy data from private memory to buffer. More... | |
void | copy_private_to_buffer (unsigned int buffer) |
Copy data from private memory to buffer. More... | |
void | read_from_buffer (unsigned int buffer) |
Copy data from buffer to private memory. More... | |
int | compare_buffers (unsigned int buffer) |
Compare buffer to private memory. More... | |
Time | buffer_timestamp (unsigned int buffer) |
Get time of a buffer. More... | |
void | buffer_timestamp (unsigned int buffer, Time *timestamp) |
Get time of a buffer. More... | |
void | read () |
Read from BlackBoard into local copy. More... | |
void | write () |
Write from local copy into BlackBoard memory. More... | |
bool | has_writer () const |
Check if there is a writer for the interface. More... | |
unsigned int | num_readers () const |
Get the number of readers. More... | |
std::string | writer () const |
Get owner name of writing interface instance. More... | |
std::list< std::string > | readers () const |
Get owner names of reading interface instances. More... | |
bool | changed () const |
Check if data has been changed. More... | |
const Time * | timestamp () const |
Get timestamp of last write. More... | |
void | set_auto_timestamping (bool enabled) |
Enable or disable automated timestamping. More... | |
void | set_timestamp (const Time *t=NULL) |
Set timestamp. More... | |
void | set_clock (Clock *clock) |
Set clock to use for timestamping. More... | |
void | mark_data_changed () |
Mark data as changed. More... | |
std::list< const char * > | get_message_types () |
Obtain a list of textual representations of the message types available for this interface. More... | |
unsigned int | msgq_enqueue (Message *message) |
Enqueue message at end of queue. More... | |
unsigned int | msgq_enqueue_copy (Message *message) |
Enqueue copy of message at end of queue. More... | |
void | msgq_remove (Message *message) |
Remove message from queue. More... | |
void | msgq_remove (unsigned int message_id) |
Remove message from queue. More... | |
unsigned int | msgq_size () |
Get size of message queue. More... | |
void | msgq_flush () |
Flush all messages. More... | |
void | msgq_lock () |
Lock message queue. More... | |
bool | msgq_try_lock () |
Try to lock message queue. More... | |
void | msgq_unlock () |
Unlock message queue. More... | |
void | msgq_pop () |
Erase first message from queue. More... | |
Message * | msgq_first () |
Get the first message from the message queue. More... | |
bool | msgq_empty () |
Check if queue is empty. More... | |
void | msgq_append (Message *message) |
Enqueue message. More... | |
template<class MessageType > | |
bool | msgq_first_is () |
Check if first message has desired type. More... | |
template<class MessageType > | |
MessageType * | msgq_first () |
Get first message casted to the desired type. More... | |
template<class MessageType > | |
MessageType * | msgq_first (MessageType *&msg) |
Get first message casted to the desired type. More... | |
template<class MessageType > | |
MessageType * | msgq_first_safe (MessageType *&msg) throw () |
Get first message casted to the desired type without exceptions. More... | |
MessageQueue::MessageIterator | msgq_begin () |
Get start iterator for message queue. More... | |
MessageQueue::MessageIterator | msgq_end () |
Get end iterator for message queue. More... | |
InterfaceFieldIterator | fields () |
Get iterator over all fields of this interface instance. More... | |
InterfaceFieldIterator | fields_end () |
Invalid iterator. More... | |
unsigned int | num_fields () |
Get the number of fields in the interface. More... | |
Additional Inherited Members | |
![]() | |
static void | parse_uid (const char *uid, std::string &type, std::string &id) |
Parse UID to type and ID strings. More... | |
![]() | |
Interface () | |
Constructor. More... | |
void | set_hash (unsigned char *ihash) |
Set hash. More... | |
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. More... | |
void | add_messageinfo (const char *name) |
Add an entry to the message info list. More... | |
![]() | |
void * | data_ptr |
unsigned int | data_size |
bool | data_changed |
interface_data_ts_t * | data_ts |
NaoJointStiffnessInterface Fawkes BlackBoard Interface.
This interface provides access to Nao joint stiffness.
Definition at line 39 of file NaoJointStiffnessInterface.h.
|
virtual |
Copy values from other interface.
other | other interface to copy values from |
Implements fawkes::Interface.
Definition at line 963 of file NaoJointStiffnessInterface.cpp.
|
virtual |
Create message based on type name. This will create a new message of the given type. The type must be given without the InterfaceName:: prefix but just the plain class name of the message.
type | message type |
UnknownTypeException | thrown if this interface cannot create a message of the given type. |
Implements fawkes::Interface.
Definition at line 944 of file NaoJointStiffnessInterface.cpp.
|
virtual |
Convert arbitrary enum value to string. Given the string representation of the enum type and the value this method returns the string representation of the specific value, or the string UNKNOWN if the value is not defined. An exception is thrown if the enum type is invalid.
enumtype | enum type as string |
val | value to convert |
UnknownTypeException | thrown if enumtype is not specified for interface. |
Implements fawkes::Interface.
Definition at line 974 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_ptr, and fawkes::Interface::data_size.
float fawkes::NaoJointStiffnessInterface::head_pitch | ( | ) | const |
Get head_pitch value.
Head pitch
Definition at line 135 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::head_yaw | ( | ) | const |
Get head_yaw value.
Head yaw
Definition at line 104 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::l_ankle_pitch | ( | ) | const |
Get l_ankle_pitch value.
Left ankle pitch
Definition at line 476 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::l_ankle_roll | ( | ) | const |
Get l_ankle_roll value.
Left ankle roll
Definition at line 507 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::l_elbow_roll | ( | ) | const |
Get l_elbow_roll value.
Left elbow roll
Definition at line 259 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::l_elbow_yaw | ( | ) | const |
Get l_elbow_yaw value.
Left elbow yaw
Definition at line 228 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::l_hand | ( | ) | const |
Get l_hand value.
Left hand
Definition at line 321 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::l_hip_pitch | ( | ) | const |
Get l_hip_pitch value.
Left hip pitch
Definition at line 414 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::l_hip_roll | ( | ) | const |
Get l_hip_roll value.
Left hip roll
Definition at line 383 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::l_hip_yaw_pitch | ( | ) | const |
Get l_hip_yaw_pitch value.
Left hip yaw pitch
Definition at line 352 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::l_knee_pitch | ( | ) | const |
Get l_knee_pitch value.
Left knee pitch
Definition at line 445 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::l_shoulder_pitch | ( | ) | const |
Get l_shoulder_pitch value.
Left shoulder pitch
Definition at line 166 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::l_shoulder_roll | ( | ) | const |
Get l_shoulder_roll value.
Left shoulder roll
Definition at line 197 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::l_wrist_yaw | ( | ) | const |
Get l_wrist_yaw value.
Left wrist yaw
Definition at line 290 of file NaoJointStiffnessInterface.cpp.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_head_pitch | ( | ) | const |
Get maximum length of head_pitch value.
Definition at line 145 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_head_yaw | ( | ) | const |
Get maximum length of head_yaw value.
Definition at line 114 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_l_ankle_pitch | ( | ) | const |
Get maximum length of l_ankle_pitch value.
Definition at line 486 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_l_ankle_roll | ( | ) | const |
Get maximum length of l_ankle_roll value.
Definition at line 517 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_l_elbow_roll | ( | ) | const |
Get maximum length of l_elbow_roll value.
Definition at line 269 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_l_elbow_yaw | ( | ) | const |
Get maximum length of l_elbow_yaw value.
Definition at line 238 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_l_hand | ( | ) | const |
Get maximum length of l_hand value.
Definition at line 331 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_l_hip_pitch | ( | ) | const |
Get maximum length of l_hip_pitch value.
Definition at line 424 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_l_hip_roll | ( | ) | const |
Get maximum length of l_hip_roll value.
Definition at line 393 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_l_hip_yaw_pitch | ( | ) | const |
Get maximum length of l_hip_yaw_pitch value.
Definition at line 362 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_l_knee_pitch | ( | ) | const |
Get maximum length of l_knee_pitch value.
Definition at line 455 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_l_shoulder_pitch | ( | ) | const |
Get maximum length of l_shoulder_pitch value.
Definition at line 176 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_l_shoulder_roll | ( | ) | const |
Get maximum length of l_shoulder_roll value.
Definition at line 207 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_l_wrist_yaw | ( | ) | const |
Get maximum length of l_wrist_yaw value.
Definition at line 300 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_minimum | ( | ) | const |
Get maximum length of minimum value.
Definition at line 923 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_r_ankle_pitch | ( | ) | const |
Get maximum length of r_ankle_pitch value.
Definition at line 858 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_r_ankle_roll | ( | ) | const |
Get maximum length of r_ankle_roll value.
Definition at line 889 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_r_elbow_roll | ( | ) | const |
Get maximum length of r_elbow_roll value.
Definition at line 641 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_r_elbow_yaw | ( | ) | const |
Get maximum length of r_elbow_yaw value.
Definition at line 610 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_r_hand | ( | ) | const |
Get maximum length of r_hand value.
Definition at line 703 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_r_hip_pitch | ( | ) | const |
Get maximum length of r_hip_pitch value.
Definition at line 796 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_r_hip_roll | ( | ) | const |
Get maximum length of r_hip_roll value.
Definition at line 765 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_r_hip_yaw_pitch | ( | ) | const |
Get maximum length of r_hip_yaw_pitch value.
Definition at line 734 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_r_knee_pitch | ( | ) | const |
Get maximum length of r_knee_pitch value.
Definition at line 827 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_r_shoulder_pitch | ( | ) | const |
Get maximum length of r_shoulder_pitch value.
Definition at line 548 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_r_shoulder_roll | ( | ) | const |
Get maximum length of r_shoulder_roll value.
Definition at line 579 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
size_t fawkes::NaoJointStiffnessInterface::maxlenof_r_wrist_yaw | ( | ) | const |
Get maximum length of r_wrist_yaw value.
Definition at line 672 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::data_changed.
|
virtual |
Check if message is valid and can be enqueued.
message | Message to check |
Implements fawkes::Interface.
Definition at line 2251 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::minimum | ( | ) | const |
Get minimum value.
Minimum stiffness of all joints. On the RoboCup version of the Nao this ignores the hand and wrist values.
Definition at line 913 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::r_ankle_pitch | ( | ) | const |
Get r_ankle_pitch value.
Right ankle pitch
Definition at line 848 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::r_ankle_roll | ( | ) | const |
Get r_ankle_roll value.
Right ankle roll
Definition at line 879 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::r_elbow_roll | ( | ) | const |
Get r_elbow_roll value.
Right elbow roll
Definition at line 631 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::r_elbow_yaw | ( | ) | const |
Get r_elbow_yaw value.
Right elbow yaw
Definition at line 600 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::r_hand | ( | ) | const |
Get r_hand value.
Right hand
Definition at line 693 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::r_hip_pitch | ( | ) | const |
Get r_hip_pitch value.
Right hip pitch
Definition at line 786 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::r_hip_roll | ( | ) | const |
Get r_hip_roll value.
Right hip roll
Definition at line 755 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::r_hip_yaw_pitch | ( | ) | const |
Get r_hip_yaw_pitch value.
Right hip yaw pitch
Definition at line 724 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::r_knee_pitch | ( | ) | const |
Get r_knee_pitch value.
Right knee pitch
Definition at line 817 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::r_shoulder_pitch | ( | ) | const |
Get r_shoulder_pitch value.
Right shoulder pitch
Definition at line 538 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::r_shoulder_roll | ( | ) | const |
Get r_shoulder_roll value.
Right shoulder roll
Definition at line 569 of file NaoJointStiffnessInterface.cpp.
float fawkes::NaoJointStiffnessInterface::r_wrist_yaw | ( | ) | const |
Get r_wrist_yaw value.
Right wrist yaw
Definition at line 662 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_head_pitch | ( | const float | new_head_pitch | ) |
Set head_pitch value.
Head pitch
new_head_pitch | new head_pitch value |
Definition at line 155 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_head_yaw | ( | const float | new_head_yaw | ) |
Set head_yaw value.
Head yaw
new_head_yaw | new head_yaw value |
Definition at line 124 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_l_ankle_pitch | ( | const float | new_l_ankle_pitch | ) |
Set l_ankle_pitch value.
Left ankle pitch
new_l_ankle_pitch | new l_ankle_pitch value |
Definition at line 496 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_l_ankle_roll | ( | const float | new_l_ankle_roll | ) |
Set l_ankle_roll value.
Left ankle roll
new_l_ankle_roll | new l_ankle_roll value |
Definition at line 527 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_l_elbow_roll | ( | const float | new_l_elbow_roll | ) |
Set l_elbow_roll value.
Left elbow roll
new_l_elbow_roll | new l_elbow_roll value |
Definition at line 279 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_l_elbow_yaw | ( | const float | new_l_elbow_yaw | ) |
Set l_elbow_yaw value.
Left elbow yaw
new_l_elbow_yaw | new l_elbow_yaw value |
Definition at line 248 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_l_hand | ( | const float | new_l_hand | ) |
Set l_hand value.
Left hand
new_l_hand | new l_hand value |
Definition at line 341 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_l_hip_pitch | ( | const float | new_l_hip_pitch | ) |
Set l_hip_pitch value.
Left hip pitch
new_l_hip_pitch | new l_hip_pitch value |
Definition at line 434 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_l_hip_roll | ( | const float | new_l_hip_roll | ) |
Set l_hip_roll value.
Left hip roll
new_l_hip_roll | new l_hip_roll value |
Definition at line 403 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_l_hip_yaw_pitch | ( | const float | new_l_hip_yaw_pitch | ) |
Set l_hip_yaw_pitch value.
Left hip yaw pitch
new_l_hip_yaw_pitch | new l_hip_yaw_pitch value |
Definition at line 372 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_l_knee_pitch | ( | const float | new_l_knee_pitch | ) |
Set l_knee_pitch value.
Left knee pitch
new_l_knee_pitch | new l_knee_pitch value |
Definition at line 465 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_l_shoulder_pitch | ( | const float | new_l_shoulder_pitch | ) |
Set l_shoulder_pitch value.
Left shoulder pitch
new_l_shoulder_pitch | new l_shoulder_pitch value |
Definition at line 186 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_l_shoulder_roll | ( | const float | new_l_shoulder_roll | ) |
Set l_shoulder_roll value.
Left shoulder roll
new_l_shoulder_roll | new l_shoulder_roll value |
Definition at line 217 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_l_wrist_yaw | ( | const float | new_l_wrist_yaw | ) |
Set l_wrist_yaw value.
Left wrist yaw
new_l_wrist_yaw | new l_wrist_yaw value |
Definition at line 310 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_minimum | ( | const float | new_minimum | ) |
Set minimum value.
Minimum stiffness of all joints. On the RoboCup version of the Nao this ignores the hand and wrist values.
new_minimum | new minimum value |
Definition at line 936 of file NaoJointStiffnessInterface.cpp.
References fawkes::Interface::type().
void fawkes::NaoJointStiffnessInterface::set_r_ankle_pitch | ( | const float | new_r_ankle_pitch | ) |
Set r_ankle_pitch value.
Right ankle pitch
new_r_ankle_pitch | new r_ankle_pitch value |
Definition at line 868 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_r_ankle_roll | ( | const float | new_r_ankle_roll | ) |
Set r_ankle_roll value.
Right ankle roll
new_r_ankle_roll | new r_ankle_roll value |
Definition at line 899 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_r_elbow_roll | ( | const float | new_r_elbow_roll | ) |
Set r_elbow_roll value.
Right elbow roll
new_r_elbow_roll | new r_elbow_roll value |
Definition at line 651 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_r_elbow_yaw | ( | const float | new_r_elbow_yaw | ) |
Set r_elbow_yaw value.
Right elbow yaw
new_r_elbow_yaw | new r_elbow_yaw value |
Definition at line 620 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_r_hand | ( | const float | new_r_hand | ) |
Set r_hand value.
Right hand
new_r_hand | new r_hand value |
Definition at line 713 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_r_hip_pitch | ( | const float | new_r_hip_pitch | ) |
Set r_hip_pitch value.
Right hip pitch
new_r_hip_pitch | new r_hip_pitch value |
Definition at line 806 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_r_hip_roll | ( | const float | new_r_hip_roll | ) |
Set r_hip_roll value.
Right hip roll
new_r_hip_roll | new r_hip_roll value |
Definition at line 775 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_r_hip_yaw_pitch | ( | const float | new_r_hip_yaw_pitch | ) |
Set r_hip_yaw_pitch value.
Right hip yaw pitch
new_r_hip_yaw_pitch | new r_hip_yaw_pitch value |
Definition at line 744 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_r_knee_pitch | ( | const float | new_r_knee_pitch | ) |
Set r_knee_pitch value.
Right knee pitch
new_r_knee_pitch | new r_knee_pitch value |
Definition at line 837 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_r_shoulder_pitch | ( | const float | new_r_shoulder_pitch | ) |
Set r_shoulder_pitch value.
Right shoulder pitch
new_r_shoulder_pitch | new r_shoulder_pitch value |
Definition at line 558 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_r_shoulder_roll | ( | const float | new_r_shoulder_roll | ) |
Set r_shoulder_roll value.
Right shoulder roll
new_r_shoulder_roll | new r_shoulder_roll value |
Definition at line 589 of file NaoJointStiffnessInterface.cpp.
void fawkes::NaoJointStiffnessInterface::set_r_wrist_yaw | ( | const float | new_r_wrist_yaw | ) |
Set r_wrist_yaw value.
Right wrist yaw
new_r_wrist_yaw | new r_wrist_yaw value |
Definition at line 682 of file NaoJointStiffnessInterface.cpp.