From d5333eda82a3021fd5396d35c6437683e3947c36 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Thu, 17 Jul 2025 19:02:30 -0700 Subject: [PATCH] type --- selfdrive/selfdrived/selfdrived.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/selfdrived/selfdrived.py b/selfdrive/selfdrived/selfdrived.py index 994e10afc7..2748db753e 100755 --- a/selfdrive/selfdrived/selfdrived.py +++ b/selfdrive/selfdrived/selfdrived.py @@ -43,7 +43,7 @@ SafetyModel = car.CarParams.SafetyModel IGNORED_SAFETY_MODES = (SafetyModel.silent, SafetyModel.noOutput) -def check_lateral_iso_violation(sm, CS, calibrator): +def check_lateral_iso_violation(sm: messaging.SubMaster, CS: car.CarState, calibrator: PoseCalibrator): calibrator.feed_live_calib(sm['liveCalibration']) device_pose = Pose.from_live_pose(sm['livePose']) calibrated_pose = calibrator.build_calibrated_pose(device_pose)