|
|
|
@ -2,7 +2,6 @@ |
|
|
|
|
import datetime |
|
|
|
|
import os |
|
|
|
|
import signal |
|
|
|
|
import subprocess |
|
|
|
|
import sys |
|
|
|
|
import traceback |
|
|
|
|
from typing import List, Tuple, Union |
|
|
|
@ -10,12 +9,11 @@ from typing import List, Tuple, Union |
|
|
|
|
from cereal import log |
|
|
|
|
import cereal.messaging as messaging |
|
|
|
|
import openpilot.selfdrive.sentry as sentry |
|
|
|
|
from openpilot.common.basedir import BASEDIR |
|
|
|
|
from openpilot.common.params import Params, ParamKeyType |
|
|
|
|
from openpilot.common.text_window import TextWindow |
|
|
|
|
from openpilot.selfdrive.boardd.set_time import set_time |
|
|
|
|
from openpilot.system.hardware import HARDWARE, PC |
|
|
|
|
from openpilot.selfdrive.manager.helpers import unblock_stdout, write_onroad_params |
|
|
|
|
from openpilot.selfdrive.manager.helpers import unblock_stdout, write_onroad_params, save_bootlog |
|
|
|
|
from openpilot.selfdrive.manager.process import ensure_running |
|
|
|
|
from openpilot.selfdrive.manager.process_config import managed_processes |
|
|
|
|
from openpilot.selfdrive.athena.registration import register, UNREGISTERED_DONGLE_ID |
|
|
|
@ -31,7 +29,7 @@ def manager_init() -> None: |
|
|
|
|
set_time(cloudlog) |
|
|
|
|
|
|
|
|
|
# save boot log |
|
|
|
|
subprocess.call("./bootlog", cwd=os.path.join(BASEDIR, "system/loggerd")) |
|
|
|
|
save_bootlog() |
|
|
|
|
|
|
|
|
|
params = Params() |
|
|
|
|
params.clear_all(ParamKeyType.CLEAR_ON_MANAGER_START) |
|
|
|
|