From 3e3af143e9bdaec22a1b9fa09c7e87cdae4d14b3 Mon Sep 17 00:00:00 2001 From: infiniteCable <75014343+infiniteCable@users.noreply.github.com> Date: Sun, 20 Apr 2025 14:03:08 +0200 Subject: [PATCH] Update controlsd.py --- selfdrive/controls/controlsd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/controls/controlsd.py b/selfdrive/controls/controlsd.py index edd867bb3..82db7f5a2 100755 --- a/selfdrive/controls/controlsd.py +++ b/selfdrive/controls/controlsd.py @@ -186,8 +186,8 @@ class Controls: CS = self.sm['carState'] CC.currentCurvature = self.curvature - CC.pitchDEPRECATED = float(self.curvature_3dof) - CC.rollDEPRECATED = self.roll + CC.pitch = float(self.curvature_3dof) # debugging purposes + CC.roll = self.roll # for lateral iso limit calculation # Orientation and angle rates can be useful for carcontroller # Only calibrated (car) frame is relevant for the carcontroller