upload raw on tici

albatross
Adeeb Shihadeh 2021-04-15 21:36:09 -07:00
parent f7e276fcce
commit a3df0e9827
2 changed files with 8 additions and 1 deletions

View File

@ -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)

View File

@ -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.",