Fawkes API  Fawkes Development Version
fawkes::NaoJointPositionInterface::SetServosMessage Class Reference

#include <>>

Inheritance diagram for fawkes::NaoJointPositionInterface::SetServosMessage:

Public Member Functions

 SetServosMessage (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_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_l_wrist_yaw, const float ini_l_hand, const float ini_r_shoulder_pitch, const float ini_r_shoulder_roll, const float ini_r_elbow_yaw, const float ini_r_elbow_roll, 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 int32_t ini_time)
 Constructor with initial values. More...
 
 SetServosMessage ()
 Constructor. More...
 
 ~SetServosMessage ()
 Destructor. More...
 
 SetServosMessage (const SetServosMessage *m)
 Copy constructor. 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_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 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 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...
 
int32_t time () const
 Get time value. More...
 
void set_time (const int32_t new_time)
 Set time value. More...
 
size_t maxlenof_time () const
 Get maximum length of time value. More...
 
virtual Messageclone () const
 Clone this message. More...
 
- Public Member Functions inherited from fawkes::Message
 Message (const char *type)
 Constructor. More...
 
 Message (const Message *mesg)
 Copy constructor. More...
 
 Message (const Message &mesg)
 Copy constructor. More...
 
virtual ~Message ()
 Destructor. More...
 
Messageoperator= (const Message &m)
 Assign this message to given message. More...
 
unsigned int id () const
 Get message ID. More...
 
void set_id (unsigned int message_id)
 Set message ID. More...
 
void mark_enqueued ()
 Mark message as being enqueued. More...
 
bool enqueued () const
 Check is message has been enqueued. More...
 
const Timetime_enqueued () const
 Get time when message was enqueued. More...
 
unsigned int sender_id () const
 Get ID of sender. More...
 
const char * sender_thread_name () const
 Get sender of message. More...
 
Interfaceinterface () const
 Get transmitting interface. More...
 
const char * type () const
 Get message type. More...
 
InterfaceFieldIterator fields ()
 Get iterator over all fields of this interface instance. More...
 
InterfaceFieldIterator fields_end ()
 Invalid iterator. More...
 
unsigned int num_fields () const
 Get the number of fields in the message. More...
 
const void * datachunk () const
 Get pointer to data. More...
 
unsigned int datasize () const
 Get size of data. More...
 
unsigned int hops () const
 Get number of hops. More...
 
void set_hops (unsigned int hops)
 Set number of hops. More...
 
void set_from_chunk (const void *chunk)
 Set from raw data chunk. More...
 
unsigned int recipient () const
 Get recipient memory serial. More...
 
template<class MessageType >
bool is_of_type ()
 Check if message has desired type. More...
 
template<class MessageType >
MessageType * as_type ()
 Cast message to given type if possible. More...
 
- Public Member Functions inherited from fawkes::RefCount
 RefCount ()
 Constructor. More...
 
virtual ~RefCount ()
 Destructor. More...
 
void ref ()
 Increment reference count. More...
 
void unref ()
 Decrement reference count and conditionally delete this instance. More...
 
unsigned int refcount ()
 Get reference count for this instance. More...
 

Additional Inherited Members

- Protected Member Functions inherited from fawkes::Message
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. More...
 
- Protected Attributes inherited from fawkes::Message
void * data_ptr
 
unsigned int data_size
 
message_data_ts_tdata_ts
 data timestamp aliasing pointer More...
 

Detailed Description

Constructor & Destructor Documentation

◆ SetServosMessage() [1/3]

fawkes::NaoJointPositionInterface::SetServosMessage::SetServosMessage ( 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_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_l_wrist_yaw,
const float  ini_l_hand,
const float  ini_r_shoulder_pitch,
const float  ini_r_shoulder_roll,
const float  ini_r_elbow_yaw,
const float  ini_r_elbow_roll,
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 int32_t  ini_time 
)

Constructor with initial values.

Parameters
ini_head_yawinitial value for head_yaw
ini_head_pitchinitial value for head_pitch
ini_l_shoulder_pitchinitial value for l_shoulder_pitch
ini_l_shoulder_rollinitial value for l_shoulder_roll
ini_l_elbow_yawinitial value for l_elbow_yaw
ini_l_elbow_rollinitial value for l_elbow_roll
ini_l_hip_yaw_pitchinitial value for l_hip_yaw_pitch
ini_l_hip_rollinitial value for l_hip_roll
ini_l_hip_pitchinitial value for l_hip_pitch
ini_l_knee_pitchinitial value for l_knee_pitch
ini_l_ankle_pitchinitial value for l_ankle_pitch
ini_l_ankle_rollinitial value for l_ankle_roll
ini_l_wrist_yawinitial value for l_wrist_yaw
ini_l_handinitial value for l_hand
ini_r_shoulder_pitchinitial value for r_shoulder_pitch
ini_r_shoulder_rollinitial value for r_shoulder_roll
ini_r_elbow_yawinitial value for r_elbow_yaw
ini_r_elbow_rollinitial value for r_elbow_roll
ini_r_wrist_yawinitial value for r_wrist_yaw
ini_r_handinitial value for r_hand
ini_r_hip_yaw_pitchinitial value for r_hip_yaw_pitch
ini_r_hip_rollinitial value for r_hip_roll
ini_r_hip_pitchinitial value for r_hip_pitch
ini_r_knee_pitchinitial value for r_knee_pitch
ini_r_ankle_pitchinitial value for r_ankle_pitch
ini_r_ankle_rollinitial value for r_ankle_roll
ini_timeinitial value for time

Definition at line 1376 of file NaoJointPositionInterface.cpp.

◆ SetServosMessage() [2/3]

fawkes::NaoJointPositionInterface::SetServosMessage::SetServosMessage ( )

Constructor.

Definition at line 1441 of file NaoJointPositionInterface.cpp.

◆ ~SetServosMessage()

fawkes::NaoJointPositionInterface::SetServosMessage::~SetServosMessage ( )

Destructor.

Definition at line 1480 of file NaoJointPositionInterface.cpp.

References fawkes::Message::data_ptr, and fawkes::Message::data_size.

◆ SetServosMessage() [3/3]

fawkes::NaoJointPositionInterface::SetServosMessage::SetServosMessage ( const SetServosMessage m)
explicit

Copy constructor.

Parameters
mmessage to copy from

Definition at line 1488 of file NaoJointPositionInterface.cpp.

Member Function Documentation

◆ clone()

Message * fawkes::NaoJointPositionInterface::SetServosMessage::clone ( ) const
virtual

Clone this message.

Produces a message of the same type as this message and copies the data to the new message.

Returns
clone of this message

Reimplemented from fawkes::Message.

Definition at line 2322 of file NaoJointPositionInterface.cpp.

References fawkes::Message::data_ptr, and fawkes::Message::data_size.

◆ head_pitch()

float fawkes::NaoJointPositionInterface::SetServosMessage::head_pitch ( ) const

Get head_pitch value.

Head pitch

Returns
head_pitch value

Definition at line 1533 of file NaoJointPositionInterface.cpp.

◆ head_yaw()

float fawkes::NaoJointPositionInterface::SetServosMessage::head_yaw ( ) const

Get head_yaw value.

Head yaw

Returns
head_yaw value

Definition at line 1503 of file NaoJointPositionInterface.cpp.

◆ l_ankle_pitch()

float fawkes::NaoJointPositionInterface::SetServosMessage::l_ankle_pitch ( ) const

Get l_ankle_pitch value.

Left ankle pitch

Returns
l_ankle_pitch value

Definition at line 1803 of file NaoJointPositionInterface.cpp.

◆ l_ankle_roll()

float fawkes::NaoJointPositionInterface::SetServosMessage::l_ankle_roll ( ) const

Get l_ankle_roll value.

Left ankle roll

Returns
l_ankle_roll value

Definition at line 1833 of file NaoJointPositionInterface.cpp.

◆ l_elbow_roll()

float fawkes::NaoJointPositionInterface::SetServosMessage::l_elbow_roll ( ) const

Get l_elbow_roll value.

Left elbow roll

Returns
l_elbow_roll value

Definition at line 1653 of file NaoJointPositionInterface.cpp.

◆ l_elbow_yaw()

float fawkes::NaoJointPositionInterface::SetServosMessage::l_elbow_yaw ( ) const

Get l_elbow_yaw value.

Left elbow yaw

Returns
l_elbow_yaw value

Definition at line 1623 of file NaoJointPositionInterface.cpp.

◆ l_hand()

float fawkes::NaoJointPositionInterface::SetServosMessage::l_hand ( ) const

Get l_hand value.

Left hand

Returns
l_hand value

Definition at line 1893 of file NaoJointPositionInterface.cpp.

◆ l_hip_pitch()

float fawkes::NaoJointPositionInterface::SetServosMessage::l_hip_pitch ( ) const

Get l_hip_pitch value.

Left hip pitch

Returns
l_hip_pitch value

Definition at line 1743 of file NaoJointPositionInterface.cpp.

◆ l_hip_roll()

float fawkes::NaoJointPositionInterface::SetServosMessage::l_hip_roll ( ) const

Get l_hip_roll value.

Left hip roll

Returns
l_hip_roll value

Definition at line 1713 of file NaoJointPositionInterface.cpp.

◆ l_hip_yaw_pitch()

float fawkes::NaoJointPositionInterface::SetServosMessage::l_hip_yaw_pitch ( ) const

Get l_hip_yaw_pitch value.

Left hip yaw pitch

Returns
l_hip_yaw_pitch value

Definition at line 1683 of file NaoJointPositionInterface.cpp.

◆ l_knee_pitch()

float fawkes::NaoJointPositionInterface::SetServosMessage::l_knee_pitch ( ) const

Get l_knee_pitch value.

Left knee pitch

Returns
l_knee_pitch value

Definition at line 1773 of file NaoJointPositionInterface.cpp.

◆ l_shoulder_pitch()

float fawkes::NaoJointPositionInterface::SetServosMessage::l_shoulder_pitch ( ) const

Get l_shoulder_pitch value.

Left shoulder pitch

Returns
l_shoulder_pitch value

Definition at line 1563 of file NaoJointPositionInterface.cpp.

◆ l_shoulder_roll()

float fawkes::NaoJointPositionInterface::SetServosMessage::l_shoulder_roll ( ) const

Get l_shoulder_roll value.

Left shoulder roll

Returns
l_shoulder_roll value

Definition at line 1593 of file NaoJointPositionInterface.cpp.

◆ l_wrist_yaw()

float fawkes::NaoJointPositionInterface::SetServosMessage::l_wrist_yaw ( ) const

Get l_wrist_yaw value.

Left wrist yaw

Returns
l_wrist_yaw value

Definition at line 1863 of file NaoJointPositionInterface.cpp.

◆ maxlenof_head_pitch()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_head_pitch ( ) const

Get maximum length of head_pitch value.

Returns
length of head_pitch value, can be length of the array or number of maximum number of characters for a string

Definition at line 1543 of file NaoJointPositionInterface.cpp.

◆ maxlenof_head_yaw()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_head_yaw ( ) const

Get maximum length of head_yaw value.

Returns
length of head_yaw value, can be length of the array or number of maximum number of characters for a string

Definition at line 1513 of file NaoJointPositionInterface.cpp.

◆ maxlenof_l_ankle_pitch()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_l_ankle_pitch ( ) const

Get maximum length of l_ankle_pitch value.

Returns
length of l_ankle_pitch value, can be length of the array or number of maximum number of characters for a string

Definition at line 1813 of file NaoJointPositionInterface.cpp.

◆ maxlenof_l_ankle_roll()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_l_ankle_roll ( ) const

Get maximum length of l_ankle_roll value.

Returns
length of l_ankle_roll value, can be length of the array or number of maximum number of characters for a string

Definition at line 1843 of file NaoJointPositionInterface.cpp.

◆ maxlenof_l_elbow_roll()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_l_elbow_roll ( ) const

Get maximum length of l_elbow_roll value.

Returns
length of l_elbow_roll value, can be length of the array or number of maximum number of characters for a string

Definition at line 1663 of file NaoJointPositionInterface.cpp.

◆ maxlenof_l_elbow_yaw()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_l_elbow_yaw ( ) const

Get maximum length of l_elbow_yaw value.

Returns
length of l_elbow_yaw value, can be length of the array or number of maximum number of characters for a string

Definition at line 1633 of file NaoJointPositionInterface.cpp.

◆ maxlenof_l_hand()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_l_hand ( ) const

Get maximum length of l_hand value.

Returns
length of l_hand value, can be length of the array or number of maximum number of characters for a string

Definition at line 1903 of file NaoJointPositionInterface.cpp.

◆ maxlenof_l_hip_pitch()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_l_hip_pitch ( ) const

Get maximum length of l_hip_pitch value.

Returns
length of l_hip_pitch value, can be length of the array or number of maximum number of characters for a string

Definition at line 1753 of file NaoJointPositionInterface.cpp.

◆ maxlenof_l_hip_roll()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_l_hip_roll ( ) const

Get maximum length of l_hip_roll value.

Returns
length of l_hip_roll value, can be length of the array or number of maximum number of characters for a string

Definition at line 1723 of file NaoJointPositionInterface.cpp.

◆ maxlenof_l_hip_yaw_pitch()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_l_hip_yaw_pitch ( ) const

Get maximum length of l_hip_yaw_pitch value.

Returns
length of l_hip_yaw_pitch value, can be length of the array or number of maximum number of characters for a string

Definition at line 1693 of file NaoJointPositionInterface.cpp.

◆ maxlenof_l_knee_pitch()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_l_knee_pitch ( ) const

Get maximum length of l_knee_pitch value.

Returns
length of l_knee_pitch value, can be length of the array or number of maximum number of characters for a string

Definition at line 1783 of file NaoJointPositionInterface.cpp.

◆ maxlenof_l_shoulder_pitch()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_l_shoulder_pitch ( ) const

Get maximum length of l_shoulder_pitch value.

Returns
length of l_shoulder_pitch value, can be length of the array or number of maximum number of characters for a string

Definition at line 1573 of file NaoJointPositionInterface.cpp.

◆ maxlenof_l_shoulder_roll()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_l_shoulder_roll ( ) const

Get maximum length of l_shoulder_roll value.

Returns
length of l_shoulder_roll value, can be length of the array or number of maximum number of characters for a string

Definition at line 1603 of file NaoJointPositionInterface.cpp.

◆ maxlenof_l_wrist_yaw()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_l_wrist_yaw ( ) const

Get maximum length of l_wrist_yaw value.

Returns
length of l_wrist_yaw value, can be length of the array or number of maximum number of characters for a string

Definition at line 1873 of file NaoJointPositionInterface.cpp.

◆ maxlenof_r_ankle_pitch()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_r_ankle_pitch ( ) const

Get maximum length of r_ankle_pitch value.

Returns
length of r_ankle_pitch value, can be length of the array or number of maximum number of characters for a string

Definition at line 2233 of file NaoJointPositionInterface.cpp.

◆ maxlenof_r_ankle_roll()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_r_ankle_roll ( ) const

Get maximum length of r_ankle_roll value.

Returns
length of r_ankle_roll value, can be length of the array or number of maximum number of characters for a string

Definition at line 2263 of file NaoJointPositionInterface.cpp.

◆ maxlenof_r_elbow_roll()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_r_elbow_roll ( ) const

Get maximum length of r_elbow_roll value.

Returns
length of r_elbow_roll value, can be length of the array or number of maximum number of characters for a string

Definition at line 2023 of file NaoJointPositionInterface.cpp.

◆ maxlenof_r_elbow_yaw()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_r_elbow_yaw ( ) const

Get maximum length of r_elbow_yaw value.

Returns
length of r_elbow_yaw value, can be length of the array or number of maximum number of characters for a string

Definition at line 1993 of file NaoJointPositionInterface.cpp.

◆ maxlenof_r_hand()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_r_hand ( ) const

Get maximum length of r_hand value.

Returns
length of r_hand value, can be length of the array or number of maximum number of characters for a string

Definition at line 2083 of file NaoJointPositionInterface.cpp.

◆ maxlenof_r_hip_pitch()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_r_hip_pitch ( ) const

Get maximum length of r_hip_pitch value.

Returns
length of r_hip_pitch value, can be length of the array or number of maximum number of characters for a string

Definition at line 2173 of file NaoJointPositionInterface.cpp.

◆ maxlenof_r_hip_roll()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_r_hip_roll ( ) const

Get maximum length of r_hip_roll value.

Returns
length of r_hip_roll value, can be length of the array or number of maximum number of characters for a string

Definition at line 2143 of file NaoJointPositionInterface.cpp.

◆ maxlenof_r_hip_yaw_pitch()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_r_hip_yaw_pitch ( ) const

Get maximum length of r_hip_yaw_pitch value.

Returns
length of r_hip_yaw_pitch value, can be length of the array or number of maximum number of characters for a string

Definition at line 2113 of file NaoJointPositionInterface.cpp.

◆ maxlenof_r_knee_pitch()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_r_knee_pitch ( ) const

Get maximum length of r_knee_pitch value.

Returns
length of r_knee_pitch value, can be length of the array or number of maximum number of characters for a string

Definition at line 2203 of file NaoJointPositionInterface.cpp.

◆ maxlenof_r_shoulder_pitch()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_r_shoulder_pitch ( ) const

Get maximum length of r_shoulder_pitch value.

Returns
length of r_shoulder_pitch value, can be length of the array or number of maximum number of characters for a string

Definition at line 1933 of file NaoJointPositionInterface.cpp.

◆ maxlenof_r_shoulder_roll()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_r_shoulder_roll ( ) const

Get maximum length of r_shoulder_roll value.

Returns
length of r_shoulder_roll value, can be length of the array or number of maximum number of characters for a string

Definition at line 1963 of file NaoJointPositionInterface.cpp.

◆ maxlenof_r_wrist_yaw()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_r_wrist_yaw ( ) const

Get maximum length of r_wrist_yaw value.

Returns
length of r_wrist_yaw value, can be length of the array or number of maximum number of characters for a string

Definition at line 2053 of file NaoJointPositionInterface.cpp.

◆ maxlenof_time()

size_t fawkes::NaoJointPositionInterface::SetServosMessage::maxlenof_time ( ) const

Get maximum length of time value.

Returns
length of time value, can be length of the array or number of maximum number of characters for a string

Definition at line 2297 of file NaoJointPositionInterface.cpp.

◆ r_ankle_pitch()

float fawkes::NaoJointPositionInterface::SetServosMessage::r_ankle_pitch ( ) const

Get r_ankle_pitch value.

Right ankle pitch

Returns
r_ankle_pitch value

Definition at line 2223 of file NaoJointPositionInterface.cpp.

◆ r_ankle_roll()

float fawkes::NaoJointPositionInterface::SetServosMessage::r_ankle_roll ( ) const

Get r_ankle_roll value.

Right ankle roll

Returns
r_ankle_roll value

Definition at line 2253 of file NaoJointPositionInterface.cpp.

◆ r_elbow_roll()

float fawkes::NaoJointPositionInterface::SetServosMessage::r_elbow_roll ( ) const

Get r_elbow_roll value.

Right elbow roll

Returns
r_elbow_roll value

Definition at line 2013 of file NaoJointPositionInterface.cpp.

◆ r_elbow_yaw()

float fawkes::NaoJointPositionInterface::SetServosMessage::r_elbow_yaw ( ) const

Get r_elbow_yaw value.

Right elbow yaw

Returns
r_elbow_yaw value

Definition at line 1983 of file NaoJointPositionInterface.cpp.

◆ r_hand()

float fawkes::NaoJointPositionInterface::SetServosMessage::r_hand ( ) const

Get r_hand value.

Right hand

Returns
r_hand value

Definition at line 2073 of file NaoJointPositionInterface.cpp.

◆ r_hip_pitch()

float fawkes::NaoJointPositionInterface::SetServosMessage::r_hip_pitch ( ) const

Get r_hip_pitch value.

Right hip pitch

Returns
r_hip_pitch value

Definition at line 2163 of file NaoJointPositionInterface.cpp.

◆ r_hip_roll()

float fawkes::NaoJointPositionInterface::SetServosMessage::r_hip_roll ( ) const

Get r_hip_roll value.

Right hip roll

Returns
r_hip_roll value

Definition at line 2133 of file NaoJointPositionInterface.cpp.

◆ r_hip_yaw_pitch()

float fawkes::NaoJointPositionInterface::SetServosMessage::r_hip_yaw_pitch ( ) const

Get r_hip_yaw_pitch value.

Right hip yaw pitch

Returns
r_hip_yaw_pitch value

Definition at line 2103 of file NaoJointPositionInterface.cpp.

◆ r_knee_pitch()

float fawkes::NaoJointPositionInterface::SetServosMessage::r_knee_pitch ( ) const

Get r_knee_pitch value.

Right knee pitch

Returns
r_knee_pitch value

Definition at line 2193 of file NaoJointPositionInterface.cpp.

◆ r_shoulder_pitch()

float fawkes::NaoJointPositionInterface::SetServosMessage::r_shoulder_pitch ( ) const

Get r_shoulder_pitch value.

Right shoulder pitch

Returns
r_shoulder_pitch value

Definition at line 1923 of file NaoJointPositionInterface.cpp.

◆ r_shoulder_roll()

float fawkes::NaoJointPositionInterface::SetServosMessage::r_shoulder_roll ( ) const

Get r_shoulder_roll value.

Right shoulder roll

Returns
r_shoulder_roll value

Definition at line 1953 of file NaoJointPositionInterface.cpp.

◆ r_wrist_yaw()

float fawkes::NaoJointPositionInterface::SetServosMessage::r_wrist_yaw ( ) const

Get r_wrist_yaw value.

Right wrist yaw

Returns
r_wrist_yaw value

Definition at line 2043 of file NaoJointPositionInterface.cpp.

◆ set_head_pitch()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_head_pitch ( const float  new_head_pitch)

Set head_pitch value.

Head pitch

Parameters
new_head_pitchnew head_pitch value

Definition at line 1553 of file NaoJointPositionInterface.cpp.

◆ set_head_yaw()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_head_yaw ( const float  new_head_yaw)

Set head_yaw value.

Head yaw

Parameters
new_head_yawnew head_yaw value

Definition at line 1523 of file NaoJointPositionInterface.cpp.

◆ set_l_ankle_pitch()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_l_ankle_pitch ( const float  new_l_ankle_pitch)

Set l_ankle_pitch value.

Left ankle pitch

Parameters
new_l_ankle_pitchnew l_ankle_pitch value

Definition at line 1823 of file NaoJointPositionInterface.cpp.

◆ set_l_ankle_roll()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_l_ankle_roll ( const float  new_l_ankle_roll)

Set l_ankle_roll value.

Left ankle roll

Parameters
new_l_ankle_rollnew l_ankle_roll value

Definition at line 1853 of file NaoJointPositionInterface.cpp.

◆ set_l_elbow_roll()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_l_elbow_roll ( const float  new_l_elbow_roll)

Set l_elbow_roll value.

Left elbow roll

Parameters
new_l_elbow_rollnew l_elbow_roll value

Definition at line 1673 of file NaoJointPositionInterface.cpp.

◆ set_l_elbow_yaw()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_l_elbow_yaw ( const float  new_l_elbow_yaw)

Set l_elbow_yaw value.

Left elbow yaw

Parameters
new_l_elbow_yawnew l_elbow_yaw value

Definition at line 1643 of file NaoJointPositionInterface.cpp.

◆ set_l_hand()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_l_hand ( const float  new_l_hand)

Set l_hand value.

Left hand

Parameters
new_l_handnew l_hand value

Definition at line 1913 of file NaoJointPositionInterface.cpp.

◆ set_l_hip_pitch()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_l_hip_pitch ( const float  new_l_hip_pitch)

Set l_hip_pitch value.

Left hip pitch

Parameters
new_l_hip_pitchnew l_hip_pitch value

Definition at line 1763 of file NaoJointPositionInterface.cpp.

◆ set_l_hip_roll()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_l_hip_roll ( const float  new_l_hip_roll)

Set l_hip_roll value.

Left hip roll

Parameters
new_l_hip_rollnew l_hip_roll value

Definition at line 1733 of file NaoJointPositionInterface.cpp.

◆ set_l_hip_yaw_pitch()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_l_hip_yaw_pitch ( const float  new_l_hip_yaw_pitch)

Set l_hip_yaw_pitch value.

Left hip yaw pitch

Parameters
new_l_hip_yaw_pitchnew l_hip_yaw_pitch value

Definition at line 1703 of file NaoJointPositionInterface.cpp.

◆ set_l_knee_pitch()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_l_knee_pitch ( const float  new_l_knee_pitch)

Set l_knee_pitch value.

Left knee pitch

Parameters
new_l_knee_pitchnew l_knee_pitch value

Definition at line 1793 of file NaoJointPositionInterface.cpp.

◆ set_l_shoulder_pitch()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_l_shoulder_pitch ( const float  new_l_shoulder_pitch)

Set l_shoulder_pitch value.

Left shoulder pitch

Parameters
new_l_shoulder_pitchnew l_shoulder_pitch value

Definition at line 1583 of file NaoJointPositionInterface.cpp.

◆ set_l_shoulder_roll()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_l_shoulder_roll ( const float  new_l_shoulder_roll)

Set l_shoulder_roll value.

Left shoulder roll

Parameters
new_l_shoulder_rollnew l_shoulder_roll value

Definition at line 1613 of file NaoJointPositionInterface.cpp.

◆ set_l_wrist_yaw()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_l_wrist_yaw ( const float  new_l_wrist_yaw)

Set l_wrist_yaw value.

Left wrist yaw

Parameters
new_l_wrist_yawnew l_wrist_yaw value

Definition at line 1883 of file NaoJointPositionInterface.cpp.

◆ set_r_ankle_pitch()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_r_ankle_pitch ( const float  new_r_ankle_pitch)

Set r_ankle_pitch value.

Right ankle pitch

Parameters
new_r_ankle_pitchnew r_ankle_pitch value

Definition at line 2243 of file NaoJointPositionInterface.cpp.

◆ set_r_ankle_roll()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_r_ankle_roll ( const float  new_r_ankle_roll)

Set r_ankle_roll value.

Right ankle roll

Parameters
new_r_ankle_rollnew r_ankle_roll value

Definition at line 2273 of file NaoJointPositionInterface.cpp.

◆ set_r_elbow_roll()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_r_elbow_roll ( const float  new_r_elbow_roll)

Set r_elbow_roll value.

Right elbow roll

Parameters
new_r_elbow_rollnew r_elbow_roll value

Definition at line 2033 of file NaoJointPositionInterface.cpp.

◆ set_r_elbow_yaw()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_r_elbow_yaw ( const float  new_r_elbow_yaw)

Set r_elbow_yaw value.

Right elbow yaw

Parameters
new_r_elbow_yawnew r_elbow_yaw value

Definition at line 2003 of file NaoJointPositionInterface.cpp.

◆ set_r_hand()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_r_hand ( const float  new_r_hand)

Set r_hand value.

Right hand

Parameters
new_r_handnew r_hand value

Definition at line 2093 of file NaoJointPositionInterface.cpp.

◆ set_r_hip_pitch()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_r_hip_pitch ( const float  new_r_hip_pitch)

Set r_hip_pitch value.

Right hip pitch

Parameters
new_r_hip_pitchnew r_hip_pitch value

Definition at line 2183 of file NaoJointPositionInterface.cpp.

◆ set_r_hip_roll()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_r_hip_roll ( const float  new_r_hip_roll)

Set r_hip_roll value.

Right hip roll

Parameters
new_r_hip_rollnew r_hip_roll value

Definition at line 2153 of file NaoJointPositionInterface.cpp.

◆ set_r_hip_yaw_pitch()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_r_hip_yaw_pitch ( const float  new_r_hip_yaw_pitch)

Set r_hip_yaw_pitch value.

Right hip yaw pitch

Parameters
new_r_hip_yaw_pitchnew r_hip_yaw_pitch value

Definition at line 2123 of file NaoJointPositionInterface.cpp.

◆ set_r_knee_pitch()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_r_knee_pitch ( const float  new_r_knee_pitch)

Set r_knee_pitch value.

Right knee pitch

Parameters
new_r_knee_pitchnew r_knee_pitch value

Definition at line 2213 of file NaoJointPositionInterface.cpp.

◆ set_r_shoulder_pitch()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_r_shoulder_pitch ( const float  new_r_shoulder_pitch)

Set r_shoulder_pitch value.

Right shoulder pitch

Parameters
new_r_shoulder_pitchnew r_shoulder_pitch value

Definition at line 1943 of file NaoJointPositionInterface.cpp.

◆ set_r_shoulder_roll()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_r_shoulder_roll ( const float  new_r_shoulder_roll)

Set r_shoulder_roll value.

Right shoulder roll

Parameters
new_r_shoulder_rollnew r_shoulder_roll value

Definition at line 1973 of file NaoJointPositionInterface.cpp.

◆ set_r_wrist_yaw()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_r_wrist_yaw ( const float  new_r_wrist_yaw)

Set r_wrist_yaw value.

Right wrist yaw

Parameters
new_r_wrist_yawnew r_wrist_yaw value

Definition at line 2063 of file NaoJointPositionInterface.cpp.

◆ set_time()

void fawkes::NaoJointPositionInterface::SetServosMessage::set_time ( const int32_t  new_time)

Set time value.

Current reference time in ms. For real hardware this is the DCM time. Times in messages are always offsets to the current time and the current time is added before executing the command.

Parameters
new_timenew time value

Definition at line 2311 of file NaoJointPositionInterface.cpp.

◆ time()

int32_t fawkes::NaoJointPositionInterface::SetServosMessage::time ( ) const

Get time value.

Current reference time in ms. For real hardware this is the DCM time. Times in messages are always offsets to the current time and the current time is added before executing the command.

Returns
time value

Definition at line 2287 of file NaoJointPositionInterface.cpp.


The documentation for this class was generated from the following files: