Raw upload toggle (#20665)

* upload toggle

* better description

* icons
old-commit-hash: 11cc0b52ce
commatwo_master
Adeeb Shihadeh 4 years ago committed by GitHub
parent 994e25770f
commit 483ea36b96
  1. 8
      selfdrive/ui/qt/offroad/settings.cc

@ -52,10 +52,16 @@ QWidget * toggles_panel() {
"../assets/offroad/icon_shell.png" "../assets/offroad/icon_shell.png"
)); ));
toggles_list->addWidget(horizontal_line()); toggles_list->addWidget(horizontal_line());
toggles_list->addWidget(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"
));
toggles_list->addWidget(horizontal_line());
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.",
"../assets/offroad/icon_network.png"); "../assets/offroad/icon_monitoring.png");
toggles_list->addWidget(record_toggle); toggles_list->addWidget(record_toggle);
toggles_list->addWidget(horizontal_line()); toggles_list->addWidget(horizontal_line());
toggles_list->addWidget(new ParamControl("EndToEndToggle", toggles_list->addWidget(new ParamControl("EndToEndToggle",

Loading…
Cancel
Save