|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
Files | |
| bench_state.h | |
| The bench readings, in the units a person reads: V, A, W, rpm (revolutions per minute), degrees Celsius, mAh and Wh. | |
| endpoints_link.h | |
| The panel's half of the throttle's pulse endpoints, Idle pulse and Full pulse, on the CHAN_CFG (0x23) link page: when a debt is paid, what each outcome of paying it leaves, and whether a switch to ARMED may go on. | |
| hitec_card.h | |
| The card's side of the programmer for servos by Hitec: the text of the record of a write, which survives a restart of the panel, and its parse. | |
| hitec_link.h | |
| The panel's half of the HITEC (0x34) link page, protocol 4.23 on: one step of a session with a servo by Hitec turned into page frames, and the page's answer turned back into its result. | |
| hitec_prog.h | |
| The programmer for servos by Hitec as the SERVO screen runs it: the session with one servo, driven step by step through the panel's half of the HITEC link page, read only. | |
| hitec_rx_link.h | |
| The panel's half of the Hitec receive mode: SETUP > INTERFACES > Hitec D receive (SET_HITEC_RX) written to the HITEC page's register 23 (LINK_HT_W_RX_MODE, protocol 4.24), and what SETUP marks on the row. | |
| knob.h | |
| The rotary knob: an MT6701 magnetic angle sensor on the panel's I2C (Inter-Integrated Circuit) bus, read as relative motion. | |
| kst_card.h | |
| The card's side of the servo programmer's files: a save, a list and a load of kst_prog.h carried out on the card. | |
| kst_link.h | |
| The panel's half of the KST (0x32) link page, protocol 4.13 to 4.15: the programming ports for KST and Chaservo servos. | |
| kst_prog.h | |
| The programmer for KST and Chaservo servos as the SERVO screen runs it: what is read from a servo, what the operator has changed, and what may be written. | |
| log_cadence.h | |
| The run log's cadence: which pass of the control loop writes a row, and the time that row carries. | |
| log_cols.h | |
| The bench log's INA3221 columns with SENSE_MAP in force (protocol 4.25): one group of three per channel that watches something, named after what it watches: FAST's channel first, then the others in channel order, at most LOG_COLS_GROUPS of them. | |
| log_writer.h | |
| Writes a run as CSV (comma-separated values) in the format shared/logfile reads. | |
| panel_i2c.h | |
| The I2C (Inter-Integrated Circuit) addresses taken on the 7-inch ESP32-P4 display board's buses, which a device added there must stay clear of. | |
| perf_watch.h | |
| What the panel's console reports about its own frame times, stacks and heap: the statistics behind each line and the frame each line is due on, without the clock, the tasks or the log. | |
| prog_link.h | |
| The panel's side of the programming ports' page (0x33). | |
| sense_limit_link.h | |
| The panel's half of SENSE_LIMIT (0x36, protocol 4.27): a current limit per INA3221 channel, and the channels whose 50ms window passed it. | |
| sense_link.h | |
| The panel's half of the SENSE (0x2B), SERVO_SENSE (0x2C) and SERVO_WIN (0x31) link pages: what is written to SENSE, in what order, what is read from the three pages and how often, and what a read means for the operator. | |
| sense_map_link.h | |
| The panel's half of the SENSE_MAP page (0x35, protocol 4.25): up to four INA3221 parts as SETUP > SENSORS has them, written to the IOmcu, and what each part is doing, for SENSORS and the alert band. | |
| sense_win_link.h | |
| The panel's half of SENSE_WIN_A and SENSE_WIN_B (0x37, 0x38, protocol 4.25): every INA3221 channel's last complete 50ms window, for the log's columns per watched target. | |
| servo_source.h | |
| Which meter measures the servo rail: the INA3221's CH1, the PD mini (the WeAct PD Power Mini supply) or the panel's model. | |
| supply.h | |
| A programmable supply: what it can be set to, what it was set to, and what it delivers. | |
| supply_link.h | |
| The panel's half of the SUPPLY link page (0x2A, protocol 4.3 to 4.13): what is written to it, in what order, and what a read of it means for the supply the screen shows. | |
| telemetry_sim.h | |
| A pack, a motor and a propeller, modelled, so every screen runs without a measurement front end. | |
| tone_link.h | |
| The panel's half of the TONE (0x2D) link page, protocol 4.8: what is written to it, in what order, what is read from it and how often, and what a read means for the operator. | |