26 qCWarning(ADSBVehicleLog) <<
"ICAO address mismatch expected:" <<
icaoAddress() <<
"actual:" << vehicleInfo.
icaoAddress;
30 qCDebug(ADSBVehicleLog) <<
"Updating" << QStringLiteral(
"%1 Flags: %2").arg(vehicleInfo.
icaoAddress, 0, 16).arg(vehicleInfo.
availableFlags.toInt(), 0, 2);
33 _lastUpdateTimer.start();
39 if (!alertChange && _lastPropertyUpdateTimer.isValid() && !_lastPropertyUpdateTimer.hasExpired(_propertyUpdateMinIntervalMs)) {
42 _lastPropertyUpdateTimer.start();
46 _info.location.setLatitude(vehicleInfo.
location.latitude());
47 _info.location.setLongitude(vehicleInfo.
location.longitude());
54 _info.location.setAltitude(vehicleInfo.
location.altitude());
61 _info.heading = vehicleInfo.
heading;
68 _info.velocity = vehicleInfo.
velocity;
75 _info.callsign = vehicleInfo.
callsign;
82 _info.squawk = vehicleInfo.
squawk;
96 _info.alert = vehicleInfo.
alert;