|
HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
|
Test unit settings - synchronized with test machine via ESP-NOW. More...
#include <espnow_protocol.hpp>
Public Attributes | |
| uint32_t | cycle_amount = 300 |
| Target cycles (0 = infinite) | |
| float | oscillation_vmax_rpm = 60.0f |
| Max velocity during oscillation (RPM) | |
| float | oscillation_amax_rev_s2 = 10.0f |
| Acceleration during oscillation (rev/s²) | |
| uint32_t | dwell_time_ms = 500 |
| Dwell at endpoints (ms) | |
| bool | bounds_method_stallguard = true |
| true = StallGuard2, false = encoder | |
| float | bounds_search_velocity_rpm = 0.0f |
| Search speed during bounds finding (RPM, 0 = use test config default) | |
| float | stallguard_min_velocity_rpm = 0.0f |
| Min velocity for StallGuard2 (RPM, 0 = use test config default) | |
| float | stall_detection_current_factor = 0.0f |
| Current reduction factor (0.0-1.0, 0 = use test config default) | |
| float | bounds_search_accel_rev_s2 = 0.0f |
| Search acceleration (rev/s², 0 = use test config default) | |
| int8_t | stallguard_sgt = 0 |
| StallGuard threshold [-64..63], 127 = use test config default. | |
Test unit settings - synchronized with test machine via ESP-NOW.
These settings control the fatigue test behavior.
PROTOCOL V2: Uses direct velocity/acceleration control instead of cycle time.
| bool TestUnitSettings::bounds_method_stallguard = true |
true = StallGuard2, false = encoder
| float TestUnitSettings::bounds_search_accel_rev_s2 = 0.0f |
Search acceleration (rev/s², 0 = use test config default)
| float TestUnitSettings::bounds_search_velocity_rpm = 0.0f |
Search speed during bounds finding (RPM, 0 = use test config default)
| uint32_t TestUnitSettings::cycle_amount = 300 |
Target cycles (0 = infinite)
| uint32_t TestUnitSettings::dwell_time_ms = 500 |
Dwell at endpoints (ms)
| float TestUnitSettings::oscillation_amax_rev_s2 = 10.0f |
Acceleration during oscillation (rev/s²)
| float TestUnitSettings::oscillation_vmax_rpm = 60.0f |
Max velocity during oscillation (RPM)
| float TestUnitSettings::stall_detection_current_factor = 0.0f |
Current reduction factor (0.0-1.0, 0 = use test config default)
| float TestUnitSettings::stallguard_min_velocity_rpm = 0.0f |
Min velocity for StallGuard2 (RPM, 0 = use test config default)
| int8_t TestUnitSettings::stallguard_sgt = 0 |
StallGuard threshold [-64..63], 127 = use test config default.