rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
servo_test_enc_t Struct Reference

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

Detailed Description

One reading of the output encoder, as the SENSE page has it.

Field Documentation

◆ gap

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

◆ no_magnet

bool servo_test_enc_t::no_magnet

not valid because the part answers and detects no magnet (STATUS MD clear)

◆ raw

uint16_t servo_test_enc_t::raw

RAW ANGLE, 0 to 4095

◆ still_ms

uint16_t servo_test_enc_t::still_ms

the angle within the tolerance for this long at the reading

◆ strong

bool servo_test_enc_t::strong

valid, with the field too strong (MH): likewise

◆ taken_ms

uint32_t servo_test_enc_t::taken_ms

when the panel had it, on the run's clock

◆ valid

bool servo_test_enc_t::valid

the part answers, detects its magnet and has an angle

◆ weak

bool servo_test_enc_t::weak

valid, with the field too weak (ML): the angle's noise is not specified


The documentation for this struct was generated from the following file: