From 3633a11f20d6ab7d1fe797ef06a4f947d211a665 Mon Sep 17 00:00:00 2001 From: eFini Date: Wed, 29 Dec 2021 15:13:18 +1000 Subject: [PATCH] just ignore them --- selfdrive/controls/controlsd.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/selfdrive/controls/controlsd.py b/selfdrive/controls/controlsd.py index 70cc71c7f..d915475c0 100755 --- a/selfdrive/controls/controlsd.py +++ b/selfdrive/controls/controlsd.py @@ -284,11 +284,11 @@ class Controls: if not self.sm['lateralPlan'].mpcSolutionValid: self.events.add(EventName.steerTempUnavailable if self.sm['dragonConf'].dpAtl else EventName.plannerError) - if not self.dp_jetson and not self.sm['liveLocationKalman'].sensorsOK and not NOSENSOR: - if self.sm.frame > 5 / DT_CTRL: # Give locationd some time to receive all the inputs - self.events.add(EventName.sensorDataInvalid) - if not self.dp_jetson and not self.sm['liveLocationKalman'].posenetOK: - self.events.add(EventName.posenetInvalid) + #if not self.sm['liveLocationKalman'].sensorsOK and not NOSENSOR: + # if self.sm.frame > 5 / DT_CTRL: # Give locationd some time to receive all the inputs + # self.events.add(EventName.sensorDataInvalid) + #if not self.sm['liveLocationKalman'].posenetOK: + # self.events.add(EventName.posenetInvalid) if not self.sm['liveLocationKalman'].deviceStable: self.events.add(EventName.deviceFalling) if log.PandaState.FaultType.relayMalfunction in self.sm['pandaState'].faults: