safety interlocking and a bunch of other fun stuff

This commit is contained in:
Thaddeus Hughes
2026-01-05 19:47:51 -06:00
parent 53bea4eb04
commit 15e2145560
19 changed files with 1004 additions and 935 deletions

View File

@@ -44,7 +44,7 @@ typedef enum {
} fsm_state_t;
typedef enum {
RELAY_NONE = 0,
RELAY_SENSORS = 0,
RELAY_C3,
RELAY_B3,
RELAY_A3,
@@ -75,6 +75,9 @@ int64_t fsm_get_cal_t();
int64_t fsm_get_cal_e();
void fsm_request(fsm_cmd_t cmd);
esp_err_t fsm_get_error();
void fsm_clear_error();
float fsm_get_remaining_distance(void);
void fsm_set_remaining_distance(float x);