version: sunnypilot v2026.002.000 (staging) date: 2026-07-21T07:44:02 master commit: 2c334ede443d7391d27575af8c854a095ba702a8
23 lines
468 B
Python
23 lines
468 B
Python
"""
|
|
Copyright (c) 2021-, Haibin Wen, sunnypilot, and a number of other contributors.
|
|
|
|
This file is part of sunnypilot and is licensed under the MIT License.
|
|
See the LICENSE.md file in the root directory for more details.
|
|
"""
|
|
|
|
from enum import IntFlag
|
|
|
|
|
|
class ToyotaFlagsSP(IntFlag):
|
|
SMART_DSU = 1
|
|
RADAR_CAN_FILTER = 2
|
|
ZSS = 4
|
|
STOCK_LONGITUDINAL = 8
|
|
STOP_AND_GO_HACK = 16
|
|
|
|
|
|
class ToyotaSafetyFlagsSP:
|
|
DEFAULT = 0
|
|
UNSUPPORTED_DSU = 1
|
|
GAS_INTERCEPTOR = 2
|