mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-15 00:03:45 +08:00
NNLC: Fix upstream conflict
This commit is contained in:
@@ -244,7 +244,7 @@ class LatControlTorque(LatControl):
|
||||
if self.nn_friction_override:
|
||||
pid_log.error += self.torque_from_lateral_accel(0.0, self.torque_params,
|
||||
friction_input,
|
||||
lateral_accel_deadzone, friction_compensation=True)
|
||||
lateral_accel_deadzone, friction_compensation=True, gravity_adjusted=False)
|
||||
nn_log = nn_input + nnff_setpoint_input + nnff_measurement_input
|
||||
else:
|
||||
gravity_adjusted_lateral_accel = desired_lateral_accel - roll_compensation
|
||||
|
||||
Reference in New Issue
Block a user