mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 12:02:09 +08:00
VW MQB: Updated message and signal data, round 2 (#20298)
* ACC_02 signal naming update * Add conversion factor now that DBC scaling has changed * bump opendbc * update refs Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> old-commit-hash: 1af35c3398904db46d535747746a496b6d5eca52
This commit is contained in:
+1
-1
Submodule opendbc updated: 72a2db749e...7196dcec9c
@@ -108,7 +108,7 @@ class CarState(CarStateBase):
|
||||
|
||||
# Update ACC setpoint. When the setpoint is zero or there's an error, the
|
||||
# radar sends a set-speed of ~90.69 m/s / 203mph.
|
||||
ret.cruiseState.speed = pt_cp.vl["ACC_02"]['SetSpeed']
|
||||
ret.cruiseState.speed = pt_cp.vl["ACC_02"]['ACC_Wunschgeschw'] * CV.KPH_TO_MS
|
||||
if ret.cruiseState.speed > 90:
|
||||
ret.cruiseState.speed = 0
|
||||
|
||||
@@ -182,7 +182,7 @@ class CarState(CarStateBase):
|
||||
("TSK_Fahrzeugmasse_02", "Motor_16", 0), # Estimated vehicle mass from drivetrain coordinator
|
||||
("ACC_Status_ACC", "ACC_06", 0), # ACC engagement status
|
||||
("ACC_Typ", "ACC_06", 0), # ACC type (follow to stop, stop&go)
|
||||
("SetSpeed", "ACC_02", 0), # ACC set speed
|
||||
("ACC_Wunschgeschw", "ACC_02", 0), # ACC set speed
|
||||
("AWV2_Freigabe", "ACC_10", 0), # FCW brake jerk release
|
||||
("ANB_Teilbremsung_Freigabe", "ACC_10", 0), # AEB partial braking release
|
||||
("ANB_Zielbremsung_Freigabe", "ACC_10", 0), # AEB target braking release
|
||||
|
||||
@@ -1 +1 @@
|
||||
e74d4020420151c92b545e45d09d67719b91c901
|
||||
7ad3a680a6337494b9e79c404d27a99abf4fdf8a
|
||||
Reference in New Issue
Block a user