Public Member Functions | Public Attributes | List of all members
driver_svh::SVHControllerFeedbackAllChannels Struct Reference

The SVHControllerFeedbackAllChannes saves the feedback of a all motors. More...

#include <SVHControllerFeedback.h>

Public Member Functions

bool operator== (const SVHControllerFeedbackAllChannels &other) const
 Compares two SVHControllerFeedbackAllChannels objects. More...
 
 SVHControllerFeedbackAllChannels ()
 Constructs an empty SVHControllerFeedbackAllChannels objects, prefilled with 9 default channel feedbacks, mainly usefull for deserialization. More...
 
 SVHControllerFeedbackAllChannels (const SVHControllerFeedback &feedback0, const SVHControllerFeedback &feedback1, const SVHControllerFeedback &feedback2, const SVHControllerFeedback &feedback3, const SVHControllerFeedback &feedback4, const SVHControllerFeedback &feedback5, const SVHControllerFeedback &feedback6, const SVHControllerFeedback &feedback7, const SVHControllerFeedback &feedback8)
 Constructs a SVHControllerFeedbackAllChannels data structure from explicit ffedback elements. More...
 
 SVHControllerFeedbackAllChannels (std::vector< SVHControllerFeedback > feedbacks)
 Creates a SVHControllerFeedbackAllChannels structure from a vector. More...
 

Public Attributes

std::vector< SVHControllerFeedbackfeedbacks
 Vector holding multiple channels. More...
 

Detailed Description

The SVHControllerFeedbackAllChannes saves the feedback of a all motors.

Definition at line 73 of file SVHControllerFeedback.h.

Constructor & Destructor Documentation

◆ SVHControllerFeedbackAllChannels() [1/3]

driver_svh::SVHControllerFeedbackAllChannels::SVHControllerFeedbackAllChannels ( const SVHControllerFeedback feedback0,
const SVHControllerFeedback feedback1,
const SVHControllerFeedback feedback2,
const SVHControllerFeedback feedback3,
const SVHControllerFeedback feedback4,
const SVHControllerFeedback feedback5,
const SVHControllerFeedback feedback6,
const SVHControllerFeedback feedback7,
const SVHControllerFeedback feedback8 
)
inline

Constructs a SVHControllerFeedbackAllChannels data structure from explicit ffedback elements.

Parameters
_feedback0Feedback for the Thumb_Flexion
_feedback1Feedback for the Thumb_Opposition
_feedback2Feedback for the Index_Finger_Distal
_feedback3Feedback for the Index_Finger_Proximal
_feedback4Feedback for the Middle_Finger_Distal
_feedback5Feedback for the Middle_Finger_Proximal
_feedback6Feedback for the Ring_Finger
_feedback7Feedback for the Pinky
_feedback8Feedback for the Finger_Spread

Definition at line 88 of file SVHControllerFeedback.h.

◆ SVHControllerFeedbackAllChannels() [2/3]

driver_svh::SVHControllerFeedbackAllChannels::SVHControllerFeedbackAllChannels ( std::vector< SVHControllerFeedback feedbacks)
inline

Creates a SVHControllerFeedbackAllChannels structure from a vector.

Parameters
_feedbacksVector filled with SVHControllerFeedback elements.
Note
Alhough it is possible to create a feedback vector with more than 9 elements, that would be rather pointles as we only have 9 chanels less than 9 channels will result in only partial feedback

Definition at line 116 of file SVHControllerFeedback.h.

◆ SVHControllerFeedbackAllChannels() [3/3]

driver_svh::SVHControllerFeedbackAllChannels::SVHControllerFeedbackAllChannels ( )
inline

Constructs an empty SVHControllerFeedbackAllChannels objects, prefilled with 9 default channel feedbacks, mainly usefull for deserialization.

Definition at line 125 of file SVHControllerFeedback.h.

Member Function Documentation

◆ operator==()

bool driver_svh::SVHControllerFeedbackAllChannels::operator== ( const SVHControllerFeedbackAllChannels other) const
inline

Compares two SVHControllerFeedbackAllChannels objects.

Definition at line 132 of file SVHControllerFeedback.h.

Member Data Documentation

◆ feedbacks

std::vector<SVHControllerFeedback> driver_svh::SVHControllerFeedbackAllChannels::feedbacks

Vector holding multiple channels.

Definition at line 76 of file SVHControllerFeedback.h.


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


schunk_svh_library
Author(s): Georg Heppner, Lars Pfotzer, Felix Exner, Johannes Mangler, Stefan Scherzinger, Pascal Becker
autogenerated on Fri Apr 14 2023 02:53:52