mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-09-04 23:33:41 +08:00
Update latcontrol_torque.py
This commit is contained in:
@@ -100,4 +100,4 @@ class LatControlTorque(LatControl):
|
||||
pid_log.saturated = bool(self._check_saturation(self.steer_max - abs(output_torque) < 1e-3, CS, steer_limited_by_controls, curvature_limited))
|
||||
|
||||
# TODO left is positive in this convention
|
||||
return -output_torque, 0.0, pid_log
|
||||
return -output_torque, 0.0, desired_curvature, pid_log
|
||||
|
||||
Reference in New Issue
Block a user