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

Commit 436486b

Browse files
committed
NAV-PVT newly added functions demonstrated in example and keywords.txt corrected.
1 parent 2f3493c commit 436486b

File tree

2 files changed

+31
-6
lines changed

2 files changed

+31
-6
lines changed

examples/Example13_PVT/Example1_AutoPVT/Example1_AutoPVT.ino

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,32 @@ void loop()
7878
int PDOP = myGPS.getPDOP();
7979
Serial.print(F(" PDOP: "));
8080
Serial.print(PDOP);
81-
Serial.print(F(" (10^-2)"));
81+
Serial.print(F(" (10^-2)"));
82+
83+
int nedNorthVel = myGPS.getNedNorthVel();
84+
Serial.print(F(" VelN: "));
85+
Serial.print(nedNorthVel);
86+
Serial.print(F(" (mm/s)"));
87+
88+
int nedEastVel = myGPS.getNedEastVel();
89+
Serial.print(F(" VelE: "));
90+
Serial.print(nedEastVel);
91+
Serial.print(F(" (mm/s)"));
92+
93+
int nedDownVel = myGPS.getNedDownVel();
94+
Serial.print(F(" VelD: "));
95+
Serial.print(nedDownVel);
96+
Serial.print(F(" (mm/s)"));
97+
98+
int verticalAccEst = myGPS.getVerticalAccEst();
99+
Serial.print(F(" VAccEst: "));
100+
Serial.print(verticalAccEst);
101+
Serial.print(F(" (mm)"));
102+
103+
int horizontalAccEst = myGPS.getHorizontalAccEst();
104+
Serial.print(F(" HAccEst: "));
105+
Serial.print(horizontalAccEst);
106+
Serial.print(F(" (mm)"));
82107

83108
Serial.println();
84109
} else {

keywords.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ getGroundSpeed KEYWORD2
5353
getHeading KEYWORD2
5454
getPDOP KEYWORD2
5555
getTimeOfWeek KEYWORD2
56-
getHorizontalAccEst KEYWORD2
57-
getVerticalAccEst KEYWORD2
58-
getNedNorthVel KEYWORD2
59-
getNedEastVel KEYWORD2
60-
getNedDownVel KEYWORD2
56+
getHorizontalAccEst KEYWORD2
57+
getVerticalAccEst KEYWORD2
58+
getNedNorthVel KEYWORD2
59+
getNedEastVel KEYWORD2
60+
getNedDownVel KEYWORD2
6161

6262
setPortOutput KEYWORD2
6363
setPortInput KEYWORD2

0 commit comments

Comments
 (0)