wip
This commit is contained in:
@@ -12,6 +12,8 @@ from openpilot.system.hardware import AGNOS
|
||||
from openpilot.common.swaglog import cloudlog
|
||||
from openpilot.system.version import get_version
|
||||
|
||||
from openpilot.common.watcher import Watcher
|
||||
|
||||
REQUEST_HEADERS = {'User-Agent': "openpilot-" + get_version()}
|
||||
|
||||
|
||||
@@ -50,6 +52,9 @@ def main() -> NoReturn:
|
||||
|
||||
location = params.get("LastGPSPosition", encoding='utf8')
|
||||
|
||||
# test
|
||||
Watcher.log_watch("location", location)
|
||||
|
||||
# Find timezone by reverse geocoding the last known gps location
|
||||
if location is not None:
|
||||
cloudlog.debug("Setting timezone based on GPS location")
|
||||
|
||||
Reference in New Issue
Block a user