mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-15 22:32:11 +08:00
Partial revert, lax torque control (#26146)
* Closer to original * Update ref old-commit-hash: 1548db8962c2555b53843ec361453ece7abdbc16
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user