|
|
|
@ -174,9 +174,6 @@ static void update_state(UIState *s) { |
|
|
|
|
scene.satelliteCount = data.getMeasurementReport().getNumMeas(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (sm.updated("gpsLocationExternal")) { |
|
|
|
|
scene.gpsAccuracy = sm["gpsLocationExternal"].getGpsLocationExternal().getAccuracy(); |
|
|
|
|
} |
|
|
|
|
if (sm.updated("carParams")) { |
|
|
|
|
scene.longitudinal_control = sm["carParams"].getCarParams().getOpenpilotLongitudinalControl(); |
|
|
|
|
} |
|
|
|
@ -280,9 +277,8 @@ static void update_status(UIState *s) { |
|
|
|
|
|
|
|
|
|
QUIState::QUIState(QObject *parent) : QObject(parent) { |
|
|
|
|
ui_state.sm = std::make_unique<SubMaster, const std::initializer_list<const char *>>({ |
|
|
|
|
"modelV2", "controlsState", "liveCalibration", "radarState", "deviceState", "liveLocationKalman", |
|
|
|
|
"modelV2", "controlsState", "liveCalibration", "radarState", "deviceState", "roadCameraState", |
|
|
|
|
"pandaState", "carParams", "driverMonitoringState", "sensorEvents", "carState", "ubloxGnss", |
|
|
|
|
"gpsLocationExternal", "roadCameraState", |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
ui_state.fb_w = vwp_w; |
|
|
|
|