![]() |
Midnight Sun Firmware
|
Steering Board Firmware. More...
Functions | |
| StatusCode | motor_can_process_rx (CanMessage *msg) |
| StatusCode | steering_pedal_calib_init (SteeringStorage *storage) |
| Initialize pedal calibration module. More... | |
| StatusCode | steering_pedal_calib_request (SteeringStorage *storage) |
| Request calibration start via CAN — safe to call from any task. More... | |
| StatusCode | steering_pedal_calib_rx (SteeringStorage *storage) |
| Handle CAN status updates from front controller during calibration. More... | |
| bool | steering_pedal_calib_is_active (SteeringStorage *storage) |
| Check if calibration is currently active. More... | |
Steering Board Firmware.
Steering Firmware.
| StatusCode steering_pedal_calib_init | ( | SteeringStorage * | storage | ) |
Initialize pedal calibration module.
| storage | Pointer to steering storage |
| bool steering_pedal_calib_is_active | ( | SteeringStorage * | storage | ) |
Check if calibration is currently active.
| storage | Pointer to steering storage |
| StatusCode steering_pedal_calib_request | ( | SteeringStorage * | storage | ) |
Request calibration start via CAN — safe to call from any task.
Sets the pedal_calib_request CAN signal high. The display task's steering_pedal_calib_rx() processes the first cycle and clears the "press to continue" subtitle.
| storage | Pointer to steering storage |
| StatusCode steering_pedal_calib_rx | ( | SteeringStorage * | storage | ) |
Handle CAN status updates from front controller during calibration.
Must be called from the display task only (makes LVGL calls).
| storage | Pointer to steering storage |