You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
Added functionality for reading from the High Precision Geodetic Position packet
- Added example for printing the high precision latitude, longitude, and accuracy
- Added example for printing the entire HPPOSLLH packet
- Added functionality for reading HPPOSLLH (High Precision Geodetic Position)
- Added getTimeOfWeek(), getHighResLatitude(). getHighResLongitude(), getElipsoid(), getMeanSeaLevel(), getHorizontalAccuracy(), getVerticalAccuracy(), getHPPOSLLH()
- Modified ProcessUBXPacket to parse HPPOSLLH packet
- Added query staleness verification for HPPOSLLH data
- Modified ProcessUBXPacket to parse HPPOSLLH packet
29
+
- Added query staleness verification for HPPOSLLH data
30
+
24
31
This program is distributed in the hope that it will be useful,
25
32
but WITHOUT ANY WARRANTY; without even the implied warranty of
26
33
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -227,7 +234,8 @@ class SFE_UBLOX_GPS
227
234
228
235
boolean setAutoPVT(boolean enabled, uint16_t maxWait = 250); //Enable/disable automatic PVT reports at the navigation frequency
229
236
boolean getPVT(uint16_t maxWait = 1000); //Query module for latest group of datums and load global vars: lat, long, alt, speed, SIV, accuracies, etc. If autoPVT is disabled, performs an explicit poll and waits, if enabled does not block. Retruns true if new PVT is available.
230
-
237
+
boolean getHPPOSLLH(uint16_t maxWait = 1000); //Query module for latest group of datums and load global vars: lat, long, alt, speed, SIV, accuracies, etc. If autoPVT is disabled, performs an explicit poll and waits, if enabled does not block. Retruns true if new PVT is available.
238
+
231
239
int32_tgetLatitude(uint16_t maxWait = 250); //Returns the current latitude in degrees * 10^-7. Auto selects between HighPrecision and Regular depending on ability of module.
232
240
int32_tgetLongitude(uint16_t maxWait = 250); //Returns the current longitude in degrees * 10-7. Auto selects between HighPrecision and Regular depending on ability of module.
233
241
int32_tgetAltitude(uint16_t maxWait = 250); //Returns the current altitude in mm above ellipsoid
boolean setPortOutput(uint8_t portID, uint8_t comSettings, uint16_t maxWait = 250); //Configure a given port to output UBX, NMEA, RTCM3 or a combination thereof
250
267
boolean setPortInput(uint8_t portID, uint8_t comSettings, uint16_t maxWait = 250); //Configure a given port to input UBX, NMEA, RTCM3 or a combination thereof
@@ -342,6 +359,15 @@ class SFE_UBLOX_GPS
342
359
uint8_t versionLow; //Loaded from getProtocolVersion().
343
360
uint8_t versionHigh;
344
361
362
+
uint32_t timeOfWeek;
363
+
int32_t highResLatitude;
364
+
int32_t highResLongitude;
365
+
int32_t elipsoid;
366
+
int32_t meanSeaLevel;
367
+
int32_t geoidSeparation;
368
+
uint32_t horizontalAccuracy;
369
+
uint32_t verticalAccuracy;
370
+
345
371
uint16_t rtcmFrameCounter = 0; //Tracks the type of incoming byte inside RTCM frame
0 commit comments