mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 08:53:54 +08:00
Hyundai stock adas signals (#1775)
* add stockAeb and stockFcw to carstate * bump opendbc * freq check * bump opendbc
This commit is contained in:
2
opendbc
2
opendbc
Submodule opendbc updated: df1bb08344...1dfdce9f69
@@ -113,6 +113,9 @@ class CarState(CarStateBase):
|
||||
else:
|
||||
ret.gearShifter = GearShifter.unknown
|
||||
|
||||
ret.stockAeb = cp.vl["FCA11"]['FCA_CmdAct'] != 0
|
||||
ret.stockFcw = cp.vl["FCA11"]['CF_VSM_Warn'] == 2
|
||||
|
||||
# save the entire LKAS11 and CLU11
|
||||
self.lkas11 = cp_cam.vl["LKAS11"]
|
||||
self.clu11 = cp.vl["CLU11"]
|
||||
@@ -178,6 +181,9 @@ class CarState(CarStateBase):
|
||||
("SAS_Angle", "SAS11", 0),
|
||||
("SAS_Speed", "SAS11", 0),
|
||||
|
||||
("FCA_CmdAct", "FCA11", 0),
|
||||
("CF_VSM_Warn", "FCA11", 0),
|
||||
|
||||
("MainMode_ACC", "SCC11", 0),
|
||||
("VSetDis", "SCC11", 0),
|
||||
("SCCInfoDisplay", "SCC11", 0),
|
||||
@@ -198,6 +204,7 @@ class CarState(CarStateBase):
|
||||
("SAS11", 100),
|
||||
("SCC11", 50),
|
||||
("SCC12", 50),
|
||||
("FCA11", 50),
|
||||
]
|
||||
|
||||
if CP.carFingerprint in EV_HYBRID:
|
||||
|
||||
Reference in New Issue
Block a user