Car state machine.
More...
Go to the source code of this file.
|
enum | car_state {
LV_ON = 0
, PRECHARGED
, BRAKE_PRESSED
, RTDS
,
ZOOM
, SOFT_FAULT
, HARD_FAULT
} |
enum | btsf_fault { BTSF_OK
, BTSF_SKILL_ISSUE
, BTSF_SHORT
, BTSF_OPEN
} |
enum | apps_fault { APPS_OK
, APPS_TIMEOUT
, APPS_IMPLAUSIBILITY
, APPS_ERROR
} |
Car state machine.
- Author
- Jamie Pruett :)
- Version
- 0.1
- Date
- 2024-11-01
◆ apps_fault
Enumerator |
---|
APPS_OK | |
APPS_TIMEOUT | |
APPS_IMPLAUSIBILITY | |
APPS_ERROR | |
◆ btsf_fault
Enumerator |
---|
BTSF_OK | |
BTSF_SKILL_ISSUE | |
BTSF_SHORT | |
BTSF_OPEN | |
◆ car_state
Enumerator |
---|
LV_ON | |
PRECHARGED | |
BRAKE_PRESSED | |
RTDS | |
ZOOM | |
SOFT_FAULT | |
HARD_FAULT | |
◆ get_brake_pressure()
float get_brake_pressure |
( |
| ) |
|
◆ task_state_init()
Initialize the state machine task and input queue.
- Parameters
-
handles_ptr | Pointer to FreeRTOS handles struct |