version: sunnypilot v2026.002.000 (staging) date: 2026-07-21T07:44:02 master commit: 2c334ede443d7391d27575af8c854a095ba702a8
17 lines
502 B
Python
17 lines
502 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 TeslaFlagsSP(IntFlag):
|
|
HAS_VEHICLE_BUS = 1 # 3-finger infotainment press signal is present on the VEHICLE bus with the deprecated Tesla harness installed
|
|
COOP_STEERING = 2 # Coop steering
|
|
|
|
|
|
class TeslaSafetyFlagsSP:
|
|
HAS_VEHICLE_BUS = 1
|