19#include "front_controller.h"
31 PEDAL_CALIB_STATUS_IDLE = 0,
32 PEDAL_CALIB_STATUS_ACCEL_RAW_UNPRESSED = 1,
33 PEDAL_CALIB_STATUS_ACCEL_RAW_PRESSED = 2,
34 PEDAL_CALIB_STATUS_ACCEL_AMP_UNPRESSED = 3,
35 PEDAL_CALIB_STATUS_ACCEL_AMP_PRESSED = 4,
36 PEDAL_CALIB_STATUS_BRAKE_UNPRESSED = 5,
37 PEDAL_CALIB_STATUS_BRAKE_PRESSED = 6,
38 PEDAL_CALIB_STATUS_COMPLETE = 7,
39 PEDAL_CALIB_STATUS_ERROR = 8,
PedalCalibStatus
Pedal calibration status/command values.
Definition: pedal_calib_handler.h:30
StatusCode pedal_calib_handler_run(FrontControllerStorage *storage)
Execute one step of the calibration process.
Definition: pedal_calib_handler.c:274
StatusCode pedal_calib_handler_start(FrontControllerStorage *storage)
Start the pedal calibration process.
Definition: pedal_calib_handler.c:259
StatusCode pedal_calib_handler_init(FrontControllerStorage *storage)
Initialize pedal calibration handler.
Definition: pedal_calib_handler.c:242
StatusCode
StatusCodes for various errors.
Definition: status.h:27
Front Controller storage.
Definition: front_controller.h:94