|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
One sample on its way to the card, filled by the control task. More...
#include <panel.h>
Data Structures | |
| union | [union].u |
Data Fields | |
| uint32_t | run |
| float | t_s |
| log_run_kind_t | kind |
| union | u |
| log_rail_t | rail |
| The supply's reading and the run's totals of it, on a SERVO run's row that carries the sample; all 0 on any other row. | |
| log_servo_t | servo |
| The pulse and angle, on the same rows as rail. | |
One sample on its way to the card, filled by the control task.
It carries which run it belongs to, because that is the only thing that says which file it goes in: a disarm and an arm inside one pass of the logger would otherwise put two runs in one file, with a time column that goes backwards halfway down.
| log_run_kind_t log_row_t::kind |
which of the two below: SUPPLY's or the bench's, for SERVO and MOTOR
| uint32_t log_row_t::run |
the run the row was sampled in
| float log_row_t::t_s |
the row's time since the run's start, s
| union log_row_t::[union].u log_row_t::u |
the sample, by kind