selfdrived: excessive actuation check is not for notCars (#38634)

This commit is contained in:
Adeeb Shihadeh
2026-08-15 12:28:38 -07:00
committed by GitHub
parent 76b69af59a
commit 3447ec1789
+1 -1
View File
@@ -297,7 +297,7 @@ class SelfdriveD:
device_motion = Pose.from_device_motion(self.sm['deviceMotion'])
self.calibrated_pose = self.pose_calibrator.build_calibrated_pose(device_motion)
if self.calibrated_pose is not None:
if self.calibrated_pose is not None and not self.CP.notCar:
excessive_actuation = self.excessive_actuation_check.update(self.sm, CS, self.calibrated_pose)
if not self.excessive_actuation and excessive_actuation is not None:
set_offroad_alert("Offroad_ExcessiveActuation", True, extra_text=str(excessive_actuation))