data sctructure for home positions More...
#include <SVHHomeSettings.h>
Public Member Functions | |
SVHHomeSettings () | |
SVHHomeSettings Default constructor initializing empty homeSettings. This is not usefull and should be filled immediately after. | |
SVHHomeSettings (const int &direction_, const float &minimumOffset_, const float &maximumOffset_, const float &idlePosition_, const float &rangeRad_, const float &resetCurrentFactor_) | |
SVHHomeSettingsn Constructor for the home settings, providing each value individually. | |
SVHHomeSettings (const std::vector< float > &home_settings) | |
SVHHomeSettings Convenience constructor to easily construct home settings out of a singe vector. Values are evaluated in order and if the vector is to short, values will be filles with zeros. | |
Public Attributes | |
int | direction |
Movement direction of the finger +1 or -1 home in positive or negative direction. | |
float | idlePosition |
Idle position to move the fingers to after initialization. | |
float | maximumOffset |
Maximum reachable tick limt, given as an offset from the hard stop (soft limit) | |
float | minimumOffset |
Minimum reachable tick limit, given as offset from the hard stop (soft limit) | |
float | rangeRad |
float | resetCurrentFactor |
The resetCurrentFactor indicates how much of the maximum allowed current (of the controller) must be present in order to decide that a hard stop was reached. |
data sctructure for home positions
Definition at line 35 of file SVHHomeSettings.h.
driver_svh::SVHHomeSettings::SVHHomeSettings | ( | ) | [inline] |
SVHHomeSettings Default constructor initializing empty homeSettings. This is not usefull and should be filled immediately after.
Definition at line 56 of file SVHHomeSettings.h.
driver_svh::SVHHomeSettings::SVHHomeSettings | ( | const int & | direction_, |
const float & | minimumOffset_, | ||
const float & | maximumOffset_, | ||
const float & | idlePosition_, | ||
const float & | rangeRad_, | ||
const float & | resetCurrentFactor_ | ||
) | [inline] |
SVHHomeSettingsn Constructor for the home settings, providing each value individually.
direction_ | Reset direction +1 oder -1 |
minimumOffset_ | soft stop minimum value |
maximumOffset_ | soft stop maximum value |
idlePosition_ | position to go to after reset |
rangeRad_ | range of moevement in rad |
Definition at line 73 of file SVHHomeSettings.h.
driver_svh::SVHHomeSettings::SVHHomeSettings | ( | const std::vector< float > & | home_settings | ) | [inline] |
SVHHomeSettings Convenience constructor to easily construct home settings out of a singe vector. Values are evaluated in order and if the vector is to short, values will be filles with zeros.
home_settings | vector of floats containing the values for the home settings. If the vector is to short the remaining values will be filled with zeros. If it is to long only as much elements as there are values in HomeSettings will be evaluated |
Definition at line 91 of file SVHHomeSettings.h.
Movement direction of the finger +1 or -1 home in positive or negative direction.
Definition at line 38 of file SVHHomeSettings.h.
Idle position to move the fingers to after initialization.
Definition at line 44 of file SVHHomeSettings.h.
Maximum reachable tick limt, given as an offset from the hard stop (soft limit)
Definition at line 42 of file SVHHomeSettings.h.
Minimum reachable tick limit, given as offset from the hard stop (soft limit)
Definition at line 40 of file SVHHomeSettings.h.
The total angle in [rad] that is used by the finger i.e. the anlge between one (soft) stop and the other This value will be used for calculation of the ticks
Definition at line 49 of file SVHHomeSettings.h.
The resetCurrentFactor indicates how much of the maximum allowed current (of the controller) must be present in order to decide that a hard stop was reached.
Definition at line 51 of file SVHHomeSettings.h.