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 (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< SVHControlCommandcommands
 Multiple controllcommands that shall be send at once. More...
 

Detailed Description

Structure for transmitting all controllcommands at once.

Definition at line 63 of file SVHControlCommand.h.

Constructor & Destructor Documentation

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 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.

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

Definition at line 99 of file SVHControlCommand.h.

driver_svh::SVHControlCommandAllChannels::SVHControlCommandAllChannels ( )
inline

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

Definition at line 108 of file SVHControlCommand.h.

Member Function Documentation

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

Compares two SVHControlCommand objects.

Definition at line 113 of file SVHControlCommand.h.

Member Data Documentation

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

Multiple controllcommands that shall be send at once.

Definition at line 66 of file SVHControlCommand.h.


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


schunk_svh_driver
Author(s): Georg Heppner
autogenerated on Mon Jun 10 2019 15:04:59