gusimplewhiteboard
guWhiteboard::SENSORSTorsoJointSensors Class Reference

Provides a C++ wrapper around wb_sensors_torsojointsensors. More...

#include <SENSORSTorsoJointSensors.hpp>

Inheritance diagram for guWhiteboard::SENSORSTorsoJointSensors:
Collaboration diagram for guWhiteboard::SENSORSTorsoJointSensors:

Public Member Functions

 SENSORSTorsoJointSensors (float t_HeadYaw=0.0f, float t_HeadPitch=0.0f, float t_LShoulderPitch=0.0f, float t_LShoulderRoll=0.0f, float t_LElbowYaw=0.0f, float t_LElbowRoll=0.0f, float t_RShoulderPitch=0.0f, float t_RShoulderRoll=0.0f, float t_RElbowYaw=0.0f, float t_RElbowRoll=0.0f, float t_LWristYaw=0.0f, float t_RWristYaw=0.0f)
 Create a new SENSORSTorsoJointSensors. More...
 
 SENSORSTorsoJointSensors (const SENSORSTorsoJointSensors &t_other)
 Copy Constructor. More...
 
 SENSORSTorsoJointSensors (const struct wb_sensors_torsojointsensors &t_other)
 Copy Constructor. More...
 
SENSORSTorsoJointSensorsoperator= (const SENSORSTorsoJointSensors &t_other)
 Copy Assignment Operator. More...
 
SENSORSTorsoJointSensorsoperator= (const struct wb_sensors_torsojointsensors &t_other)
 Copy Assignment Operator. More...
 
bool operator== (const SENSORSTorsoJointSensors &t_other) const
 
bool operator!= (const SENSORSTorsoJointSensors &t_other) const
 
bool operator== (const wb_sensors_torsojointsensors &t_other) const
 
bool operator!= (const wb_sensors_torsojointsensors &t_other) const
 
float & HeadYaw ()
 
const float & HeadYaw () const
 
void set_HeadYaw (const float &t_newValue)
 
float & HeadPitch ()
 
const float & HeadPitch () const
 
void set_HeadPitch (const float &t_newValue)
 
float & LShoulderPitch ()
 
const float & LShoulderPitch () const
 
void set_LShoulderPitch (const float &t_newValue)
 
float & LShoulderRoll ()
 
const float & LShoulderRoll () const
 
void set_LShoulderRoll (const float &t_newValue)
 
float & LElbowYaw ()
 
const float & LElbowYaw () const
 
void set_LElbowYaw (const float &t_newValue)
 
float & LElbowRoll ()
 
const float & LElbowRoll () const
 
void set_LElbowRoll (const float &t_newValue)
 
float & RShoulderPitch ()
 
const float & RShoulderPitch () const
 
void set_RShoulderPitch (const float &t_newValue)
 
float & RShoulderRoll ()
 
const float & RShoulderRoll () const
 
void set_RShoulderRoll (const float &t_newValue)
 
float & RElbowYaw ()
 
const float & RElbowYaw () const
 
void set_RElbowYaw (const float &t_newValue)
 
float & RElbowRoll ()
 
const float & RElbowRoll () const
 
void set_RElbowRoll (const float &t_newValue)
 
float & LWristYaw ()
 
const float & LWristYaw () const
 
void set_LWristYaw (const float &t_newValue)
 
float & RWristYaw ()
 
const float & RWristYaw () const
 
void set_RWristYaw (const float &t_newValue)
 
 SENSORSTorsoJointSensors (const std::string &t_str)
 String Constructor. More...
 
std::string description ()
 
std::string to_string ()
 
void from_string (const std::string &t_str)
 

Additional Inherited Members

- Public Attributes inherited from wb_sensors_torsojointsensors
float HeadYaw
 Head pos in RAD. More...
 
float HeadPitch
 Head pos in RAD. More...
 
float LShoulderPitch
 pitch of the shoulder joint (left) RAD More...
 
float LShoulderRoll
 roll of the shoulder joint (left) RAD More...
 
float LElbowYaw
 yaw of the elbow joint (left) RAD More...
 
float LElbowRoll
 roll of the elbow joint (left) RAD More...
 
float RShoulderPitch
 pitch of the shoulder joint (right) RAD More...
 
float RShoulderRoll
 roll of the shoulder joint (right) RAD More...
 
float RElbowYaw
 yaw of the elbow joint (right) RAD More...
 
float RElbowRoll
 roll of the elbow joint (right) RAD More...
 
float LWristYaw
 yaw of the wrist joint (left) More...
 
float RWristYaw
 yaw of the wrist joint (right) More...
 

Detailed Description

Provides a C++ wrapper around wb_sensors_torsojointsensors.

Definition at line 84 of file SENSORSTorsoJointSensors.hpp.

Constructor & Destructor Documentation

◆ SENSORSTorsoJointSensors() [1/4]

guWhiteboard::SENSORSTorsoJointSensors::SENSORSTorsoJointSensors ( float  t_HeadYaw = 0.0f,
float  t_HeadPitch = 0.0f,
float  t_LShoulderPitch = 0.0f,
float  t_LShoulderRoll = 0.0f,
float  t_LElbowYaw = 0.0f,
float  t_LElbowRoll = 0.0f,
float  t_RShoulderPitch = 0.0f,
float  t_RShoulderRoll = 0.0f,
float  t_RElbowYaw = 0.0f,
float  t_RElbowRoll = 0.0f,
float  t_LWristYaw = 0.0f,
float  t_RWristYaw = 0.0f 
)
inline

Create a new SENSORSTorsoJointSensors.

Definition at line 111 of file SENSORSTorsoJointSensors.hpp.

Referenced by operator==().

◆ SENSORSTorsoJointSensors() [2/4]

guWhiteboard::SENSORSTorsoJointSensors::SENSORSTorsoJointSensors ( const SENSORSTorsoJointSensors t_other)
inline

◆ SENSORSTorsoJointSensors() [3/4]

◆ SENSORSTorsoJointSensors() [4/4]

guWhiteboard::SENSORSTorsoJointSensors::SENSORSTorsoJointSensors ( const std::string &  t_str)
inline

String Constructor.

Definition at line 360 of file SENSORSTorsoJointSensors.hpp.

References from_string().

Member Function Documentation

◆ description()

std::string guWhiteboard::SENSORSTorsoJointSensors::description ( )
inline

◆ from_string()

void guWhiteboard::SENSORSTorsoJointSensors::from_string ( const std::string &  t_str)
inline

◆ HeadPitch() [1/2]

float & guWhiteboard::SENSORSTorsoJointSensors::HeadPitch ( )
inline

◆ HeadPitch() [2/2]

const float & guWhiteboard::SENSORSTorsoJointSensors::HeadPitch ( ) const
inline

◆ HeadYaw() [1/2]

float & guWhiteboard::SENSORSTorsoJointSensors::HeadYaw ( )
inline

◆ HeadYaw() [2/2]

const float & guWhiteboard::SENSORSTorsoJointSensors::HeadYaw ( ) const
inline

◆ LElbowRoll() [1/2]

float & guWhiteboard::SENSORSTorsoJointSensors::LElbowRoll ( )
inline

◆ LElbowRoll() [2/2]

const float & guWhiteboard::SENSORSTorsoJointSensors::LElbowRoll ( ) const
inline

◆ LElbowYaw() [1/2]

float & guWhiteboard::SENSORSTorsoJointSensors::LElbowYaw ( )
inline

◆ LElbowYaw() [2/2]

const float & guWhiteboard::SENSORSTorsoJointSensors::LElbowYaw ( ) const
inline

◆ LShoulderPitch() [1/2]

float & guWhiteboard::SENSORSTorsoJointSensors::LShoulderPitch ( )
inline

◆ LShoulderPitch() [2/2]

const float & guWhiteboard::SENSORSTorsoJointSensors::LShoulderPitch ( ) const
inline

◆ LShoulderRoll() [1/2]

float & guWhiteboard::SENSORSTorsoJointSensors::LShoulderRoll ( )
inline

◆ LShoulderRoll() [2/2]

const float & guWhiteboard::SENSORSTorsoJointSensors::LShoulderRoll ( ) const
inline

◆ LWristYaw() [1/2]

float & guWhiteboard::SENSORSTorsoJointSensors::LWristYaw ( )
inline

◆ LWristYaw() [2/2]

const float & guWhiteboard::SENSORSTorsoJointSensors::LWristYaw ( ) const
inline

◆ operator!=() [1/2]

bool guWhiteboard::SENSORSTorsoJointSensors::operator!= ( const SENSORSTorsoJointSensors t_other) const
inline

Definition at line 161 of file SENSORSTorsoJointSensors.hpp.

◆ operator!=() [2/2]

bool guWhiteboard::SENSORSTorsoJointSensors::operator!= ( const wb_sensors_torsojointsensors t_other) const
inline

Definition at line 171 of file SENSORSTorsoJointSensors.hpp.

◆ operator=() [1/2]

SENSORSTorsoJointSensors & guWhiteboard::SENSORSTorsoJointSensors::operator= ( const SENSORSTorsoJointSensors t_other)
inline

◆ operator=() [2/2]

◆ operator==() [1/2]

bool guWhiteboard::SENSORSTorsoJointSensors::operator== ( const SENSORSTorsoJointSensors t_other) const
inline

◆ operator==() [2/2]

bool guWhiteboard::SENSORSTorsoJointSensors::operator== ( const wb_sensors_torsojointsensors t_other) const
inline

Definition at line 166 of file SENSORSTorsoJointSensors.hpp.

References SENSORSTorsoJointSensors().

◆ RElbowRoll() [1/2]

float & guWhiteboard::SENSORSTorsoJointSensors::RElbowRoll ( )
inline

◆ RElbowRoll() [2/2]

const float & guWhiteboard::SENSORSTorsoJointSensors::RElbowRoll ( ) const
inline

◆ RElbowYaw() [1/2]

float & guWhiteboard::SENSORSTorsoJointSensors::RElbowYaw ( )
inline

◆ RElbowYaw() [2/2]

const float & guWhiteboard::SENSORSTorsoJointSensors::RElbowYaw ( ) const
inline

◆ RShoulderPitch() [1/2]

float & guWhiteboard::SENSORSTorsoJointSensors::RShoulderPitch ( )
inline

◆ RShoulderPitch() [2/2]

const float & guWhiteboard::SENSORSTorsoJointSensors::RShoulderPitch ( ) const
inline

◆ RShoulderRoll() [1/2]

float & guWhiteboard::SENSORSTorsoJointSensors::RShoulderRoll ( )
inline

◆ RShoulderRoll() [2/2]

const float & guWhiteboard::SENSORSTorsoJointSensors::RShoulderRoll ( ) const
inline

◆ RWristYaw() [1/2]

float & guWhiteboard::SENSORSTorsoJointSensors::RWristYaw ( )
inline

◆ RWristYaw() [2/2]

const float & guWhiteboard::SENSORSTorsoJointSensors::RWristYaw ( ) const
inline

◆ set_HeadPitch()

void guWhiteboard::SENSORSTorsoJointSensors::set_HeadPitch ( const float &  t_newValue)
inline

Definition at line 201 of file SENSORSTorsoJointSensors.hpp.

References wb_sensors_torsojointsensors::HeadPitch.

Referenced by from_string().

◆ set_HeadYaw()

void guWhiteboard::SENSORSTorsoJointSensors::set_HeadYaw ( const float &  t_newValue)
inline

Definition at line 186 of file SENSORSTorsoJointSensors.hpp.

References wb_sensors_torsojointsensors::HeadYaw.

Referenced by from_string().

◆ set_LElbowRoll()

void guWhiteboard::SENSORSTorsoJointSensors::set_LElbowRoll ( const float &  t_newValue)
inline

Definition at line 261 of file SENSORSTorsoJointSensors.hpp.

References wb_sensors_torsojointsensors::LElbowRoll.

Referenced by from_string().

◆ set_LElbowYaw()

void guWhiteboard::SENSORSTorsoJointSensors::set_LElbowYaw ( const float &  t_newValue)
inline

Definition at line 246 of file SENSORSTorsoJointSensors.hpp.

References wb_sensors_torsojointsensors::LElbowYaw.

Referenced by from_string().

◆ set_LShoulderPitch()

void guWhiteboard::SENSORSTorsoJointSensors::set_LShoulderPitch ( const float &  t_newValue)
inline

Definition at line 216 of file SENSORSTorsoJointSensors.hpp.

References wb_sensors_torsojointsensors::LShoulderPitch.

Referenced by from_string().

◆ set_LShoulderRoll()

void guWhiteboard::SENSORSTorsoJointSensors::set_LShoulderRoll ( const float &  t_newValue)
inline

Definition at line 231 of file SENSORSTorsoJointSensors.hpp.

References wb_sensors_torsojointsensors::LShoulderRoll.

Referenced by from_string().

◆ set_LWristYaw()

void guWhiteboard::SENSORSTorsoJointSensors::set_LWristYaw ( const float &  t_newValue)
inline

Definition at line 336 of file SENSORSTorsoJointSensors.hpp.

References wb_sensors_torsojointsensors::LWristYaw.

Referenced by from_string().

◆ set_RElbowRoll()

void guWhiteboard::SENSORSTorsoJointSensors::set_RElbowRoll ( const float &  t_newValue)
inline

Definition at line 321 of file SENSORSTorsoJointSensors.hpp.

References wb_sensors_torsojointsensors::RElbowRoll.

Referenced by from_string().

◆ set_RElbowYaw()

void guWhiteboard::SENSORSTorsoJointSensors::set_RElbowYaw ( const float &  t_newValue)
inline

Definition at line 306 of file SENSORSTorsoJointSensors.hpp.

References wb_sensors_torsojointsensors::RElbowYaw.

Referenced by from_string().

◆ set_RShoulderPitch()

void guWhiteboard::SENSORSTorsoJointSensors::set_RShoulderPitch ( const float &  t_newValue)
inline

Definition at line 276 of file SENSORSTorsoJointSensors.hpp.

References wb_sensors_torsojointsensors::RShoulderPitch.

Referenced by from_string().

◆ set_RShoulderRoll()

void guWhiteboard::SENSORSTorsoJointSensors::set_RShoulderRoll ( const float &  t_newValue)
inline

Definition at line 291 of file SENSORSTorsoJointSensors.hpp.

References wb_sensors_torsojointsensors::RShoulderRoll.

Referenced by from_string().

◆ set_RWristYaw()

void guWhiteboard::SENSORSTorsoJointSensors::set_RWristYaw ( const float &  t_newValue)
inline

Definition at line 351 of file SENSORSTorsoJointSensors.hpp.

References wb_sensors_torsojointsensors::RWristYaw.

Referenced by from_string().

◆ to_string()

std::string guWhiteboard::SENSORSTorsoJointSensors::to_string ( )
inline

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