switched backend gps service to real mode

This commit is contained in:
Mikkeli Matlock
2026-02-09 02:35:48 +09:00
parent 629c735eec
commit 12a0d58800

View File

@@ -11,7 +11,7 @@ from typing import Any
# When True: skips gpsd entirely, generates realistic mock data # When True: skips gpsd entirely, generates realistic mock data
# When False: connects to real gpsd (requires GPS device) # When False: connects to real gpsd (requires GPS device)
# ============================================================================ # ============================================================================
_GPS_DEBUG = True _GPS_DEBUG = False
# gpsdclient is a modern, simple gpsd client # gpsdclient is a modern, simple gpsd client
# Install gpsd on Pi: sudo apt install gpsd gpsd-clients # Install gpsd on Pi: sudo apt install gpsd gpsd-clients
@@ -212,8 +212,8 @@ class GPSService:
signal_lost = False signal_lost = False
signal_lost_until = 0.0 signal_lost_until = 0.0
# Simulate cold start acquisition (~3s) # Simulate cold start acquisition (~30s)
acquiring_until = time.time() + 3.0 acquiring_until = time.time() + 30.0
# Base position (Tokyo area) # Base position (Tokyo area)
base_lat = 35.6762 base_lat = 35.6762