summaryrefslogtreecommitdiff
path: root/tests/auto/utils/qlocationtestutils_p.h
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@jollamobile.com>2013-09-04 17:28:27 +1000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-11 00:08:30 +0100
commit2e75e8c18617250c864d2305a1ad14391e0cf4d7 (patch)
tree0e7c946fa0e9086969adcdd9fb568f90b6dc7487 /tests/auto/utils/qlocationtestutils_p.h
parent7b07235bdc4799f1a87b1989fb84cdc3333892c7 (diff)
downloadqtlocation-2e75e8c18617250c864d2305a1ad14391e0cf4d7.tar.gz
Support position accuracy in QNmeaPositionInfoSource.
Extract the HDOP and VDOP from the NMEA stream and calculate the twice the distance root mean square (2DRMS) error based on the user provided User equivalent range error value. [ChangeLog][QtPositioning][QNmeaPositionInfoSource] Added support for reporting position accuracy. Change-Id: I59e5f8c32070fa96ae4d0bd02a18f38663920e05 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'tests/auto/utils/qlocationtestutils_p.h')
-rw-r--r--tests/auto/utils/qlocationtestutils_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/utils/qlocationtestutils_p.h b/tests/auto/utils/qlocationtestutils_p.h
index 2c827d41..6ed5de38 100644
--- a/tests/auto/utils/qlocationtestutils_p.h
+++ b/tests/auto/utils/qlocationtestutils_p.h
@@ -57,6 +57,7 @@ namespace QLocationTestUtils
QString createGgaSentence(const QTime &time);
QString createGgaSentence(int lat, int lng, const QTime &time);
QString createZdaSentence(const QDateTime &dt);
+ QString createGsaSentence();
//The purpose of compareEquality() is to test equality
//operators where it is expected that A == B.