Go to the documentation of this file.
35 #ifndef SVHHOMESETTINGS_H
36 #define SVHHOMESETTINGS_H
103 this->direction =
direction < 0 ? -1 : +1;
118 size_t size = home_settings.size();
119 float temp_direction = 0.0;
121 temp_direction = (size > 0) ? home_settings[0] : 0.0f;
122 direction = temp_direction < 0.0 ? -1 : +1;
127 range_rad = (size > 4) ? home_settings[4] : 0.0f;
152 #endif // SVHHOMESETTINGS_H
SVHHomeSettings()
SVHHomeSettings Default constructor initializing empty homeSettings. This is not usefull and should b...
float reset_current_factor
float minimum_offset
Minimum reachable tick limit, given as offset from the hard stop (soft limit)
SVHHomeSettings(const int &direction, const float &minimum_offset, const float &maximum_offset, const float &idle_position, const float &range_rad, const float &reset_current_factor)
SVHHomeSettingsn Constructor for the home settings, providing each value individually.
float maximum_offset
Maximum reachable tick limit, given as an offset from the hard stop (soft limit)
data sctructure for home positions
SVHHomeSettings(const std::vector< float > &home_settings)
SVHHomeSettings Convenience constructor to easily construct home settings out of a singe vector....
int direction
Movement direction of the finger +1 or -1 home in positive or negative direction.
driver_svh::ArrayBuilder & operator<<(driver_svh::ArrayBuilder &ab, const SVHControlCommand &data)
schunk_svh_library
Author(s): Georg Heppner, Lars Pfotzer, Felix Exner, Johannes Mangler, Stefan Scherzinger, Pascal Becker
autogenerated on Fri Apr 14 2023 02:53:52