|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
Data Fields | |
| uint32_t | sent |
| uint32_t | echoed |
| uint32_t | timed_out |
| uint32_t | corrupt |
| uint32_t | stale |
| uint16_t | seq |
| uint16_t | outstanding |
| bool | waiting |
| uint32_t | sent_ms |
| uint32_t | timeout_ms |
| uint32_t | rtt_min_us |
| uint32_t | rtt_max_us |
| uint32_t | bus_errors |
| uint32_t can_selftest_t::bus_errors |
Bus errors counted by the local controller, filled in by the caller before asking for a verdict. This is what separates a wire fault (LOSSY) from a software one (DROPPED). Left at zero, loss is reported as DROPPED.
| uint32_t can_selftest_t::corrupt |
came back wrong: the worst of the three
| uint32_t can_selftest_t::echoed |
came back, and correct
| uint16_t can_selftest_t::outstanding |
the one being waited for
| uint16_t can_selftest_t::seq |
next sequence number to send
| uint32_t can_selftest_t::stale |
an echo of something not outstanding