Class SVHControlCommand
Defined in File SVHControlCommand.h
Class Documentation
-
class SVHControlCommand
ControlCommands are given as a single target position for the position controller (given in ticks)
Public Functions
-
inline SVHControlCommand(const int32_t &position = 0)
Constructs a new control command to comandeer the position of the fingers.
- Parameters:
_position – target position given in encoder ticks defaults to 0 if none is given
-
inline bool operator==(const SVHControlCommand &other) const
Compares two SVHControlCommand objects.
Public Members
-
int32_t position
Returned position value of the motor [Ticks].
-
inline SVHControlCommand(const int32_t &position = 0)