The bench's arm on the control task: the state the loop starts from, the watch on an arm until the render side has seen it, the run's totals, the latched stop and the act the arming policy asks for, the OUTPUTS screen's binding onto the IOmcu's output pages, disarming wherever it was asked for, one motor command, and the screens' commands in their order.
More...
|
|
static uint16_t | pct_to_span (float pct) |
|
static uint16_t | pct_to_hundredths (float pct) |
|
void | control_setup (telemetry_sim_t *sim, bench_state_t *bench) |
|
static void | arm_applied (void) |
| | An arm was applied: number it, and watch it until the render side has seen it. The snapshot carries the number; the render side acknowledges it at the end of a frame that began with the bench armed and found no loss.
|
|
void | arm_watch_service (bool link_up) |
|
static void | service_disarm (bool link_up) |
| void | service_arming (bool link_up) |
| | The latched stop and the act the arming policy asks for, once a pass of the control task: the router's backstop STOP unless the pump counted the same press, the let-go every stop owes, the supply, then the arm or the disarm.
|
|
static bool | write_output_binding (const outbind_t *bind) |
|
bool | disarm_here (bool link_up) |
|
static void | apply_motor_cmd (const motor_cmd_t *mc, bool link_up, bench_state_t *bench) |
|
void | drain_commands (bool link_up, bench_state_t *bench) |
The bench's arm on the control task: the state the loop starts from, the watch on an arm until the render side has seen it, the run's totals, the latched stop and the act the arming policy asks for, the OUTPUTS screen's binding onto the IOmcu's output pages, disarming wherever it was asked for, one motor command, and the screens' commands in their order.
SPDX-License-Identifier: MIT