gate no gps alert on valid localizer inputs (#28135)
old-commit-hash: 154a42dcbd8b1b15c8ace508e40283a704a2f682
This commit is contained in:
@@ -408,7 +408,7 @@ class Controls:
|
||||
# TODO: fix simulator
|
||||
if not SIMULATION:
|
||||
if not NOSENSOR:
|
||||
if not self.sm['liveLocationKalman'].gpsOK and (self.distance_traveled > 1000):
|
||||
if not self.sm['liveLocationKalman'].gpsOK and self.sm['liveLocationKalman'].inputsOK and (self.distance_traveled > 1000):
|
||||
# Not show in first 1 km to allow for driving out of garage. This event shows after 5 minutes
|
||||
self.events.add(EventName.noGps)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user