|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
Data Fields | |
| servo_limit_cfg_t | cfg |
| servo_limit_state_t | state |
| servo_limit_fault_t | fault |
| uint16_t | cmd_us |
| uint16_t | last_free_us |
| uint16_t | limit_us |
| float | baseline_a |
| float | knee_a |
| uint32_t | phase_start_ms |
| bool | measuring |
| double | sum_a |
| uint32_t | samples |
| uint32_t | baseline_steps |
| double | baseline_sum |
| uint32_t | elevated_since_ms |
| bool | elevated |
| bool | started |
| float servo_limit_t::baseline_a |
free-running current, from the first steps
| uint32_t servo_limit_t::baseline_steps |
how many positions have fed the baseline
| uint16_t servo_limit_t::cmd_us |
the current command to the servo
| float servo_limit_t::knee_a |
the current measured at the bound position
| uint16_t servo_limit_t::last_free_us |
the furthest position that was still free
| uint16_t servo_limit_t::limit_us |
the answer, once state is FOUND