mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-06 20:43:46 +08:00
Scope ordinary Ford native lookup to configured Ford cars
This commit is contained in:
@@ -1788,9 +1788,8 @@ class SelfdriveD:
|
||||
# Established ordinary Ford cruise does not require an independent AOL latch.
|
||||
# Its native LONG pedal withdrawal may precede Card; the original combined
|
||||
# publication, live LAT grant and every health/deadline check below still apply.
|
||||
ford_word = self.CP.safetyConfigs[-1].safetyParam
|
||||
ordinary_ford = bool(self.CP.openpilotLongitudinalControl and
|
||||
ford_native_accepts_cp(self.CP, int(car.CarParams.SafetyModel.ford), ford_word))
|
||||
ordinary_ford = bool(self.CP.brand == 'ford' and self.CP.openpilotLongitudinalControl and self.CP.safetyConfigs and
|
||||
ford_native_accepts_cp(self.CP, int(car.CarParams.SafetyModel.ford), self.CP.safetyConfigs[-1].safetyParam))
|
||||
proof = getattr(self, 'aol_published_input_proof', None)
|
||||
prior = getattr(self, 'aol_published_input_native', None)
|
||||
anchor = getattr(self, 'aol_ordinary_source_anchor', None)
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"protected_inventory_sha256": "4b45cdc16c0b5f192b71940c28bab3704ef3ed6962a9d78fb575174b079ea771", "schema_version": 1}
|
||||
{"protected_inventory_sha256": "d883a2889150d0426b0cd382349553be92033bbb3017d381ffe7fe7efa5661b5", "schema_version": 1}
|
||||
|
||||
Reference in New Issue
Block a user