|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The far end's sweep phase as the host times it, from the acknowledgements of the writes that start, hold and resume it: when the curve's phase 0 is on the host's clock, and the phase a hold kept. More...
#include <servo_page.h>
Data Fields | |
| uint32_t | start_ms |
| uint32_t | kept_ms |
| bool | kept |
The far end's sweep phase as the host times it, from the acknowledgements of the writes that start, hold and resume it: when the curve's phase 0 is on the host's clock, and the phase a hold kept.
The far end times each from when the write reached it; the reply's delay is in every acknowledgement alike, so it cancels in the differences.
| bool servo_phase_t::kept |
a hold of a running sweep, not yet resumed
| uint32_t servo_phase_t::kept_ms |
how far into the curve a hold kept it
| uint32_t servo_phase_t::start_ms |
phase 0 of the curve, on the host's clock