5#include <QtCore/QtNumeric>
14 _info.icaoAddress = vehicleInfo.icaoAddress;
18ADSBVehicle::~ADSBVehicle()
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);
62 if (vehicleInfo.
callsign != callsign()) {
83 if (vehicleInfo.
alert != alert()) {
89 _lastUpdateTimer.start();
#define QGC_LOGGING_CATEGORY(name, categoryStr)
void verticalVelChanged()
bool fuzzyCompare(double value1, double value2)
Returns true if the two values are equal or close. Correctly handles 0 and NaN values.
AvailableInfoTypes availableFlags