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

old-commit-hash: 54529aa7f8b663d38e3b2bedc84f80487238a86b
This commit is contained in:
Adeeb Shihadeh
2022-12-09 13:08:15 -08:00
committed by GitHub
parent e88e88555d
commit f0ec4dd682
+5
View File
@@ -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);