diff --git a/selfdrive/manager/manager.py b/selfdrive/manager/manager.py index 7f6939ec..b5d833ff 100755 --- a/selfdrive/manager/manager.py +++ b/selfdrive/manager/manager.py @@ -12,7 +12,7 @@ from common.basedir import BASEDIR from common.params import Params from common.text_window import TextWindow from selfdrive.boardd.set_time import set_time -from selfdrive.hardware import HARDWARE +from selfdrive.hardware import HARDWARE, TICI from selfdrive.manager.helpers import unblock_stdout from selfdrive.manager.process import ensure_running from selfdrive.manager.process_config import managed_processes @@ -36,6 +36,9 @@ def manager_init(): ("OpenpilotEnabledToggle", "1"), ] + if TICI: + default_params.append(("IsUploadRawEnabled", "1")) + if params.get_bool("RecordFrontLock"): params.put_bool("RecordFront", True) diff --git a/selfdrive/ui/qt/offroad/settings.cc b/selfdrive/ui/qt/offroad/settings.cc index e11c4fe0..890539b7 100644 --- a/selfdrive/ui/qt/offroad/settings.cc +++ b/selfdrive/ui/qt/offroad/settings.cc @@ -49,11 +49,15 @@ TogglesPanel::TogglesPanel(QWidget *parent) : QWidget(parent) { "Use features from the open source community that are not maintained or supported by comma.ai and have not been confirmed to meet the standard safety model. These features include community supported cars and community supported hardware. Be extra cautious when using these features", "../assets/offroad/icon_shell.png", this)); + +#ifndef QCOM2 toggles.append(new ParamControl("IsUploadRawEnabled", "Upload Raw Logs", "Upload full logs and full resolution video by default while on WiFi. If not enabled, individual logs can be marked for upload at my.comma.ai/useradmin.", "../assets/offroad/icon_network.png", this)); +#endif + ParamControl *record_toggle = new ParamControl("RecordFront", "Record and Upload Driver Camera", "Upload data from the driver facing camera and help improve the driver monitoring algorithm.",