Partial revert, lax torque control (#26146)

* Closer to original

* Update ref
pull/26152/head
HaraldSchafer 3 years ago committed by GitHub
parent 9a8bd8c097
commit 1548db8962
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/controls/lib/latcontrol_torque.py
  2. 3
      selfdrive/controls/lib/lateral_planner.py
  3. 2
      selfdrive/test/process_replay/ref_commit

@ -17,7 +17,7 @@ from selfdrive.controls.lib.vehicle_model import ACCELERATION_DUE_TO_GRAVITY
# friction in the steering wheel that needs to be overcome to
# move it at all, this is compensated for too.
LOW_SPEED_FACTOR = 100
LOW_SPEED_FACTOR = 200
class LatControlTorque(LatControl):

@ -22,8 +22,7 @@ LATERAL_JERK_COST = 0.05
# TODO this cost should be lowered when low
# speed lateral control is stable on all cars
STEERING_RATE_COST = 800.0
MIN_SPEED = .3
MIN_SPEED = 1.5
class LateralPlanner:

@ -1 +1 @@
6bb7d8baae51d88dd61f0baf561e386664ddd266
1c1287691cbdd866d9e435d5d27f59f6a027d270

Loading…
Cancel
Save