#pragma once
typedef enum { ASW_RUN = 0, ASW_SAFE_STOP = 1 } asw_safety_state;
typedef struct { asw_safety_state state; int traction_enabled; int reset_required; } asw_safety_result;
asw_safety_result asw_evaluate_safety(int emergency_stop, int critical_fault_count, unsigned watchdog_age_ms, unsigned watchdog_limit_ms);
