mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-23 11:03:46 +08:00
Merge branch 'master-priv-ford' into master-dev-c3-new
# Conflicts: # panda
This commit is contained in:
@@ -50,6 +50,9 @@ sunnypilot - 0.9.7.0 (2024-05-xx)
|
||||
* Display Metrics Below Chevron
|
||||
* NEW❗: Metrics is now being displayed below the chevron instead of above
|
||||
* NEW❗: Display both Distance and Speed simultaneously
|
||||
* Ford F-150 2022-23 support
|
||||
* Ford F-150 Lightning 2021-23 support
|
||||
* Ford Mustang Mach-E 2021-23 support
|
||||
|
||||
sunnypilot - 0.9.6.1 (2024-02-27)
|
||||
========================
|
||||
|
||||
+1
-1
Submodule panda updated: 8607e23cdf...67c63b3cf9
@@ -20,7 +20,6 @@ class CarInterface(CarInterfaceBase):
|
||||
@staticmethod
|
||||
def _get_params(ret, candidate, fingerprint, car_fw, experimental_long, docs):
|
||||
ret.carName = "ford"
|
||||
ret.dashcamOnly = bool(ret.flags & FordFlags.CANFD)
|
||||
|
||||
ret.radarUnavailable = True
|
||||
ret.steerControlType = car.CarParams.SteerControlType.angle
|
||||
@@ -45,6 +44,12 @@ class CarInterface(CarInterfaceBase):
|
||||
if ret.flags & FordFlags.CANFD:
|
||||
ret.safetyConfigs[-1].safetyParam |= Panda.FLAG_FORD_CANFD
|
||||
|
||||
ret.longitudinalTuning.kpBP = [0.]
|
||||
ret.longitudinalTuning.kpV = [0.5]
|
||||
ret.longitudinalTuning.kiV = [0.]
|
||||
ret.longitudinalTuning.deadzoneBP = [0., 9.]
|
||||
ret.longitudinalTuning.deadzoneV = [.0, .20]
|
||||
|
||||
# Auto Transmission: 0x732 ECU or Gear_Shift_by_Wire_FD1
|
||||
found_ecus = [fw.ecu for fw in car_fw]
|
||||
if Ecu.shiftByWire in found_ecus or 0x5A in fingerprint[CAN.main] or docs:
|
||||
|
||||
@@ -28,6 +28,9 @@
|
||||
"Ford Escape Plug-in Hybrid 2020-22": "FORD_ESCAPE_MK4",
|
||||
"Ford Explorer 2020-23": "FORD_EXPLORER_MK6",
|
||||
"Ford Explorer Hybrid 2020-23": "FORD_EXPLORER_MK6",
|
||||
"Ford F-150 2022-23": "FORD_F_150_MK14",
|
||||
"Ford F-150 Hybrid 2022-23": "FORD_F_150_MK14",
|
||||
"Ford F-150 Lightning 2021-23": "FORD_F_150_LIGHTNING_MK1",
|
||||
"Ford Focus 2018": "FORD_FOCUS_MK4",
|
||||
"Ford Focus Hybrid 2018": "FORD_FOCUS_MK4",
|
||||
"Ford Kuga 2020-22": "FORD_ESCAPE_MK4",
|
||||
@@ -37,6 +40,8 @@
|
||||
"Ford Maverick 2023-24": "FORD_MAVERICK_MK1",
|
||||
"Ford Maverick Hybrid 2022": "FORD_MAVERICK_MK1",
|
||||
"Ford Maverick Hybrid 2023-24": "FORD_MAVERICK_MK1",
|
||||
"Ford Mustang Mach-E 2021-23": "FORD_MUSTANG_MACH_E_MK1",
|
||||
"Ford Ranger 2024": "FORD_RANGER_MK2",
|
||||
"Genesis G70 2018": "GENESIS_G70",
|
||||
"Genesis G70 2019-21": "GENESIS_G70_2020",
|
||||
"Genesis G70 2022-23": "GENESIS_G70_2020",
|
||||
|
||||
@@ -17,7 +17,6 @@ from openpilot.selfdrive.car.body.values import CAR as COMMA
|
||||
|
||||
# TODO: add routes for these cars
|
||||
non_tested_cars = [
|
||||
FORD.FORD_F_150_MK14,
|
||||
GM.CADILLAC_ATS,
|
||||
GM.HOLDEN_ASTRA,
|
||||
GM.CHEVROLET_MALIBU,
|
||||
@@ -54,6 +53,7 @@ routes = [
|
||||
CarTestRoute("e886087f430e7fe7|2023-06-16--23-06-36", FORD.FORD_FOCUS_MK4),
|
||||
CarTestRoute("bd37e43731e5964b|2023-04-30--10-42-26", FORD.FORD_MAVERICK_MK1),
|
||||
CarTestRoute("112e4d6e0cad05e1|2023-11-14--08-21-43", FORD.FORD_F_150_LIGHTNING_MK1),
|
||||
CarTestRoute("24574459dd7fb3e0|2023-11-06--06-23-44", FORD.FORD_F_150_MK14),
|
||||
CarTestRoute("83a4e056c7072678|2023-11-13--16-51-33", FORD.FORD_MUSTANG_MACH_E_MK1),
|
||||
CarTestRoute("37998aa0fade36ab/00000000--48f927c4f5", FORD.FORD_RANGER_MK2),
|
||||
#TestRoute("f1b4c567731f4a1b|2018-04-30--10-15-35", FORD.FUSION),
|
||||
|
||||
Reference in New Issue
Block a user