diff --git a/selfdrive/manager/process.py b/selfdrive/manager/process.py index ce6efba..e7d0d59 100755 --- a/selfdrive/manager/process.py +++ b/selfdrive/manager/process.py @@ -46,7 +46,6 @@ def launcher(proc: str, name: str, log_path: str) -> None: sentry.capture_exception() raise - def join_process(process: Process, timeout: float) -> None: # Process().join(timeout) will hang due to a python 3 bug: https://bugs.python.org/issue28382 # We have to poll the exitcode instead diff --git a/system/qcomgpsd/qcomgpsd.py b/system/qcomgpsd/qcomgpsd.py index 6235497..73bc302 100755 --- a/system/qcomgpsd/qcomgpsd.py +++ b/system/qcomgpsd/qcomgpsd.py @@ -29,7 +29,9 @@ from openpilot.system.qcomgpsd.structs import (dict_unpacker, position_report, r LOG_GNSS_POSITION_REPORT, LOG_GNSS_OEMDRE_MEASUREMENT_REPORT, LOG_GNSS_OEMDRE_SVPOLY_REPORT) -DEBUG = int(os.getenv("DEBUG", "0"))==1 +# DEBUG = int(os.getenv("DEBUG", "0"))==1 +DEBUG = True + ASSIST_DATA_FILE = '/tmp/xtra3grc.bin' ASSIST_DATA_FILE_DOWNLOAD = ASSIST_DATA_FILE + '.download' ASSISTANCE_URL = 'http://xtrapath3.izatcloud.net/xtra3grc.bin' @@ -387,7 +389,7 @@ def main() -> NoReturn: else: if time_since_last_report >= 30 and distance_change >= MIN_DISTANCE_CHANGE: should_report = True - + # Execute reporting if conditions are met if should_report: last_reported_time = current_time