mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 03:52:11 +08:00
VW MQB: Switch to comfort blinker signal (#21253)
* Switch to comfort blinker signal * bump opendbc * update refs Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> old-commit-hash: f86f344ba506c037893c4c796c047da64a95d307
This commit is contained in:
+1
-1
Submodule opendbc updated: 3d65bdb77e...11b61cd09d
@@ -133,8 +133,8 @@ class CarState(CarStateBase):
|
||||
self.buttonStates["setCruise"] = bool(pt_cp.vl["GRA_ACC_01"]["GRA_Tip_Setzen"])
|
||||
self.buttonStates["resumeCruise"] = bool(pt_cp.vl["GRA_ACC_01"]["GRA_Tip_Wiederaufnahme"])
|
||||
self.buttonStates["gapAdjustCruise"] = bool(pt_cp.vl["GRA_ACC_01"]["GRA_Verstellung_Zeitluecke"])
|
||||
ret.leftBlinker = bool(pt_cp.vl["Gateway_72"]["BH_Blinker_li"])
|
||||
ret.rightBlinker = bool(pt_cp.vl["Gateway_72"]["BH_Blinker_re"])
|
||||
ret.leftBlinker = bool(pt_cp.vl["Blinkmodi_02"]["Comfort_Signal_Left"])
|
||||
ret.rightBlinker = bool(pt_cp.vl["Blinkmodi_02"]["Comfort_Signal_Right"])
|
||||
|
||||
# Read ACC hardware button type configuration info that has to pass thru
|
||||
# to the radar. Ends up being different for steering wheel buttons vs
|
||||
@@ -173,8 +173,8 @@ class CarState(CarStateBase):
|
||||
("ZV_HFS_offen", "Gateway_72", 0), # Door open, rear left
|
||||
("ZV_HBFS_offen", "Gateway_72", 0), # Door open, rear right
|
||||
("ZV_HD_offen", "Gateway_72", 0), # Trunk or hatch open
|
||||
("BH_Blinker_li", "Gateway_72", 0), # Left turn signal on
|
||||
("BH_Blinker_re", "Gateway_72", 0), # Right turn signal on
|
||||
("Comfort_Signal_Left", "Blinkmodi_02", 0), # Left turn signal including comfort blink interval
|
||||
("Comfort_Signal_Right", "Blinkmodi_02", 0), # Right turn signal including comfort blink interval
|
||||
("AB_Gurtschloss_FA", "Airbag_02", 0), # Seatbelt status, driver
|
||||
("AB_Gurtschloss_BF", "Airbag_02", 0), # Seatbelt status, passenger
|
||||
("ESP_Fahrer_bremst", "ESP_05", 0), # Brake pedal pressed
|
||||
@@ -216,6 +216,7 @@ class CarState(CarStateBase):
|
||||
("Motor_14", 10), # From J623 Engine control module
|
||||
("Airbag_02", 5), # From J234 Airbag control module
|
||||
("Kombi_01", 2), # From J285 Instrument cluster
|
||||
("Blinkmodi_02", 1), # From J519 BCM (sent at 1Hz when no lights active, 50Hz when active)
|
||||
("Einheiten_01", 1), # From J??? not known if gateway, cluster, or BCM
|
||||
]
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
0f48fddf41cc7e5e63878b6bd584fc091482eb1b
|
||||
e070867608c1d0cca04f1979db57a8743abb3ad5
|
||||
Reference in New Issue
Block a user