diff --git a/selfdrive/controls/lib/disturbance_controller.py b/selfdrive/controls/lib/disturbance_controller.py index 1f122d3f1..737c1c6a6 100644 --- a/selfdrive/controls/lib/disturbance_controller.py +++ b/selfdrive/controls/lib/disturbance_controller.py @@ -41,7 +41,7 @@ class DisturbanceController: def highpass_filter(self, current_value, lowpass_value): return current_value - lowpass_value - def get_correction(self, CS, VM, params, calibrated_pose, desired_curvature): + def compensate(self, CS, VM, params, calibrated_pose, desired_curvature): if calibrated_pose is None: return desired_curvature