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

The servo rail's supply on a SERVO run's row: the supply's last reading and the run's totals of it, for log_writer_servo_row(). More...

#include <log_writer.h>

Data Fields

float v
float i
float p
float charge_mah
float energy_wh
uint8_t ok
uint8_t counted
bool withheld

Detailed Description

The servo rail's supply on a SERVO run's row: the supply's last reading and the run's totals of it, for log_writer_servo_row().

Bit SUPPLY_OK_VOLTAGE of ok says v is a reading, SUPPLY_OK_CURRENT that i is one, and both that p is one; counted (BENCH_COUNTED_*) says which of charge_mah and energy_wh the run has counted. All 0 is a row with no supply reading: its five cells are empty. withheld marks a supply whose source is not the row's – the supply's model on a measured row, a measured supply on a modelled row – whose five cells are empty whatever the run has counted.

Field Documentation

◆ charge_mah

float log_rail_t::charge_mah

since the switch to ARMED, mAh

◆ counted

uint8_t log_rail_t::counted

BENCH_COUNTED_* of the totals

◆ energy_wh

float log_rail_t::energy_wh

since the switch to ARMED, Wh

◆ i

float log_rail_t::i

out of it, A

◆ ok

uint8_t log_rail_t::ok

SUPPLY_OK_* of the readings taken

◆ p

float log_rail_t::p

v * i, W

◆ v

float log_rail_t::v

at the supply's output, V

◆ withheld

bool log_rail_t::withheld

the supply's source is not the row's


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