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

Data Fields

servo_test_cfg_t cfg
servo_test_state_t state
servo_test_phase_t phase
servo_test_abort_t why
uint32_t start_ms
uint32_t end_ms
uint32_t phase_ms
float v_max
float floor_v
float bo_start_v
servo_test_step_t steps [SERVO_TEST_STEP_SLOTS]
uint8_t step
uint8_t step_count
bool on_seen
uint16_t cmd_us
uint8_t end
uint32_t cmd_ms
bool counted
servo_move_t move
float hold_ref [2]
bool hold_known [2]
uint32_t hold_from_ms
servo_test_mean_t hold_now
uint32_t moves_from_ms
uint16_t moves_done
uint8_t placed
uint32_t travel_now_ms
servo_test_enc_sample_t enc_hist [SERVO_TEST_ENC_HIST]
uint8_t enc_hist_n
uint8_t enc_hist_next
uint32_t enc_reads
uint32_t enc_no_magnet
uint32_t enc_weak
uint32_t enc_strong
bool enc_open
bool enc_counted
bool enc_ok
uint8_t enc_end
uint32_t enc_cmd_ms
uint16_t enc_start_raw
uint16_t enc_last_raw
bool enc_moved
bool enc_settled
uint32_t enc_travel_ms
uint32_t enc_travel_now_ms
uint32_t enc_travel_at_ms
bool have_reading
uint16_t samples
uint32_t first_ms
uint32_t last_ms
uint32_t readings
uint32_t module_samples
uint32_t skipped
uint32_t clipped
bool stalling
uint32_t stall_since_ms
bool stalled
float stall_peak_a
float move_peak_now
bool sup_have
uint16_t sup_samples
uint32_t sup_ms
uint8_t sup_mode
bool cc_on
uint32_t cc_since_ms
uint32_t cc_readings
uint32_t cc_longest_ms
char box [SERVO_TEST_OUTBOX][SERVO_TEST_LINE_MAX]
uint8_t box_kind [SERVO_TEST_OUTBOX]
uint8_t box_head
uint8_t box_n
uint32_t rows
uint32_t rows_lost
unsigned report_line
bool ended
char scratch [SERVO_TEST_LINE_MAX]
servo_test_do_t pend

Field Documentation

◆ bo_start_v

float servo_test_t::bo_start_v

the brown-out walk's start voltage, V

◆ cc_longest_ms

uint32_t servo_test_t::cc_longest_ms

the longest stretch of them

◆ cc_on

bool servo_test_t::cc_on

its last new reading was constant current

◆ cc_readings

uint32_t servo_test_t::cc_readings

new readings in constant current

◆ clipped

uint32_t servo_test_t::clipped

windows with a sample at an end of the INA3221's range

◆ counted

bool servo_test_t::counted

the move counts

◆ enc_last_raw

uint16_t servo_test_t::enc_last_raw

the last since

◆ enc_no_magnet

uint32_t servo_test_t::enc_no_magnet

times the part reported no magnet

◆ enc_ok

bool servo_test_t::enc_ok

it has a start angle

◆ enc_open

bool servo_test_t::enc_open

a move is being judged

◆ enc_reads

uint32_t servo_test_t::enc_reads

readings that reached the run

◆ enc_start_raw

uint16_t servo_test_t::enc_start_raw

the count read before the command

◆ enc_strong

uint32_t servo_test_t::enc_strong

... and too strong

◆ enc_travel_at_ms

uint32_t servo_test_t::enc_travel_at_ms

the reading that found it

◆ enc_travel_now_ms

uint32_t servo_test_t::enc_travel_now_ms

the settle to log, 0 for none

◆ enc_weak

uint32_t servo_test_t::enc_weak

readings with the field too weak

◆ end

uint8_t servo_test_t::end

0 low, 1 high: where the move goes

◆ ended

bool servo_test_t::ended

END handed over

◆ floor_v

float servo_test_t::floor_v

where the brown-out walk stops

◆ last_ms

uint32_t servo_test_t::last_ms

taken_ms of the first and last

◆ move

servo_move_t servo_test_t::move

the move under way, judged by servo_move

◆ move_peak_now

float servo_test_t::move_peak_now

the 1ms sample of the largest magnitude since the command, on the INA3221

◆ on_seen

bool servo_test_t::on_seen

the output has read on

◆ phase_ms

uint32_t servo_test_t::phase_ms

when the phase began

◆ placed

uint8_t servo_test_t::placed

uncounted moves to the ends, this step

◆ readings

uint32_t servo_test_t::readings

new readings during the run

◆ skipped

uint32_t servo_test_t::skipped

readings the meter took that never reached the test: its count stepped by more than one between two samples

◆ stall_peak_a

float servo_test_t::stall_peak_a

the characterisation reading of the largest magnitude

◆ stalled

bool servo_test_t::stalled

a characterisation reading over STALL AT

◆ step

uint8_t servo_test_t::step

the step running

◆ step_count

uint8_t servo_test_t::step_count

steps[] in use

◆ sup_have

bool servo_test_t::sup_have

a reading of it arrived

◆ sup_mode

uint8_t servo_test_t::sup_mode

its mode at that reading

◆ sup_ms

uint32_t servo_test_t::sup_ms

taken_ms of its last new reading

◆ travel_now_ms

uint32_t servo_test_t::travel_now_ms

the arrival to log, 0 for none

◆ v_max

float servo_test_t::v_max

the cap as last told


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