gusimplewhiteboard
guWhiteboard::SENSORSArmJointSensors Class Reference

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

#include <SENSORSArmJointSensors.hpp>

Inheritance diagram for guWhiteboard::SENSORSArmJointSensors:
Collaboration diagram for guWhiteboard::SENSORSArmJointSensors:

Public Member Functions

 SENSORSArmJointSensors (float t_LShoulderPitch=0.0f, float t_LShoulderRoll=0.0f, float t_LElbowRoll=0.0f, float t_LElbowYaw=0.0f, float t_RShoulderPitch=0.0f, float t_RShoulderRoll=0.0f, float t_RElbowRoll=0.0f, float t_RElbowYaw=0.0f, float t_LWristYaw=0.0f, float t_RWristYaw=0.0f)
 Create a new SENSORSArmJointSensors. More...
 
 SENSORSArmJointSensors (const SENSORSArmJointSensors &t_other)
 Copy Constructor. More...
 
 SENSORSArmJointSensors (const struct wb_sensors_armjointsensors &t_other)
 Copy Constructor. More...
 
SENSORSArmJointSensorsoperator= (const SENSORSArmJointSensors &t_other)
 Copy Assignment Operator. More...
 
SENSORSArmJointSensorsoperator= (const struct wb_sensors_armjointsensors &t_other)
 Copy Assignment Operator. More...
 
bool operator== (const SENSORSArmJointSensors &t_other) const
 
bool operator!= (const SENSORSArmJointSensors &t_other) const
 
bool operator== (const wb_sensors_armjointsensors &t_other) const
 
bool operator!= (const wb_sensors_armjointsensors &t_other) const
 
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 & LElbowRoll ()
 
const float & LElbowRoll () const
 
void set_LElbowRoll (const float &t_newValue)
 
float & LElbowYaw ()
 
const float & LElbowYaw () const
 
void set_LElbowYaw (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 & RElbowRoll ()
 
const float & RElbowRoll () const
 
void set_RElbowRoll (const float &t_newValue)
 
float & RElbowYaw ()
 
const float & RElbowYaw () const
 
void set_RElbowYaw (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)
 
 SENSORSArmJointSensors (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_armjointsensors
float LShoulderPitch
 pitch of the shoulder joint (left) More...
 
float LShoulderRoll
 roll of the shoulder joint (left) More...
 
float LElbowRoll
 roll of the elbow joint (left) More...
 
float LElbowYaw
 yaw of the elbow joint (left) More...
 
float RShoulderPitch
 pitch of the shoulder joint (right) More...
 
float RShoulderRoll
 roll of the shoulder joint (right) More...
 
float RElbowRoll
 roll of the elbow joint (right) More...
 
float RElbowYaw
 yaw of the elbow joint (right) 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_armjointsensors.

Definition at line 84 of file SENSORSArmJointSensors.hpp.

Constructor & Destructor Documentation

◆ SENSORSArmJointSensors() [1/4]

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

Create a new SENSORSArmJointSensors.

Definition at line 109 of file SENSORSArmJointSensors.hpp.

Referenced by operator==().

◆ SENSORSArmJointSensors() [2/4]

guWhiteboard::SENSORSArmJointSensors::SENSORSArmJointSensors ( const SENSORSArmJointSensors t_other)
inline

◆ SENSORSArmJointSensors() [3/4]

◆ SENSORSArmJointSensors() [4/4]

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

String Constructor.

Definition at line 326 of file SENSORSArmJointSensors.hpp.

References from_string().

Member Function Documentation

◆ description()

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

◆ from_string()

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

◆ LElbowRoll() [1/2]

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

◆ LElbowRoll() [2/2]

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

◆ LElbowYaw() [1/2]

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

◆ LElbowYaw() [2/2]

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

Definition at line 222 of file SENSORSArmJointSensors.hpp.

References wb_sensors_armjointsensors::LElbowYaw.

◆ LShoulderPitch() [1/2]

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

◆ LShoulderPitch() [2/2]

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

◆ LShoulderRoll() [1/2]

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

◆ LShoulderRoll() [2/2]

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

◆ LWristYaw() [1/2]

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

◆ LWristYaw() [2/2]

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

Definition at line 297 of file SENSORSArmJointSensors.hpp.

References wb_sensors_armjointsensors::LWristYaw.

◆ operator!=() [1/2]

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

Definition at line 157 of file SENSORSArmJointSensors.hpp.

◆ operator!=() [2/2]

bool guWhiteboard::SENSORSArmJointSensors::operator!= ( const wb_sensors_armjointsensors t_other) const
inline

Definition at line 167 of file SENSORSArmJointSensors.hpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

◆ operator==() [1/2]

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

◆ operator==() [2/2]

bool guWhiteboard::SENSORSArmJointSensors::operator== ( const wb_sensors_armjointsensors t_other) const
inline

Definition at line 162 of file SENSORSArmJointSensors.hpp.

References SENSORSArmJointSensors().

◆ RElbowRoll() [1/2]

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

◆ RElbowRoll() [2/2]

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

◆ RElbowYaw() [1/2]

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

◆ RElbowYaw() [2/2]

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

Definition at line 282 of file SENSORSArmJointSensors.hpp.

References wb_sensors_armjointsensors::RElbowYaw.

◆ RShoulderPitch() [1/2]

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

◆ RShoulderPitch() [2/2]

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

◆ RShoulderRoll() [1/2]

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

◆ RShoulderRoll() [2/2]

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

◆ RWristYaw() [1/2]

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

◆ RWristYaw() [2/2]

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

Definition at line 312 of file SENSORSArmJointSensors.hpp.

References wb_sensors_armjointsensors::RWristYaw.

◆ set_LElbowRoll()

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

Definition at line 212 of file SENSORSArmJointSensors.hpp.

References wb_sensors_armjointsensors::LElbowRoll.

Referenced by from_string().

◆ set_LElbowYaw()

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

Definition at line 227 of file SENSORSArmJointSensors.hpp.

References wb_sensors_armjointsensors::LElbowYaw.

Referenced by from_string().

◆ set_LShoulderPitch()

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

Definition at line 182 of file SENSORSArmJointSensors.hpp.

References wb_sensors_armjointsensors::LShoulderPitch.

Referenced by from_string().

◆ set_LShoulderRoll()

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

Definition at line 197 of file SENSORSArmJointSensors.hpp.

References wb_sensors_armjointsensors::LShoulderRoll.

Referenced by from_string().

◆ set_LWristYaw()

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

Definition at line 302 of file SENSORSArmJointSensors.hpp.

References wb_sensors_armjointsensors::LWristYaw.

Referenced by from_string().

◆ set_RElbowRoll()

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

Definition at line 272 of file SENSORSArmJointSensors.hpp.

References wb_sensors_armjointsensors::RElbowRoll.

Referenced by from_string().

◆ set_RElbowYaw()

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

Definition at line 287 of file SENSORSArmJointSensors.hpp.

References wb_sensors_armjointsensors::RElbowYaw.

Referenced by from_string().

◆ set_RShoulderPitch()

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

Definition at line 242 of file SENSORSArmJointSensors.hpp.

References wb_sensors_armjointsensors::RShoulderPitch.

Referenced by from_string().

◆ set_RShoulderRoll()

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

Definition at line 257 of file SENSORSArmJointSensors.hpp.

References wb_sensors_armjointsensors::RShoulderRoll.

Referenced by from_string().

◆ set_RWristYaw()

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

Definition at line 317 of file SENSORSArmJointSensors.hpp.

References wb_sensors_armjointsensors::RWristYaw.

Referenced by from_string().

◆ to_string()

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

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