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

SetServosMessage Fawkes BlackBoard Interface Message. More...

#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
 Pointer to memory that contains local data. More...
 
unsigned int data_size
 Size of memory needed to hold all data. More...
 
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 1339 of file NaoJointPositionInterface.cpp.

References fawkes::Message::add_fieldinfo(), fawkes::Message::data_ptr, fawkes::Message::data_size, fawkes::Message::data_ts, fawkes::IFT_FLOAT, fawkes::IFT_INT32, fawkes::NaoJointPositionInterface::ROBOTYPE_ACADEMIC, and fawkes::NaoJointPositionInterface::ROBOTYPE_ROBOCUP.

◆ SetServosMessage() [2/3]

◆ ~SetServosMessage()

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

Destructor.

Definition at line 1443 of file NaoJointPositionInterface.cpp.

References fawkes::Interface::data_ptr.

◆ SetServosMessage() [3/3]

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

Copy constructor.

Parameters
mmessage to copy from

Definition at line 1451 of file NaoJointPositionInterface.cpp.

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

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 2285 of file NaoJointPositionInterface.cpp.

◆ head_pitch()

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

Get head_pitch value.

Head pitch

Returns
head_pitch value

Definition at line 1496 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 1466 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 1766 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 1796 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 1616 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 1586 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 1856 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 1706 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 1676 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 1646 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 1736 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 1526 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 1556 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 1826 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 1506 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 1476 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 1776 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 1806 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 1626 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 1596 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 1866 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 1716 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 1686 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 1656 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 1746 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 1536 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 1566 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 1836 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 2196 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 2226 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 1986 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 1956 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 2046 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 2136 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 2106 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 2076 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 2166 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 1896 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 1926 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 2016 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 2260 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 2186 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 2216 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 1976 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 1946 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 2036 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 2126 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 2096 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 2066 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 2156 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 1886 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 1916 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 2006 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 1516 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 1486 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 1786 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 1816 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 1636 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 1606 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 1876 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 1726 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 1696 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 1666 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 1756 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 1546 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 1576 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 1846 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 2206 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 2236 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 1996 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 1966 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 2056 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 2146 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 2116 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 2086 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 2176 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 1906 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 1936 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 2026 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 2274 of file NaoJointPositionInterface.cpp.

References fawkes::change_field().

◆ 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 2250 of file NaoJointPositionInterface.cpp.


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