gusimplewhiteboard
guWhiteboard::SensorsFootSensors Class Reference

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

#include <SensorsFootSensors.hpp>

Inheritance diagram for guWhiteboard::SensorsFootSensors:
Collaboration diagram for guWhiteboard::SensorsFootSensors:

Public Member Functions

 SensorsFootSensors (float t_LFoot_FSR_FrontLeft=0.0f, float t_LFoot_FSR_FrontRight=0.0f, float t_LFoot_FSR_RearLeft=0.0f, float t_LFoot_FSR_RearRight=0.0f, float t_LFoot_FSR_CenterOfPressure_X=0.0f, float t_LFoot_FSR_CenterOfPressure_Y=0.0f, float t_LFoot_FSR_TotalWeight=0.0f, float t_RFoot_FSR_FrontLeft=0.0f, float t_RFoot_FSR_FrontRight=0.0f, float t_RFoot_FSR_RearLeft=0.0f, float t_RFoot_FSR_RearRight=0.0f, float t_RFoot_FSR_CenterOfPressure_X=0.0f, float t_RFoot_FSR_CenterOfPressure_Y=0.0f, float t_RFoot_FSR_TotalWeight=0.0f, bool t_LFoot_Bumper_Left=true, bool t_LFoot_Bumper_Right=true, bool t_RFoot_Bumper_Left=true, bool t_RFoot_Bumper_Right=true)
 Create a new SensorsFootSensors. More...
 
 SensorsFootSensors (const SensorsFootSensors &t_other)
 Copy Constructor. More...
 
 SensorsFootSensors (const struct wb_sensors_foot_sensors &t_other)
 Copy Constructor. More...
 
SensorsFootSensorsoperator= (const SensorsFootSensors &t_other)
 Copy Assignment Operator. More...
 
SensorsFootSensorsoperator= (const struct wb_sensors_foot_sensors &t_other)
 Copy Assignment Operator. More...
 
bool operator== (const SensorsFootSensors &t_other) const
 
bool operator!= (const SensorsFootSensors &t_other) const
 
bool operator== (const wb_sensors_foot_sensors &t_other) const
 
bool operator!= (const wb_sensors_foot_sensors &t_other) const
 
float & LFoot_FSR_FrontLeft ()
 
const float & LFoot_FSR_FrontLeft () const
 
void set_LFoot_FSR_FrontLeft (const float &t_newValue)
 
float & LFoot_FSR_FrontRight ()
 
const float & LFoot_FSR_FrontRight () const
 
void set_LFoot_FSR_FrontRight (const float &t_newValue)
 
float & LFoot_FSR_RearLeft ()
 
const float & LFoot_FSR_RearLeft () const
 
void set_LFoot_FSR_RearLeft (const float &t_newValue)
 
float & LFoot_FSR_RearRight ()
 
const float & LFoot_FSR_RearRight () const
 
void set_LFoot_FSR_RearRight (const float &t_newValue)
 
float & LFoot_FSR_CenterOfPressure_X ()
 
const float & LFoot_FSR_CenterOfPressure_X () const
 
void set_LFoot_FSR_CenterOfPressure_X (const float &t_newValue)
 
float & LFoot_FSR_CenterOfPressure_Y ()
 
const float & LFoot_FSR_CenterOfPressure_Y () const
 
void set_LFoot_FSR_CenterOfPressure_Y (const float &t_newValue)
 
float & LFoot_FSR_TotalWeight ()
 
const float & LFoot_FSR_TotalWeight () const
 
void set_LFoot_FSR_TotalWeight (const float &t_newValue)
 
float & RFoot_FSR_FrontLeft ()
 
const float & RFoot_FSR_FrontLeft () const
 
void set_RFoot_FSR_FrontLeft (const float &t_newValue)
 
float & RFoot_FSR_FrontRight ()
 
const float & RFoot_FSR_FrontRight () const
 
void set_RFoot_FSR_FrontRight (const float &t_newValue)
 
float & RFoot_FSR_RearLeft ()
 
const float & RFoot_FSR_RearLeft () const
 
void set_RFoot_FSR_RearLeft (const float &t_newValue)
 
float & RFoot_FSR_RearRight ()
 
const float & RFoot_FSR_RearRight () const
 
void set_RFoot_FSR_RearRight (const float &t_newValue)
 
float & RFoot_FSR_CenterOfPressure_X ()
 
const float & RFoot_FSR_CenterOfPressure_X () const
 
void set_RFoot_FSR_CenterOfPressure_X (const float &t_newValue)
 
float & RFoot_FSR_CenterOfPressure_Y ()
 
const float & RFoot_FSR_CenterOfPressure_Y () const
 
void set_RFoot_FSR_CenterOfPressure_Y (const float &t_newValue)
 
float & RFoot_FSR_TotalWeight ()
 
const float & RFoot_FSR_TotalWeight () const
 
void set_RFoot_FSR_TotalWeight (const float &t_newValue)
 
bool & LFoot_Bumper_Left ()
 
const bool & LFoot_Bumper_Left () const
 
void set_LFoot_Bumper_Left (const bool &t_newValue)
 
bool & LFoot_Bumper_Right ()
 
const bool & LFoot_Bumper_Right () const
 
void set_LFoot_Bumper_Right (const bool &t_newValue)
 
bool & RFoot_Bumper_Left ()
 
const bool & RFoot_Bumper_Left () const
 
void set_RFoot_Bumper_Left (const bool &t_newValue)
 
bool & RFoot_Bumper_Right ()
 
const bool & RFoot_Bumper_Right () const
 
void set_RFoot_Bumper_Right (const bool &t_newValue)
 
 SensorsFootSensors (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_foot_sensors
float LFoot_FSR_FrontLeft
 front left force sensor on the left foot More...
 
float LFoot_FSR_FrontRight
 front right force sensor on the left foot More...
 
float LFoot_FSR_RearLeft
 rear left force sensor on the left foot More...
 
float LFoot_FSR_RearRight
 rear right force sensor on the left foot More...
 
float LFoot_FSR_CenterOfPressure_X
 left foot center of pressure X More...
 
float LFoot_FSR_CenterOfPressure_Y
 left foot center of pressure Y More...
 
float LFoot_FSR_TotalWeight
 Total weight on left foot (kg) More...
 
float RFoot_FSR_FrontLeft
 front left force sensor on the right foot More...
 
float RFoot_FSR_FrontRight
 front right force sensor on the right foot More...
 
float RFoot_FSR_RearLeft
 rear left force sensor on the right foot More...
 
float RFoot_FSR_RearRight
 rear right force sensor on the right foot More...
 
float RFoot_FSR_CenterOfPressure_X
 right foot center of pressure X More...
 
float RFoot_FSR_CenterOfPressure_Y
 right foot center of pressure Y More...
 
float RFoot_FSR_TotalWeight
 Total weight right foot (kg) More...
 
bool LFoot_Bumper_Left
 left bumper on the left foot (on / off) More...
 
bool LFoot_Bumper_Right
 right bumper on the left foot (on / off) More...
 
bool RFoot_Bumper_Left
 left bumper on the right foot (on / off) More...
 
bool RFoot_Bumper_Right
 right bumper on the right foot (on / off) More...
 

Detailed Description

Provides a C++ wrapper around wb_sensors_foot_sensors.

Definition at line 84 of file SensorsFootSensors.hpp.

Constructor & Destructor Documentation

◆ SensorsFootSensors() [1/4]

guWhiteboard::SensorsFootSensors::SensorsFootSensors ( float  t_LFoot_FSR_FrontLeft = 0.0f,
float  t_LFoot_FSR_FrontRight = 0.0f,
float  t_LFoot_FSR_RearLeft = 0.0f,
float  t_LFoot_FSR_RearRight = 0.0f,
float  t_LFoot_FSR_CenterOfPressure_X = 0.0f,
float  t_LFoot_FSR_CenterOfPressure_Y = 0.0f,
float  t_LFoot_FSR_TotalWeight = 0.0f,
float  t_RFoot_FSR_FrontLeft = 0.0f,
float  t_RFoot_FSR_FrontRight = 0.0f,
float  t_RFoot_FSR_RearLeft = 0.0f,
float  t_RFoot_FSR_RearRight = 0.0f,
float  t_RFoot_FSR_CenterOfPressure_X = 0.0f,
float  t_RFoot_FSR_CenterOfPressure_Y = 0.0f,
float  t_RFoot_FSR_TotalWeight = 0.0f,
bool  t_LFoot_Bumper_Left = true,
bool  t_LFoot_Bumper_Right = true,
bool  t_RFoot_Bumper_Left = true,
bool  t_RFoot_Bumper_Right = true 
)
inline

Create a new SensorsFootSensors.

Definition at line 117 of file SensorsFootSensors.hpp.

Referenced by operator==().

◆ SensorsFootSensors() [2/4]

◆ SensorsFootSensors() [3/4]

◆ SensorsFootSensors() [4/4]

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

String Constructor.

Definition at line 462 of file SensorsFootSensors.hpp.

References from_string().

Member Function Documentation

◆ description()

◆ from_string()

◆ LFoot_Bumper_Left() [1/2]

bool & guWhiteboard::SensorsFootSensors::LFoot_Bumper_Left ( )
inline

◆ LFoot_Bumper_Left() [2/2]

const bool & guWhiteboard::SensorsFootSensors::LFoot_Bumper_Left ( ) const
inline

◆ LFoot_Bumper_Right() [1/2]

bool & guWhiteboard::SensorsFootSensors::LFoot_Bumper_Right ( )
inline

◆ LFoot_Bumper_Right() [2/2]

const bool & guWhiteboard::SensorsFootSensors::LFoot_Bumper_Right ( ) const
inline

◆ LFoot_FSR_CenterOfPressure_X() [1/2]

float & guWhiteboard::SensorsFootSensors::LFoot_FSR_CenterOfPressure_X ( )
inline

◆ LFoot_FSR_CenterOfPressure_X() [2/2]

const float & guWhiteboard::SensorsFootSensors::LFoot_FSR_CenterOfPressure_X ( ) const
inline

◆ LFoot_FSR_CenterOfPressure_Y() [1/2]

float & guWhiteboard::SensorsFootSensors::LFoot_FSR_CenterOfPressure_Y ( )
inline

◆ LFoot_FSR_CenterOfPressure_Y() [2/2]

const float & guWhiteboard::SensorsFootSensors::LFoot_FSR_CenterOfPressure_Y ( ) const
inline

◆ LFoot_FSR_FrontLeft() [1/2]

float & guWhiteboard::SensorsFootSensors::LFoot_FSR_FrontLeft ( )
inline

◆ LFoot_FSR_FrontLeft() [2/2]

const float & guWhiteboard::SensorsFootSensors::LFoot_FSR_FrontLeft ( ) const
inline

◆ LFoot_FSR_FrontRight() [1/2]

float & guWhiteboard::SensorsFootSensors::LFoot_FSR_FrontRight ( )
inline

◆ LFoot_FSR_FrontRight() [2/2]

const float & guWhiteboard::SensorsFootSensors::LFoot_FSR_FrontRight ( ) const
inline

◆ LFoot_FSR_RearLeft() [1/2]

float & guWhiteboard::SensorsFootSensors::LFoot_FSR_RearLeft ( )
inline

◆ LFoot_FSR_RearLeft() [2/2]

const float & guWhiteboard::SensorsFootSensors::LFoot_FSR_RearLeft ( ) const
inline

◆ LFoot_FSR_RearRight() [1/2]

float & guWhiteboard::SensorsFootSensors::LFoot_FSR_RearRight ( )
inline

◆ LFoot_FSR_RearRight() [2/2]

const float & guWhiteboard::SensorsFootSensors::LFoot_FSR_RearRight ( ) const
inline

◆ LFoot_FSR_TotalWeight() [1/2]

float & guWhiteboard::SensorsFootSensors::LFoot_FSR_TotalWeight ( )
inline

◆ LFoot_FSR_TotalWeight() [2/2]

const float & guWhiteboard::SensorsFootSensors::LFoot_FSR_TotalWeight ( ) const
inline

◆ operator!=() [1/2]

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

Definition at line 173 of file SensorsFootSensors.hpp.

◆ operator!=() [2/2]

bool guWhiteboard::SensorsFootSensors::operator!= ( const wb_sensors_foot_sensors t_other) const
inline

Definition at line 183 of file SensorsFootSensors.hpp.

◆ operator=() [1/2]

◆ operator=() [2/2]

◆ operator==() [1/2]

◆ operator==() [2/2]

bool guWhiteboard::SensorsFootSensors::operator== ( const wb_sensors_foot_sensors t_other) const
inline

Definition at line 178 of file SensorsFootSensors.hpp.

References SensorsFootSensors().

◆ RFoot_Bumper_Left() [1/2]

bool & guWhiteboard::SensorsFootSensors::RFoot_Bumper_Left ( )
inline

◆ RFoot_Bumper_Left() [2/2]

const bool & guWhiteboard::SensorsFootSensors::RFoot_Bumper_Left ( ) const
inline

◆ RFoot_Bumper_Right() [1/2]

bool & guWhiteboard::SensorsFootSensors::RFoot_Bumper_Right ( )
inline

◆ RFoot_Bumper_Right() [2/2]

const bool & guWhiteboard::SensorsFootSensors::RFoot_Bumper_Right ( ) const
inline

◆ RFoot_FSR_CenterOfPressure_X() [1/2]

float & guWhiteboard::SensorsFootSensors::RFoot_FSR_CenterOfPressure_X ( )
inline

◆ RFoot_FSR_CenterOfPressure_X() [2/2]

const float & guWhiteboard::SensorsFootSensors::RFoot_FSR_CenterOfPressure_X ( ) const
inline

◆ RFoot_FSR_CenterOfPressure_Y() [1/2]

float & guWhiteboard::SensorsFootSensors::RFoot_FSR_CenterOfPressure_Y ( )
inline

◆ RFoot_FSR_CenterOfPressure_Y() [2/2]

const float & guWhiteboard::SensorsFootSensors::RFoot_FSR_CenterOfPressure_Y ( ) const
inline

◆ RFoot_FSR_FrontLeft() [1/2]

float & guWhiteboard::SensorsFootSensors::RFoot_FSR_FrontLeft ( )
inline

◆ RFoot_FSR_FrontLeft() [2/2]

const float & guWhiteboard::SensorsFootSensors::RFoot_FSR_FrontLeft ( ) const
inline

◆ RFoot_FSR_FrontRight() [1/2]

float & guWhiteboard::SensorsFootSensors::RFoot_FSR_FrontRight ( )
inline

◆ RFoot_FSR_FrontRight() [2/2]

const float & guWhiteboard::SensorsFootSensors::RFoot_FSR_FrontRight ( ) const
inline

◆ RFoot_FSR_RearLeft() [1/2]

float & guWhiteboard::SensorsFootSensors::RFoot_FSR_RearLeft ( )
inline

◆ RFoot_FSR_RearLeft() [2/2]

const float & guWhiteboard::SensorsFootSensors::RFoot_FSR_RearLeft ( ) const
inline

◆ RFoot_FSR_RearRight() [1/2]

float & guWhiteboard::SensorsFootSensors::RFoot_FSR_RearRight ( )
inline

◆ RFoot_FSR_RearRight() [2/2]

const float & guWhiteboard::SensorsFootSensors::RFoot_FSR_RearRight ( ) const
inline

◆ RFoot_FSR_TotalWeight() [1/2]

float & guWhiteboard::SensorsFootSensors::RFoot_FSR_TotalWeight ( )
inline

◆ RFoot_FSR_TotalWeight() [2/2]

const float & guWhiteboard::SensorsFootSensors::RFoot_FSR_TotalWeight ( ) const
inline

◆ set_LFoot_Bumper_Left()

void guWhiteboard::SensorsFootSensors::set_LFoot_Bumper_Left ( const bool &  t_newValue)
inline

Definition at line 408 of file SensorsFootSensors.hpp.

References wb_sensors_foot_sensors::LFoot_Bumper_Left.

Referenced by from_string().

◆ set_LFoot_Bumper_Right()

void guWhiteboard::SensorsFootSensors::set_LFoot_Bumper_Right ( const bool &  t_newValue)
inline

Definition at line 423 of file SensorsFootSensors.hpp.

References wb_sensors_foot_sensors::LFoot_Bumper_Right.

Referenced by from_string().

◆ set_LFoot_FSR_CenterOfPressure_X()

void guWhiteboard::SensorsFootSensors::set_LFoot_FSR_CenterOfPressure_X ( const float &  t_newValue)
inline

◆ set_LFoot_FSR_CenterOfPressure_Y()

void guWhiteboard::SensorsFootSensors::set_LFoot_FSR_CenterOfPressure_Y ( const float &  t_newValue)
inline

◆ set_LFoot_FSR_FrontLeft()

void guWhiteboard::SensorsFootSensors::set_LFoot_FSR_FrontLeft ( const float &  t_newValue)
inline

Definition at line 198 of file SensorsFootSensors.hpp.

References wb_sensors_foot_sensors::LFoot_FSR_FrontLeft.

Referenced by from_string().

◆ set_LFoot_FSR_FrontRight()

void guWhiteboard::SensorsFootSensors::set_LFoot_FSR_FrontRight ( const float &  t_newValue)
inline

Definition at line 213 of file SensorsFootSensors.hpp.

References wb_sensors_foot_sensors::LFoot_FSR_FrontRight.

Referenced by from_string().

◆ set_LFoot_FSR_RearLeft()

void guWhiteboard::SensorsFootSensors::set_LFoot_FSR_RearLeft ( const float &  t_newValue)
inline

Definition at line 228 of file SensorsFootSensors.hpp.

References wb_sensors_foot_sensors::LFoot_FSR_RearLeft.

Referenced by from_string().

◆ set_LFoot_FSR_RearRight()

void guWhiteboard::SensorsFootSensors::set_LFoot_FSR_RearRight ( const float &  t_newValue)
inline

Definition at line 243 of file SensorsFootSensors.hpp.

References wb_sensors_foot_sensors::LFoot_FSR_RearRight.

Referenced by from_string().

◆ set_LFoot_FSR_TotalWeight()

void guWhiteboard::SensorsFootSensors::set_LFoot_FSR_TotalWeight ( const float &  t_newValue)
inline

Definition at line 288 of file SensorsFootSensors.hpp.

References wb_sensors_foot_sensors::LFoot_FSR_TotalWeight.

Referenced by from_string().

◆ set_RFoot_Bumper_Left()

void guWhiteboard::SensorsFootSensors::set_RFoot_Bumper_Left ( const bool &  t_newValue)
inline

Definition at line 438 of file SensorsFootSensors.hpp.

References wb_sensors_foot_sensors::RFoot_Bumper_Left.

Referenced by from_string().

◆ set_RFoot_Bumper_Right()

void guWhiteboard::SensorsFootSensors::set_RFoot_Bumper_Right ( const bool &  t_newValue)
inline

Definition at line 453 of file SensorsFootSensors.hpp.

References wb_sensors_foot_sensors::RFoot_Bumper_Right.

Referenced by from_string().

◆ set_RFoot_FSR_CenterOfPressure_X()

void guWhiteboard::SensorsFootSensors::set_RFoot_FSR_CenterOfPressure_X ( const float &  t_newValue)
inline

◆ set_RFoot_FSR_CenterOfPressure_Y()

void guWhiteboard::SensorsFootSensors::set_RFoot_FSR_CenterOfPressure_Y ( const float &  t_newValue)
inline

◆ set_RFoot_FSR_FrontLeft()

void guWhiteboard::SensorsFootSensors::set_RFoot_FSR_FrontLeft ( const float &  t_newValue)
inline

Definition at line 303 of file SensorsFootSensors.hpp.

References wb_sensors_foot_sensors::RFoot_FSR_FrontLeft.

Referenced by from_string().

◆ set_RFoot_FSR_FrontRight()

void guWhiteboard::SensorsFootSensors::set_RFoot_FSR_FrontRight ( const float &  t_newValue)
inline

Definition at line 318 of file SensorsFootSensors.hpp.

References wb_sensors_foot_sensors::RFoot_FSR_FrontRight.

Referenced by from_string().

◆ set_RFoot_FSR_RearLeft()

void guWhiteboard::SensorsFootSensors::set_RFoot_FSR_RearLeft ( const float &  t_newValue)
inline

Definition at line 333 of file SensorsFootSensors.hpp.

References wb_sensors_foot_sensors::RFoot_FSR_RearLeft.

Referenced by from_string().

◆ set_RFoot_FSR_RearRight()

void guWhiteboard::SensorsFootSensors::set_RFoot_FSR_RearRight ( const float &  t_newValue)
inline

Definition at line 348 of file SensorsFootSensors.hpp.

References wb_sensors_foot_sensors::RFoot_FSR_RearRight.

Referenced by from_string().

◆ set_RFoot_FSR_TotalWeight()

void guWhiteboard::SensorsFootSensors::set_RFoot_FSR_TotalWeight ( const float &  t_newValue)
inline

Definition at line 393 of file SensorsFootSensors.hpp.

References wb_sensors_foot_sensors::RFoot_FSR_TotalWeight.

Referenced by from_string().

◆ to_string()


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