UI: add flag for showing map render (#26740)

old-commit-hash: 54529aa7f8
taco
Adeeb Shihadeh 2 years ago committed by GitHub
parent e88e88555d
commit f0ec4dd682
  1. 5
      selfdrive/ui/qt/onroad.cc

@ -31,6 +31,11 @@ OnroadWindow::OnroadWindow(QWidget *parent) : QWidget(parent) {
split->insertWidget(0, arCam);
}
if (getenv("MAP_RENDER_VIEW")) {
CameraWidget *map_render = new CameraWidget("navd", VISION_STREAM_MAP, false, this);
split->insertWidget(0, map_render);
}
stacked_layout->addWidget(split_wrapper);
alerts = new OnroadAlerts(this);

Loading…
Cancel
Save