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

pull/26741/head
Adeeb Shihadeh 2 years ago committed by GitHub
parent 767261e61c
commit 54529aa7f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      selfdrive/ui/qt/onroad.cc

@ -31,6 +31,11 @@ OnroadWindow::OnroadWindow(QWidget *parent) : QWidget(parent) {
split->insertWidget(0, arCam); 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); stacked_layout->addWidget(split_wrapper);
alerts = new OnroadAlerts(this); alerts = new OnroadAlerts(this);

Loading…
Cancel
Save