Public Member Functions | Public Attributes | List of all members
driver_svh::SVHControlCommandAllChannels Class Reference

Structure for transmitting all controllcommands at once. More...

#include <SVHControlCommand.h>

Public Member Functions

bool operator== (const SVHControlCommandAllChannels &other) const
 Compares two SVHControlCommand objects. More...
 
 SVHControlCommandAllChannels ()
 Constructs an empty SVHControlCommandAllChannels structure pre filled with 9 empty SVHControlCommands. Mainly usefull for deserialisation. More...
 
 SVHControlCommandAllChannels (const int32_t &position0, const int32_t &position1, const int32_t &position2, const int32_t &position3, const int32_t &position4, const int32_t &position5, const int32_t &position6, const int32_t &position7, const int32_t &position8)
 Constructs a controllcommand adressing all channels at once All. More...
 
 SVHControlCommandAllChannels (const std::vector< int32_t > &positions)
 Construct a control command for all channels from a vector. Only the first 9 Values are used. More...
 

Public Attributes

std::vector< SVHControlCommandcommands
 Multiple controllcommands that shall be send at once. More...
 

Detailed Description

Structure for transmitting all controllcommands at once.

Definition at line 68 of file SVHControlCommand.h.

Constructor & Destructor Documentation

◆ SVHControlCommandAllChannels() [1/3]

driver_svh::SVHControlCommandAllChannels::SVHControlCommandAllChannels ( const int32_t &  position0,
const int32_t &  position1,
const int32_t &  position2,
const int32_t &  position3,
const int32_t &  position4,
const int32_t &  position5,
const int32_t &  position6,
const int32_t &  position7,
const int32_t &  position8 
)
inline

Constructs a controllcommand adressing all channels at once All.

Parameters
_position0Target position for the Thumb_Flexion
_position1Target position for the Thumb_Opposition
_position2Target position for the Index_Finger_Distal
_position3Target position for the Index_Finger_Proximal
_position4Target position for the Middle_Finger_Distal
_position5Target position for the Middle_Finger_Proximal
_position6Target position for the Ring_Finger
_position7Target position for the Pinky
_position8Target position for the Finger_Spread

Definition at line 85 of file SVHControlCommand.h.

◆ SVHControlCommandAllChannels() [2/3]

driver_svh::SVHControlCommandAllChannels::SVHControlCommandAllChannels ( const std::vector< int32_t > &  positions)
inline

Construct a control command for all channels from a vector. Only the first 9 Values are used.

Parameters
positionsvector of position values. Only the first 9 values are evaluated

Definition at line 110 of file SVHControlCommand.h.

◆ SVHControlCommandAllChannels() [3/3]

driver_svh::SVHControlCommandAllChannels::SVHControlCommandAllChannels ( )
inline

Constructs an empty SVHControlCommandAllChannels structure pre filled with 9 empty SVHControlCommands. Mainly usefull for deserialisation.

Definition at line 119 of file SVHControlCommand.h.

Member Function Documentation

◆ operator==()

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

Compares two SVHControlCommand objects.

Definition at line 125 of file SVHControlCommand.h.

Member Data Documentation

◆ commands

std::vector<SVHControlCommand> driver_svh::SVHControlCommandAllChannels::commands

Multiple controllcommands that shall be send at once.

Definition at line 71 of file SVHControlCommand.h.


The documentation for this class 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