Remove unused MPC_COST_LONG class (#23843)

This commit is contained in:
martinl
2022-02-24 03:26:05 +02:00
committed by GitHub
parent 49c42c3cd4
commit 160a8cfd58
-7
View File
@@ -37,13 +37,6 @@ class MPC_COST_LAT:
STEER_RATE = 1.0
class MPC_COST_LONG:
TTC = 5.0
DISTANCE = 0.1
ACCELERATION = 10.0
JERK = 20.0
def rate_limit(new_value, last_value, dw_step, up_step):
return clip(new_value, last_value + dw_step, last_value + up_step)