Raw upload toggle (#20665)

* upload toggle

* better description

* icons
pull/20625/head
Adeeb Shihadeh 4 years ago committed by GitHub
parent aab822a352
commit 11cc0b52ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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