Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Commit b06ebee

Browse files
committed
DOP is dimensionless. Who knew?!
1 parent 990f1f5 commit b06ebee

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

Diff for: examples/Example13_PVT/Example1_AutoPVT/Example1_AutoPVT.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ void loop()
7878
int PDOP = myGPS.getPDOP();
7979
Serial.print(F(" PDOP: "));
8080
Serial.print(PDOP);
81-
Serial.print(F(" (m * 10^-2)"));
81+
Serial.print(F(" (10^-2)"));
8282

8383
Serial.println();
8484
} else {

Diff for: examples/Series_6_7/Example1_GetPositionAndTime_Series_6_7/SparkFun_Ublox_Arduino_Library_Series_6_7.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3119,7 +3119,7 @@ int32_t SFE_UBLOX_GPS::getHeading(uint16_t maxWait)
31193119
return (headingOfMotion);
31203120
}
31213121

3122-
//Get the positional dillution of precision * 10^-2
3122+
//Get the positional dillution of precision * 10^-2 (dimensionless)
31233123
uint16_t SFE_UBLOX_GPS::getPDOP(uint16_t maxWait)
31243124
{
31253125
if (moduleQueried.pDOP == false)

Diff for: examples/Series_6_7/Example1_GetPositionAndTime_Series_6_7/SparkFun_Ublox_Arduino_Library_Series_6_7.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ class SFE_UBLOX_GPS
559559
uint8_t getCarrierSolutionType(uint16_t maxWait = getPVTmaxWait); //Returns RTK solution: 0=no, 1=float solution, 2=fixed solution
560560
int32_t getGroundSpeed(uint16_t maxWait = getPVTmaxWait); //Returns speed in mm/s
561561
int32_t getHeading(uint16_t maxWait = getPVTmaxWait); //Returns heading in degrees * 10^-7
562-
uint16_t getPDOP(uint16_t maxWait = getPVTmaxWait); //Returns positional dillution of precision * 10^-2
562+
uint16_t getPDOP(uint16_t maxWait = getPVTmaxWait); //Returns positional dillution of precision * 10^-2 (dimensionless)
563563
uint16_t getYear(uint16_t maxWait = getPVTmaxWait);
564564
uint8_t getMonth(uint16_t maxWait = getPVTmaxWait);
565565
uint8_t getDay(uint16_t maxWait = getPVTmaxWait);
@@ -723,7 +723,7 @@ class SFE_UBLOX_GPS
723723
uint8_t carrierSolution; //Tells us when we have an RTK float/fixed solution
724724
int32_t groundSpeed; //mm/s
725725
int32_t headingOfMotion; //degrees * 10^-5
726-
uint16_t pDOP; //Positional dilution of precision
726+
uint16_t pDOP; //Positional dilution of precision * 10^-2 (dimensionless)
727727
uint8_t versionLow; //Loaded from getProtocolVersion().
728728
uint8_t versionHigh;
729729

Diff for: src/SparkFun_Ublox_Arduino_Library.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3143,7 +3143,7 @@ int32_t SFE_UBLOX_GPS::getHeading(uint16_t maxWait)
31433143
return (headingOfMotion);
31443144
}
31453145

3146-
//Get the positional dillution of precision * 10^-2
3146+
//Get the positional dillution of precision * 10^-2 (dimensionless)
31473147
uint16_t SFE_UBLOX_GPS::getPDOP(uint16_t maxWait)
31483148
{
31493149
if (moduleQueried.pDOP == false)

Diff for: src/SparkFun_Ublox_Arduino_Library.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ class SFE_UBLOX_GPS
551551
uint8_t getCarrierSolutionType(uint16_t maxWait = getPVTmaxWait); //Returns RTK solution: 0=no, 1=float solution, 2=fixed solution
552552
int32_t getGroundSpeed(uint16_t maxWait = getPVTmaxWait); //Returns speed in mm/s
553553
int32_t getHeading(uint16_t maxWait = getPVTmaxWait); //Returns heading in degrees * 10^-5
554-
uint16_t getPDOP(uint16_t maxWait = getPVTmaxWait); //Returns positional dillution of precision m * 10^-2
554+
uint16_t getPDOP(uint16_t maxWait = getPVTmaxWait); //Returns positional dillution of precision * 10^-2 (dimensionless)
555555
uint16_t getYear(uint16_t maxWait = getPVTmaxWait);
556556
uint8_t getMonth(uint16_t maxWait = getPVTmaxWait);
557557
uint8_t getDay(uint16_t maxWait = getPVTmaxWait);
@@ -721,7 +721,7 @@ class SFE_UBLOX_GPS
721721
uint8_t carrierSolution; //Tells us when we have an RTK float/fixed solution
722722
int32_t groundSpeed; //mm/s
723723
int32_t headingOfMotion; //degrees * 10^-5
724-
uint16_t pDOP; //Positional dilution of precision
724+
uint16_t pDOP; //Positional dilution of precision * 10^-2 (dimensionless)
725725
uint8_t versionLow; //Loaded from getProtocolVersion().
726726
uint8_t versionHigh;
727727

0 commit comments

Comments
 (0)