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

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.

Detailed Description

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.

Field Documentation

◆ kind

log_run_kind_t log_row_t::kind

which of the two below: SUPPLY's or the bench's, for SERVO and MOTOR

◆ run

uint32_t log_row_t::run

the run the row was sampled in

◆ t_s

float log_row_t::t_s

the row's time since the run's start, s

◆ u

union log_row_t::[union].u log_row_t::u

the sample, by kind


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