diff --git a/selfdrive/ui/ui.cc b/selfdrive/ui/ui.cc index f8e6c26ee..cb9eaa723 100644 --- a/selfdrive/ui/ui.cc +++ b/selfdrive/ui/ui.cc @@ -241,12 +241,15 @@ void UIState::updateStatus() { } UIState::UIState(QObject *parent) : QObject(parent) { + gps_service = Params().getBool("UbloxAvailable")? "gpsLocationExternal" : "gpsLocation"; sm = std::make_unique>({ "modelV2", "controlsState", "liveCalibration", "radarState", "deviceState", "pandaStates", "carParams", "driverMonitoringState", "carState", "liveLocationKalman", "driverStateV2", "wideRoadCameraState", "managerState", "navInstruction", "navRoute", "clocks", // dp + // flight panel + gps_service.toStdString().c_str(), // alka "carControl", "controlsStateExt", // de2e