gusimplewhiteboard
|
Provides a C++ wrapper around wb_sensors_armjointsensors
.
More...
#include <SENSORSArmJointSensors.hpp>
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... | |
SENSORSArmJointSensors & | operator= (const SENSORSArmJointSensors &t_other) |
Copy Assignment Operator. More... | |
SENSORSArmJointSensors & | operator= (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 | |
![]() | |
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... | |
Provides a C++ wrapper around wb_sensors_armjointsensors
.
Definition at line 84 of file SENSORSArmJointSensors.hpp.
|
inline |
Create a new SENSORSArmJointSensors
.
Definition at line 109 of file SENSORSArmJointSensors.hpp.
Referenced by operator==().
|
inline |
Copy Constructor.
Definition at line 116 of file SENSORSArmJointSensors.hpp.
References LElbowRoll(), LElbowYaw(), LShoulderPitch(), LShoulderRoll(), LWristYaw(), RElbowRoll(), RElbowYaw(), RShoulderPitch(), RShoulderRoll(), and RWristYaw().
|
inline |
Copy Constructor.
Definition at line 123 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::LElbowRoll, wb_sensors_armjointsensors::LElbowYaw, wb_sensors_armjointsensors::LShoulderPitch, wb_sensors_armjointsensors::LShoulderRoll, wb_sensors_armjointsensors::LWristYaw, wb_sensors_armjointsensors::RElbowRoll, wb_sensors_armjointsensors::RElbowYaw, wb_sensors_armjointsensors::RShoulderPitch, wb_sensors_armjointsensors::RShoulderRoll, and wb_sensors_armjointsensors::RWristYaw.
|
inline |
String Constructor.
Definition at line 326 of file SENSORSArmJointSensors.hpp.
References from_string().
|
inline |
USE_WB_SENSORS_ARMJOINTSENSORS_C_CONVERSION
Definition at line 331 of file SENSORSArmJointSensors.hpp.
References LElbowRoll(), LElbowYaw(), LShoulderPitch(), LShoulderRoll(), LWristYaw(), RElbowRoll(), RElbowYaw(), RShoulderPitch(), RShoulderRoll(), RWristYaw(), SENSORS_ARMJOINTSENSORS_DESC_BUFFER_SIZE, and wb_sensors_armjointsensors_description().
|
inline |
USE_WB_SENSORS_ARMJOINTSENSORS_C_CONVERSION
Definition at line 397 of file SENSORSArmJointSensors.hpp.
References SENSORS_ARMJOINTSENSORS_DESC_BUFFER_SIZE, set_LElbowRoll(), set_LElbowYaw(), set_LShoulderPitch(), set_LShoulderRoll(), set_LWristYaw(), set_RElbowRoll(), set_RElbowYaw(), set_RShoulderPitch(), set_RShoulderRoll(), and set_RWristYaw().
Referenced by SENSORSArmJointSensors().
|
inline |
Definition at line 202 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::LElbowRoll.
Referenced by SENSORSArmJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 207 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::LElbowRoll.
|
inline |
Definition at line 217 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::LElbowYaw.
Referenced by SENSORSArmJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 222 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::LElbowYaw.
|
inline |
Definition at line 172 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::LShoulderPitch.
Referenced by SENSORSArmJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 177 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::LShoulderPitch.
|
inline |
Definition at line 187 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::LShoulderRoll.
Referenced by SENSORSArmJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 192 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::LShoulderRoll.
|
inline |
Definition at line 292 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::LWristYaw.
Referenced by SENSORSArmJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 297 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::LWristYaw.
|
inline |
Definition at line 157 of file SENSORSArmJointSensors.hpp.
|
inline |
Definition at line 167 of file SENSORSArmJointSensors.hpp.
|
inline |
Copy Assignment Operator.
Definition at line 130 of file SENSORSArmJointSensors.hpp.
References LElbowRoll(), LElbowYaw(), LShoulderPitch(), LShoulderRoll(), LWristYaw(), RElbowRoll(), RElbowYaw(), RShoulderPitch(), RShoulderRoll(), and RWristYaw().
|
inline |
Copy Assignment Operator.
Definition at line 138 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::LElbowRoll, wb_sensors_armjointsensors::LElbowYaw, wb_sensors_armjointsensors::LShoulderPitch, wb_sensors_armjointsensors::LShoulderRoll, wb_sensors_armjointsensors::LWristYaw, wb_sensors_armjointsensors::RElbowRoll, wb_sensors_armjointsensors::RElbowYaw, wb_sensors_armjointsensors::RShoulderPitch, wb_sensors_armjointsensors::RShoulderRoll, and wb_sensors_armjointsensors::RWristYaw.
|
inline |
Definition at line 143 of file SENSORSArmJointSensors.hpp.
References LElbowRoll(), LElbowYaw(), LShoulderPitch(), LShoulderRoll(), LWristYaw(), RElbowRoll(), RElbowYaw(), RShoulderPitch(), RShoulderRoll(), and RWristYaw().
|
inline |
Definition at line 162 of file SENSORSArmJointSensors.hpp.
References SENSORSArmJointSensors().
|
inline |
Definition at line 262 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::RElbowRoll.
Referenced by SENSORSArmJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 267 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::RElbowRoll.
|
inline |
Definition at line 277 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::RElbowYaw.
Referenced by SENSORSArmJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 282 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::RElbowYaw.
|
inline |
Definition at line 232 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::RShoulderPitch.
Referenced by SENSORSArmJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 237 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::RShoulderPitch.
|
inline |
Definition at line 247 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::RShoulderRoll.
Referenced by SENSORSArmJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 252 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::RShoulderRoll.
|
inline |
Definition at line 307 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::RWristYaw.
Referenced by SENSORSArmJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 312 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::RWristYaw.
|
inline |
Definition at line 212 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::LElbowRoll.
Referenced by from_string().
|
inline |
Definition at line 227 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::LElbowYaw.
Referenced by from_string().
|
inline |
Definition at line 182 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::LShoulderPitch.
Referenced by from_string().
|
inline |
Definition at line 197 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::LShoulderRoll.
Referenced by from_string().
|
inline |
Definition at line 302 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::LWristYaw.
Referenced by from_string().
|
inline |
Definition at line 272 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::RElbowRoll.
Referenced by from_string().
|
inline |
Definition at line 287 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::RElbowYaw.
Referenced by from_string().
|
inline |
Definition at line 242 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::RShoulderPitch.
Referenced by from_string().
|
inline |
Definition at line 257 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::RShoulderRoll.
Referenced by from_string().
|
inline |
Definition at line 317 of file SENSORSArmJointSensors.hpp.
References wb_sensors_armjointsensors::RWristYaw.
Referenced by from_string().
|
inline |
USE_WB_SENSORS_ARMJOINTSENSORS_C_CONVERSION
Definition at line 362 of file SENSORSArmJointSensors.hpp.
References LElbowRoll(), LElbowYaw(), LShoulderPitch(), LShoulderRoll(), LWristYaw(), RElbowRoll(), RElbowYaw(), RShoulderPitch(), RShoulderRoll(), RWristYaw(), SENSORS_ARMJOINTSENSORS_TO_STRING_BUFFER_SIZE, and wb_sensors_armjointsensors_to_string().