MCU
Loading...
Searching...
No Matches
DashboardInterface.h
Go to the documentation of this file.
1#ifndef DASHBOARDINTERFACE
2#define DASHBOARDINTERFACE
3
4#include "SharedDataTypes.h"
5
6/* Enum for defined LED colors. ON will be LED's default color on dashboard*/
7enum class LEDColors_e
8{
9 OFF,
10 ON,
11 YELLOW,
12 RED,
13};
14
15/* Enum to index the LED array. Each LED in the CAN message is represented in no particular order. */
16enum class DashLED_e
17{
24 GLV_LED,
28 IMD_LED,
29 AMS_LED,
30};
31
33{
34private:
35public:
36 bool buzzer = false;
41 bool checkBuzzer(){ return buzzer; };
42};
43
44#endif /* DASHBOARDINTERFACE */
TorqueLimit_e
Defines modes of torque limit to be processed in torque limit map for exact values.
ControllerMode_e
ControllerMode_e getDialMode()
TorqueLimit_e getTorqueLimitMode()
LEDColors_e
@ MC_ERROR_LED
from state machine. When READY_TO_DRIVE, set START_LED to true. See what else uses READY_TO_DRIVE so ...
@ LAUNCH_CONTROL_LED
@ IMD_LED
from DrivetrainSystem.cpp, get drivetrain_error_occurred()