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