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

Configuration of a run: the plan, the servo, the limits and the settings the report shows. More...

#include <servo_test.h>

Data Fields

float steps_v [SERVO_TEST_STEPS_MAX]
uint8_t step_count
bool brownout
float i_limit
uint16_t centre_us
uint16_t end_lo_us
uint16_t end_hi_us
uint16_t settle_ms
uint16_t dwell_ms
bool by_moves
uint16_t moves
uint16_t time_s
float idle_max_a
 The pass/fail limits; 0 is not checked, and STALL AT always is.
float hold_max_a
uint16_t travel_max_ms
float stall_a
 The stall current's limit, A; the stall check always runs.
bool report
bool enc_on
uint16_t enc_centre
float enc_cmd_deg [2]
char dut [24]
char type [20]
char danger [40]
bool hv
uint16_t min_us
uint16_t max_us
uint16_t frame_hz
int16_t trim_us
bool reverse
uint8_t travel_deg
uint8_t range_pct
bool model
servo_test_meter_t meter
uint32_t meter_changes
uint8_t ina_why
char firmware [16]
const char *const * text
 The report's language: a table of SERVO_STR_COUNT entries, each NULL for the English, or NULL for English throughout. The CSV is English whatever this says, so tools parse every run alike.

Detailed Description

Configuration of a run: the plan, the servo, the limits and the settings the report shows.

Field Documentation

◆ by_moves

bool servo_test_cfg_t::by_moves

LENGTH BY MOVES; TIME otherwise

◆ danger

char servo_test_cfg_t::danger[40]

the red tag, or empty

◆ enc_centre

uint16_t servo_test_cfg_t::enc_centre

the count at the servo's neutral

◆ enc_cmd_deg

float servo_test_cfg_t::enc_cmd_deg[2]

the commanded angle of the low and the high end, the screen's degrees

◆ hold_max_a

float servo_test_cfg_t::hold_max_a

the holding current's pass limit, A

◆ hv

bool servo_test_cfg_t::hv

HV SERVO

◆ i_limit

float servo_test_cfg_t::i_limit

the current limit through the run, A

◆ idle_max_a

float servo_test_cfg_t::idle_max_a

The pass/fail limits; 0 is not checked, and STALL AT always is.

the idle current's pass limit, A

◆ ina_why

uint8_t servo_test_cfg_t::ina_why

servo_test_ina_t: why the INA3221 that is on in SETUP is not this run's meter

◆ meter_changes

uint32_t servo_test_cfg_t::meter_changes

the meter's change count at the start (servo_test_meter_now())

◆ model

bool servo_test_cfg_t::model

the supply is the panel's model

◆ report

bool servo_test_cfg_t::report

a TXT report beside the CSV

◆ travel_max_ms

uint16_t servo_test_cfg_t::travel_max_ms

the travel time's pass limit, ms


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