Mitchell Langdon Ostler
Kyle Chan
Nov 18, 2023
...
TX:
cc_power_control:
power_event (POWER_EV_NONE | POWER_EV_BTN | POWER_EV_BTN_AND_BRAKE) → PD
hazard_enabled
drive_output → MCI
drive_state
Cruise control enabled
regen brake enabled
target speed (u32)
RX: (with checks to determine if a board has gone offline)
power_info (PD)
power_state
pd_fault
motor_info (MCI)
current_speed
motor_fault
pedal_fault (if pedal loses comms)
battery_info: (BMS)
battery_percentage
bms_fault
steering:
cc_input
lights_input
pedal_status
brake_value
solar
solar_fault
cc_cruise_info → MCI