Add note around excessive actuation check (#36010)

* Add note around excessive actuation check

* Update selfdrived.py
This commit is contained in:
Adeeb Shihadeh
2025-08-17 11:53:20 -07:00
committed by GitHub
parent ceb557058c
commit 63fa250f29
+5 -1
View File
@@ -238,7 +238,10 @@ class SelfdriveD:
if self.sm['driverAssistance'].leftLaneDeparture or self.sm['driverAssistance'].rightLaneDeparture:
self.events.add(EventName.ldw)
# Check for excessive actuation
# ******************************************************************************************
# NOTE: To fork maintainers.
# Disabling or nerfing safety features will get you and your users banned from our servers.
# We recommend that you do not change these numbers from the defaults.
if self.sm.updated['liveCalibration']:
self.pose_calibrator.feed_live_calib(self.sm['liveCalibration'])
if self.sm.updated['livePose']:
@@ -253,6 +256,7 @@ class SelfdriveD:
if self.excessive_actuation:
self.events.add(EventName.excessiveActuation)
# ******************************************************************************************
# Handle lane change
if self.sm['modelV2'].meta.laneChangeState == LaneChangeState.preLaneChange: