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 (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... | |
SVHControlCommandAllChannels () | |
Constructs an empty SVHControlCommandAllChannels structure pre filled with 9 empty SVHControlCommands. Mainly usefull for deserialisation. More... | |
Public Attributes | |
std::vector< SVHControlCommand > | commands |
Multiple controllcommands that shall be send at once. More... | |
Structure for transmitting all controllcommands at once.
Definition at line 63 of file SVHControlCommand.h.
|
inline |
Constructs a controllcommand adressing all channels at once All.
_position0 | Target position for the Thumb_Flexion |
_position1 | Target position for the Thumb_Opposition |
_position2 | Target position for the Index_Finger_Distal |
_position3 | Target position for the Index_Finger_Proximal |
_position4 | Target position for the Middle_Finger_Distal |
_position5 | Target position for the Middle_Finger_Proximal |
_position6 | Target position for the Ring_Finger |
_position7 | Target position for the Pinky |
_position8 | Target position for the Finger_Spread |
Definition at line 80 of file SVHControlCommand.h.
|
inline |
Construct a control command for all channels from a vector. Only the first 9 Values are used.
positions | vector of position values. Only the first 9 values are evaluated |
Definition at line 99 of file SVHControlCommand.h.
|
inline |
Constructs an empty SVHControlCommandAllChannels structure pre filled with 9 empty SVHControlCommands. Mainly usefull for deserialisation.
Definition at line 108 of file SVHControlCommand.h.
|
inline |
Compares two SVHControlCommand objects.
Definition at line 113 of file SVHControlCommand.h.
std::vector<SVHControlCommand> driver_svh::SVHControlCommandAllChannels::commands |
Multiple controllcommands that shall be send at once.
Definition at line 66 of file SVHControlCommand.h.