From 1253f1eebb6ed2761944049d5bf6f9a39bffc8fd Mon Sep 17 00:00:00 2001 From: dragonpilot Date: Sat, 13 Jul 2019 22:45:34 +1000 Subject: [PATCH 1/4] =?UTF-8?q?=E5=8A=A0=E5=85=A5=20pickle.loads=20?= =?UTF-8?q?=E8=AE=80=E5=8F=96=E6=9A=AB=E5=AD=98=E8=B3=87=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- selfdrive/car/car_helpers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/selfdrive/car/car_helpers.py b/selfdrive/car/car_helpers.py index 85259df68..5076c0d1c 100644 --- a/selfdrive/car/car_helpers.py +++ b/selfdrive/car/car_helpers.py @@ -84,9 +84,9 @@ def fingerprint(logcan, sendcan): frame = 0 if params.get("DragonCacheCar") == "1" and params.get("DragonCachedFP") != "" and params.get("DragonCachedModel") != "": - candidate_cars = params.get("DragonCachedModel") - finger = params.get("DragonCachedFP") - vin = params.get("DragonCachedVIN") + candidate_cars = pickle.loads(params.get("DragonCachedModel")) + finger = pickle.loads(params.get("DragonCachedFP")) + vin = pickle.loads(params.get("DragonCachedVIN")) else: while True: a = messaging.recv_one(logcan) From 5922f488d78a2022b52e854d04db60fbd1f547d4 Mon Sep 17 00:00:00 2001 From: Dragonpilot Date: Mon, 15 Jul 2019 11:17:23 +1000 Subject: [PATCH 2/4] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20APK?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From c21ff4034323c3f06770ae154666f4c6253786be Mon Sep 17 00:00:00 2001 From: Dragonpilot Date: Mon, 15 Jul 2019 11:42:24 +1000 Subject: [PATCH 3/4] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20APK?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From 2ee5cb849a1e3b5105986758722df912c824e8d9 Mon Sep 17 00:00:00 2001 From: Dragonpilot Date: Tue, 16 Jul 2019 11:26:59 +1000 Subject: [PATCH 4/4] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20safeguardd=20=E6=9C=8D?= =?UTF-8?q?=E5=8B=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- selfdrive/manager.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/selfdrive/manager.py b/selfdrive/manager.py index 9b418f75b..5c5bf3095 100755 --- a/selfdrive/manager.py +++ b/selfdrive/manager.py @@ -118,7 +118,6 @@ managed_processes = { "updated": "selfdrive.updated", "athena": "selfdrive.athena.athenad", "dashcamd": "selfdrive.dragonpilot.dashcamd.dashcamd", - "safeguardd": "selfdrive.dragonpilot.safeguardd.safeguardd", "shutdownd": "selfdrive.dragonpilot.shutdownd.shutdownd", } android_packages = ("ai.comma.plus.offroad", "ai.comma.plus.frame") @@ -142,7 +141,6 @@ persistent_processes = [ 'ui', 'updated', 'athena', - 'safeguardd', 'shutdownd', ]