|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The ESC's telemetry as the IOmcu reads it at a sample: raw, with each reading's age and whether there is one. More...
#include <bench_state.h>
Data Fields | |
| uint16_t | poles |
| bool | erpm_ok |
| uint32_t | erpm |
| uint32_t | erpm_age_ms |
| bench_edt_reading_t | voltage |
| bench_edt_reading_t | current |
| bench_edt_reading_t | temperature |
The ESC's telemetry as the IOmcu reads it at a sample: raw, with each reading's age and whether there is one.
| bench_edt_reading_t bench_telem_t::current |
current reading
| uint32_t bench_telem_t::erpm |
electrical rpm
| uint32_t bench_telem_t::erpm_age_ms |
age of the speed, ms; stale past BENCH_RPM_STALE_MS
| bool bench_telem_t::erpm_ok |
the driver has a speed (outputs_hw_erpm())
| uint16_t bench_telem_t::poles |
MOTOR_POLES: magnets, not pole pairs
| bench_edt_reading_t bench_telem_t::temperature |
temperature reading
| bench_edt_reading_t bench_telem_t::voltage |
voltage reading