gusimplewhiteboard
|
Provides a C++ wrapper around wb_sensors_torsojointsensors
.
More...
#include <SENSORSTorsoJointSensors.hpp>
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... | |
SENSORSTorsoJointSensors & | operator= (const SENSORSTorsoJointSensors &t_other) |
Copy Assignment Operator. More... | |
SENSORSTorsoJointSensors & | operator= (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 | |
![]() | |
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... | |
Provides a C++ wrapper around wb_sensors_torsojointsensors
.
Definition at line 84 of file SENSORSTorsoJointSensors.hpp.
|
inline |
Create a new SENSORSTorsoJointSensors
.
Definition at line 111 of file SENSORSTorsoJointSensors.hpp.
Referenced by operator==().
|
inline |
Copy Constructor.
Definition at line 118 of file SENSORSTorsoJointSensors.hpp.
References HeadPitch(), HeadYaw(), LElbowRoll(), LElbowYaw(), LShoulderPitch(), LShoulderRoll(), LWristYaw(), RElbowRoll(), RElbowYaw(), RShoulderPitch(), RShoulderRoll(), and RWristYaw().
|
inline |
Copy Constructor.
Definition at line 125 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::HeadPitch, wb_sensors_torsojointsensors::HeadYaw, wb_sensors_torsojointsensors::LElbowRoll, wb_sensors_torsojointsensors::LElbowYaw, wb_sensors_torsojointsensors::LShoulderPitch, wb_sensors_torsojointsensors::LShoulderRoll, wb_sensors_torsojointsensors::LWristYaw, wb_sensors_torsojointsensors::RElbowRoll, wb_sensors_torsojointsensors::RElbowYaw, wb_sensors_torsojointsensors::RShoulderPitch, wb_sensors_torsojointsensors::RShoulderRoll, and wb_sensors_torsojointsensors::RWristYaw.
|
inline |
String Constructor.
Definition at line 360 of file SENSORSTorsoJointSensors.hpp.
References from_string().
|
inline |
USE_WB_SENSORS_TORSOJOINTSENSORS_C_CONVERSION
Definition at line 365 of file SENSORSTorsoJointSensors.hpp.
References HeadPitch(), HeadYaw(), LElbowRoll(), LElbowYaw(), LShoulderPitch(), LShoulderRoll(), LWristYaw(), RElbowRoll(), RElbowYaw(), RShoulderPitch(), RShoulderRoll(), RWristYaw(), SENSORS_TORSOJOINTSENSORS_DESC_BUFFER_SIZE, and wb_sensors_torsojointsensors_description().
|
inline |
USE_WB_SENSORS_TORSOJOINTSENSORS_C_CONVERSION
Definition at line 439 of file SENSORSTorsoJointSensors.hpp.
References SENSORS_TORSOJOINTSENSORS_DESC_BUFFER_SIZE, set_HeadPitch(), set_HeadYaw(), set_LElbowRoll(), set_LElbowYaw(), set_LShoulderPitch(), set_LShoulderRoll(), set_LWristYaw(), set_RElbowRoll(), set_RElbowYaw(), set_RShoulderPitch(), set_RShoulderRoll(), and set_RWristYaw().
Referenced by SENSORSTorsoJointSensors().
|
inline |
Definition at line 191 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::HeadPitch.
Referenced by SENSORSTorsoJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 196 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::HeadPitch.
|
inline |
Definition at line 176 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::HeadYaw.
Referenced by SENSORSTorsoJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 181 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::HeadYaw.
|
inline |
Definition at line 251 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::LElbowRoll.
Referenced by SENSORSTorsoJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 256 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::LElbowRoll.
|
inline |
Definition at line 236 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::LElbowYaw.
Referenced by SENSORSTorsoJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 241 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::LElbowYaw.
|
inline |
Definition at line 206 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::LShoulderPitch.
Referenced by SENSORSTorsoJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 211 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::LShoulderPitch.
|
inline |
Definition at line 221 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::LShoulderRoll.
Referenced by SENSORSTorsoJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 226 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::LShoulderRoll.
|
inline |
Definition at line 326 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::LWristYaw.
Referenced by SENSORSTorsoJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 331 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::LWristYaw.
|
inline |
Definition at line 161 of file SENSORSTorsoJointSensors.hpp.
|
inline |
Definition at line 171 of file SENSORSTorsoJointSensors.hpp.
|
inline |
Copy Assignment Operator.
Definition at line 132 of file SENSORSTorsoJointSensors.hpp.
References HeadPitch(), HeadYaw(), LElbowRoll(), LElbowYaw(), LShoulderPitch(), LShoulderRoll(), LWristYaw(), RElbowRoll(), RElbowYaw(), RShoulderPitch(), RShoulderRoll(), and RWristYaw().
|
inline |
Copy Assignment Operator.
Definition at line 140 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::HeadPitch, wb_sensors_torsojointsensors::HeadYaw, wb_sensors_torsojointsensors::LElbowRoll, wb_sensors_torsojointsensors::LElbowYaw, wb_sensors_torsojointsensors::LShoulderPitch, wb_sensors_torsojointsensors::LShoulderRoll, wb_sensors_torsojointsensors::LWristYaw, wb_sensors_torsojointsensors::RElbowRoll, wb_sensors_torsojointsensors::RElbowYaw, wb_sensors_torsojointsensors::RShoulderPitch, wb_sensors_torsojointsensors::RShoulderRoll, and wb_sensors_torsojointsensors::RWristYaw.
|
inline |
Definition at line 145 of file SENSORSTorsoJointSensors.hpp.
References HeadPitch(), HeadYaw(), LElbowRoll(), LElbowYaw(), LShoulderPitch(), LShoulderRoll(), LWristYaw(), RElbowRoll(), RElbowYaw(), RShoulderPitch(), RShoulderRoll(), and RWristYaw().
|
inline |
Definition at line 166 of file SENSORSTorsoJointSensors.hpp.
References SENSORSTorsoJointSensors().
|
inline |
Definition at line 311 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::RElbowRoll.
Referenced by SENSORSTorsoJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 316 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::RElbowRoll.
|
inline |
Definition at line 296 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::RElbowYaw.
Referenced by SENSORSTorsoJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 301 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::RElbowYaw.
|
inline |
Definition at line 266 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::RShoulderPitch.
Referenced by SENSORSTorsoJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 271 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::RShoulderPitch.
|
inline |
Definition at line 281 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::RShoulderRoll.
Referenced by SENSORSTorsoJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 286 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::RShoulderRoll.
|
inline |
Definition at line 341 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::RWristYaw.
Referenced by SENSORSTorsoJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 346 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::RWristYaw.
|
inline |
Definition at line 201 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::HeadPitch.
Referenced by from_string().
|
inline |
Definition at line 186 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::HeadYaw.
Referenced by from_string().
|
inline |
Definition at line 261 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::LElbowRoll.
Referenced by from_string().
|
inline |
Definition at line 246 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::LElbowYaw.
Referenced by from_string().
|
inline |
Definition at line 216 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::LShoulderPitch.
Referenced by from_string().
|
inline |
Definition at line 231 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::LShoulderRoll.
Referenced by from_string().
|
inline |
Definition at line 336 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::LWristYaw.
Referenced by from_string().
|
inline |
Definition at line 321 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::RElbowRoll.
Referenced by from_string().
|
inline |
Definition at line 306 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::RElbowYaw.
Referenced by from_string().
|
inline |
Definition at line 276 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::RShoulderPitch.
Referenced by from_string().
|
inline |
Definition at line 291 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::RShoulderRoll.
Referenced by from_string().
|
inline |
Definition at line 351 of file SENSORSTorsoJointSensors.hpp.
References wb_sensors_torsojointsensors::RWristYaw.
Referenced by from_string().
|
inline |
USE_WB_SENSORS_TORSOJOINTSENSORS_C_CONVERSION
Definition at line 400 of file SENSORSTorsoJointSensors.hpp.
References HeadPitch(), HeadYaw(), LElbowRoll(), LElbowYaw(), LShoulderPitch(), LShoulderRoll(), LWristYaw(), RElbowRoll(), RElbowYaw(), RShoulderPitch(), RShoulderRoll(), RWristYaw(), SENSORS_TORSOJOINTSENSORS_TO_STRING_BUFFER_SIZE, and wb_sensors_torsojointsensors_to_string().