Forgot parking brake stuff!

This commit is contained in:
XANTRONIX Development 2024-01-04 16:51:24 -05:00
parent 1311a28e59
commit f5a347ddb5

View file

@ -21,13 +21,15 @@ class VehicleStatus(enum.Enum):
ENGINE_FAULT = 1 << 16 ENGINE_FAULT = 1 << 16
OIL_LOW = 1 << 17 OIL_LOW = 1 << 17
OIL_OVERHEAT = 1 << 18 OIL_OVERHEAT = 1 << 18
STABILITY_OFF = 1 << 19 PARKING_BRAKE_ON = 1 << 19
TPMS_WARNING = 1 << 20 PARKING_BRAKE_FAULT = 1 << 20
TPMS_FAULT = 1 << 21 STABILITY_OFF = 1 << 21
TRACTION_OFF = 1 << 22 TPMS_WARNING = 1 << 22
TRACTION_FAULT = 1 << 23 TPMS_FAULT = 1 << 23
WARNING = 1 << 24 TRACTION_OFF = 1 << 24
WIPER_WASHER_LOW = 1 << 25 TRACTION_FAULT = 1 << 25
WARNING = 1 << 26
WIPER_WASHER_LOW = 1 << 27
__strings__ = { __strings__ = {
OK: 'OK', ABS_FAULT: "ABS fault", AIRBAG_FAULT: "airbag fault", OK: 'OK', ABS_FAULT: "ABS fault", AIRBAG_FAULT: "airbag fault",
@ -39,6 +41,7 @@ class VehicleStatus(enum.Enum):
CRUISE: "cruise control on", FUEL_LOW: "fuel low", CRUISE: "cruise control on", FUEL_LOW: "fuel low",
LANEKEEP_OFF: "lane assist deactivated", ENGINE_FAULT: "check engine", LANEKEEP_OFF: "lane assist deactivated", ENGINE_FAULT: "check engine",
OIL_LOW: "oil level low", OIL_OVERHEAT: "oil overheating", OIL_LOW: "oil level low", OIL_OVERHEAT: "oil overheating",
PARKING_BRAKE_ON: "parking brake on", PARKING_BRAKE_FAULT: "parking brake malfunction",
STABILITY_OFF: "stability control off", TPMS_WARNING: "check tire pressures", STABILITY_OFF: "stability control off", TPMS_WARNING: "check tire pressures",
TPMS_FAULT: "tire pressure monitoring system fault", TPMS_FAULT: "tire pressure monitoring system fault",
TRACTION_OFF: "traction control off", WARNING: "warning, drive with caution", TRACTION_OFF: "traction control off", WARNING: "warning, drive with caution",