|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
One reading of the output encoder, as the SENSE page has it. More...
#include <servo_test_io.h>
Data Fields | |
| bool | valid |
| uint16_t | raw |
| uint16_t | still_ms |
| uint32_t | taken_ms |
| bool | gap |
| bool | no_magnet |
| bool | weak |
| bool | strong |
One reading of the output encoder, as the SENSE page has it.
| bool servo_test_enc_t::gap |
readings before this one were lost: the angle between is not known, as after a reading that is not valid
| bool servo_test_enc_t::no_magnet |
not valid because the part answers and detects no magnet (STATUS MD clear)
| uint16_t servo_test_enc_t::raw |
RAW ANGLE, 0 to 4095
| uint16_t servo_test_enc_t::still_ms |
the angle within the tolerance for this long at the reading
| bool servo_test_enc_t::strong |
valid, with the field too strong (MH): likewise
| uint32_t servo_test_enc_t::taken_ms |
when the panel had it, on the run's clock
| bool servo_test_enc_t::valid |
the part answers, detects its magnet and has an angle
| bool servo_test_enc_t::weak |
valid, with the field too weak (ML): the angle's noise is not specified