Structure for transmitting all controllcommands at once. More...
#include <SVHControlCommand.h>
Public Member Functions | |
bool | operator== (const SVHControlCommandAllChannels &other) const |
Compares two SVHControlCommand objects. | |
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. | |
SVHControlCommandAllChannels (const std::vector< int32_t > &positions) | |
Construct a control command for all channels from a vector. Only the first 9 Values are used. | |
SVHControlCommandAllChannels () | |
Constructs an empty SVHControlCommandAllChannels structure pre filled with 9 empty SVHControlCommands. Mainly usefull for deserialisation. | |
Public Attributes | |
std::vector< SVHControlCommand > | commands |
Multiple controllcommands that shall be send at once. |
Structure for transmitting all controllcommands at once.
Definition at line 63 of file SVHControlCommand.h.
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.
_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.
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.
positions | vector of position values. Only the first 9 values are evaluated |
Definition at line 99 of file SVHControlCommand.h.
Constructs an empty SVHControlCommandAllChannels structure pre filled with 9 empty SVHControlCommands. Mainly usefull for deserialisation.
Definition at line 108 of file SVHControlCommand.h.
bool driver_svh::SVHControlCommandAllChannels::operator== | ( | const SVHControlCommandAllChannels & | other | ) | const [inline] |
Compares two SVHControlCommand objects.
Definition at line 113 of file SVHControlCommand.h.
Multiple controllcommands that shall be send at once.
Definition at line 66 of file SVHControlCommand.h.