upload raw on tici
parent
f7e276fcce
commit
a3df0e9827
|
@ -12,7 +12,7 @@ from common.basedir import BASEDIR
|
||||||
from common.params import Params
|
from common.params import Params
|
||||||
from common.text_window import TextWindow
|
from common.text_window import TextWindow
|
||||||
from selfdrive.boardd.set_time import set_time
|
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.helpers import unblock_stdout
|
||||||
from selfdrive.manager.process import ensure_running
|
from selfdrive.manager.process import ensure_running
|
||||||
from selfdrive.manager.process_config import managed_processes
|
from selfdrive.manager.process_config import managed_processes
|
||||||
|
@ -36,6 +36,9 @@ def manager_init():
|
||||||
("OpenpilotEnabledToggle", "1"),
|
("OpenpilotEnabledToggle", "1"),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if TICI:
|
||||||
|
default_params.append(("IsUploadRawEnabled", "1"))
|
||||||
|
|
||||||
if params.get_bool("RecordFrontLock"):
|
if params.get_bool("RecordFrontLock"):
|
||||||
params.put_bool("RecordFront", True)
|
params.put_bool("RecordFront", True)
|
||||||
|
|
||||||
|
|
|
@ -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",
|
"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",
|
"../assets/offroad/icon_shell.png",
|
||||||
this));
|
this));
|
||||||
|
|
||||||
|
#ifndef QCOM2
|
||||||
toggles.append(new ParamControl("IsUploadRawEnabled",
|
toggles.append(new ParamControl("IsUploadRawEnabled",
|
||||||
"Upload Raw Logs",
|
"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.",
|
"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",
|
"../assets/offroad/icon_network.png",
|
||||||
this));
|
this));
|
||||||
|
#endif
|
||||||
|
|
||||||
ParamControl *record_toggle = new ParamControl("RecordFront",
|
ParamControl *record_toggle = new ParamControl("RecordFront",
|
||||||
"Record and Upload Driver Camera",
|
"Record and Upload Driver Camera",
|
||||||
"Upload data from the driver facing camera and help improve the driver monitoring algorithm.",
|
"Upload data from the driver facing camera and help improve the driver monitoring algorithm.",
|
||||||
|
|
Loading…
Reference in New Issue