From 85f7064ca644eb7286cd2d6a117bd006eebf3201 Mon Sep 17 00:00:00 2001 From: Arne Schwarck Date: Mon, 10 Feb 2020 20:19:20 +0100 Subject: [PATCH] TARGET_IDS not used since 0.5 (#1071) The function to send these values has been removed long ago and no other function is using them. So it is time to remove them. --- selfdrive/car/toyota/carcontroller.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/selfdrive/car/toyota/carcontroller.py b/selfdrive/car/toyota/carcontroller.py index c2349784bed9e5..24c3bfed7516e1 100644 --- a/selfdrive/car/toyota/carcontroller.py +++ b/selfdrive/car/toyota/carcontroller.py @@ -23,12 +23,6 @@ ANGLE_DELTA_V = [5., .8, .15] # windup limit ANGLE_DELTA_VU = [5., 3.5, 0.4] # unwind limit -TARGET_IDS = [0x340, 0x341, 0x342, 0x343, 0x344, 0x345, - 0x363, 0x364, 0x365, 0x370, 0x371, 0x372, - 0x373, 0x374, 0x375, 0x380, 0x381, 0x382, - 0x383] - - def accel_hysteresis(accel, accel_steady, enabled): # for small accel oscillations within ACCEL_HYST_GAP, don't change the accel command