Skip to content

Commit

Permalink
Update controlsd.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Sammohana authored Jan 12, 2025
1 parent 5181e0b commit 50025e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion selfdrive/controls/controlsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ def state_control(self):
actuators.curvature = float(self.desired_curvature)
actuators.steer, actuators.steeringAngleDeg, lac_log = self.LaC.update(CC.latActive, CS, self.VM, lp,
self.steer_limited, self.desired_curvature,
self.calibrated_pose, float(actuators.steer)) # TODO what if not available
self.calibrated_pose) # TODO what if not available
actuators.steer = float(actuators.steer)
# Ensure no NaNs/Infs
for p in ACTUATOR_FIELDS:
attr = getattr(actuators, p)
Expand Down

0 comments on commit 50025e7

Please sign in to comment.