Flight panel needs gps service

This commit is contained in:
Rick Lan
2024-06-13 19:52:49 +08:00
parent 5b161c6b07
commit 84375ad05c
+3
View File
@@ -241,12 +241,15 @@ void UIState::updateStatus() {
}
UIState::UIState(QObject *parent) : QObject(parent) {
gps_service = Params().getBool("UbloxAvailable")? "gpsLocationExternal" : "gpsLocation";
sm = std::make_unique<SubMaster, const std::initializer_list<const char *>>({
"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