编辑selfdrived.py

This commit is contained in:
2026-09-14 19:53:11 +08:00
parent bff6c391b5
commit a5e3c79fcc
+2 -2
View File
@@ -427,7 +427,7 @@ class SelfdriveD(CruiseHelper):
if CS.canTimeout:
self.events.add(EventName.canBusMissing)
elif not CS.canValid:
self.events.add(EventName.canError)
pass#self.events.add(EventName.canError)
# generic catch-all. ideally, a more specific event should be added above instead
has_disable_events = self.events.contains(ET.NO_ENTRY) and (self.events.contains(ET.SOFT_DISABLE) or self.events.contains(ET.IMMEDIATE_DISABLE))
@@ -457,7 +457,7 @@ class SelfdriveD(CruiseHelper):
if not self.sm['deviceMotion'].posenetOK:
self.events.add(EventName.posenetInvalid)
if not self.sm['deviceMotion'].inputsOK:
self.events.add(EventName.locationdTemporaryError)
pass#self.events.add(EventName.locationdTemporaryError)
if (not self.sm['vehicleParameters'].valid and cal_status == log.ExtrinsicsCalibration.Status.calibrated and
not TESTING_CLOSET and (not SIMULATION or REPLAY)):
self.events.add(EventName.paramsdTemporaryError)