Remove unused MPC_COST_LONG class (#23843)

old-commit-hash: 160a8cfd58588a5451bd6c06c3d78e22465cff87
This commit is contained in:
martinl
2022-02-24 03:26:05 +02:00
committed by GitHub
parent aefdfa377e
commit 2caf297f69
-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)