Skip to content

Commit

Permalink
Fix missing + IMU in the quality description
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Sep 25, 2024
1 parent 04840b8 commit 5867cf7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/core/positioning/nmeagnssreceiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@ QList<QPair<QString, QVariant>> NmeaGnssReceiver::details()
{
QList<QPair<QString, QVariant>> dataList;

dataList.append( qMakePair( "PDOP", QLocale::system().toString( mCurrentNmeaGnssPositionInformation.pdop(), 'f', 1 ) ) );
dataList.append( qMakePair( "HDOP", QLocale::system().toString( mCurrentNmeaGnssPositionInformation.hdop(), 'f', 1 ) ) );
dataList.append( qMakePair( "VDOP", QLocale::system().toString( mCurrentNmeaGnssPositionInformation.vdop(), 'f', 1 ) ) );
dataList.append( qMakePair( "Valid", mCurrentNmeaGnssPositionInformation.isValid() ? "True" : "False" ) );
dataList.append( qMakePair( "Fix", mCurrentNmeaGnssPositionInformation.fixStatusDescription() ) );
dataList.append( qMakePair( "Quality", mCurrentNmeaGnssPositionInformation.qualityDescription() ) );
dataList.append( qMakePair( "PDOP", QLocale::system().toString( mLastGnssPositionInformation.pdop(), 'f', 1 ) ) );
dataList.append( qMakePair( "HDOP", QLocale::system().toString( mLastGnssPositionInformation.hdop(), 'f', 1 ) ) );
dataList.append( qMakePair( "VDOP", QLocale::system().toString( mLastGnssPositionInformation.vdop(), 'f', 1 ) ) );
dataList.append( qMakePair( "Valid", mLastGnssPositionInformation.isValid() ? "True" : "False" ) );
dataList.append( qMakePair( "Fix", mLastGnssPositionInformation.fixStatusDescription() ) );
dataList.append( qMakePair( "Quality", mLastGnssPositionInformation.qualityDescription() ) );

return dataList;
}
Expand Down

1 comment on commit 5867cf7

@qfield-fairy
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.