|
|
@ -78,7 +78,7 @@ class CarState(CarStateBase): |
|
|
|
ret.cruiseState.standstill = cp_cam.vl["ES_DashStatus"]["Cruise_State"] == 3 |
|
|
|
ret.cruiseState.standstill = cp_cam.vl["ES_DashStatus"]["Cruise_State"] == 3 |
|
|
|
ret.stockFcw = cp_cam.vl["ES_LKAS_State"]["LKAS_Alert"] == 2 |
|
|
|
ret.stockFcw = cp_cam.vl["ES_LKAS_State"]["LKAS_Alert"] == 2 |
|
|
|
ret.stockAeb = (cp_cam.vl["ES_LKAS_State"]["LKAS_Alert"] == 5) or \ |
|
|
|
ret.stockAeb = (cp_cam.vl["ES_LKAS_State"]["LKAS_Alert"] == 5) or \ |
|
|
|
(cp_cam.vl["ES_LKAS_State"]["LKAS_Alert_Msg"] == 6) or ret.stockFcw |
|
|
|
(cp_cam.vl["ES_LKAS_State"]["LKAS_Alert_Msg"] == 6) |
|
|
|
|
|
|
|
|
|
|
|
self.es_lkas_state_msg = copy.copy(cp_cam.vl["ES_LKAS_State"]) |
|
|
|
self.es_lkas_state_msg = copy.copy(cp_cam.vl["ES_LKAS_State"]) |
|
|
|
cp_es_brake = cp_body if self.car_fingerprint in GLOBAL_GEN2 else cp_cam |
|
|
|
cp_es_brake = cp_body if self.car_fingerprint in GLOBAL_GEN2 else cp_cam |
|
|
|