fix(phase26): geocode pre-caching (BUG-09) + gate trips on OBD presence (BUG-10)
This commit is contained in:
@@ -81,6 +81,12 @@ def build_trip_summaries(raw_rows):
|
||||
if len(rows) < 2:
|
||||
return []
|
||||
|
||||
# Don't generate trips from GPS drift when the car was never connected.
|
||||
# Without OBD, GPS jitter can produce false motion events on the bench.
|
||||
from modules import app_obd
|
||||
if not app_obd.was_car_ever_connected():
|
||||
return []
|
||||
|
||||
obd_motion = []
|
||||
gps_motion = []
|
||||
for index in range(1, len(rows)):
|
||||
|
||||
Reference in New Issue
Block a user