|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
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 |
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.
| float log_rail_t::charge_mah |
since the switch to ARMED, mAh
| uint8_t log_rail_t::counted |
BENCH_COUNTED_* of the totals
| float log_rail_t::energy_wh |
since the switch to ARMED, Wh
| float log_rail_t::i |
out of it, A
| uint8_t log_rail_t::ok |
SUPPLY_OK_* of the readings taken
| float log_rail_t::p |
v * i, W
| float log_rail_t::v |
at the supply's output, V
| bool log_rail_t::withheld |
the supply's source is not the row's