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.
Copy file name to clipboardExpand all lines: src/SparkFun_Ublox_Arduino_Library.h
+26-26Lines changed: 26 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -291,30 +291,30 @@ class SFE_UBLOX_GPS
291
291
292
292
boolean waitForResponse(uint8_t requestedClass, uint8_t requestedID, uint16_t maxTime = 250); //Poll the module until and ack is received
293
293
294
-
// getPVT will only return data once in each navigation cycle. By default, that is once per second.
295
-
// Therefore we should set getPVTmaxWait to slightly longer than that.
296
-
// If you change the navigation frequency to (e.g.) 4Hz using setNavigationFrequency(4)
297
-
// then you should use a shorter maxWait for getPVT. 300msec would be about right: getPVT(300)
298
-
// The same is true for getHPPOSLLH.
299
-
#definegetPVTmaxWait1100// Default maxWait for getPVT and all functions which call it
300
-
#definegetHPPOSLLHmaxWait1100// Default maxWait for getHPPOSLLH and all functions which call it
301
-
302
-
boolean assumeAutoPVT(boolean enabled, boolean implicitUpdate = true); //In case no config access to the GPS is possible and PVT is send cyclically already
303
-
boolean setAutoPVT(boolean enabled, uint16_t maxWait = 250); //Enable/disable automatic PVT reports at the navigation frequency
304
-
boolean getPVT(uint16_t maxWait = getPVTmaxWait); //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.
294
+
// getPVT will only return data once in each navigation cycle. By default, that is once per second.
295
+
// Therefore we should set getPVTmaxWait to slightly longer than that.
296
+
// If you change the navigation frequency to (e.g.) 4Hz using setNavigationFrequency(4)
297
+
// then you should use a shorter maxWait for getPVT. 300msec would be about right: getPVT(300)
298
+
// The same is true for getHPPOSLLH.
299
+
#definegetPVTmaxWait1100// Default maxWait for getPVT and all functions which call it
300
+
#definegetHPPOSLLHmaxWait1100// Default maxWait for getHPPOSLLH and all functions which call it
301
+
302
+
boolean assumeAutoPVT(boolean enabled, boolean implicitUpdate = true);//In case no config access to the GPS is possible and PVT is send cyclically already
303
+
boolean setAutoPVT(boolean enabled, uint16_t maxWait = 250);//Enable/disable automatic PVT reports at the navigation frequency
304
+
boolean getPVT(uint16_t maxWait = getPVTmaxWait);//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.
305
305
boolean setAutoPVT(boolean enabled, boolean implicitUpdate, uint16_t maxWait = 250); //Enable/disable automatic PVT reports at the navigation frequency, with implicitUpdate == false accessing stale data will not issue parsing of data in the rxbuffer of your interface, instead you have to call checkUblox when you want to perform an update
306
-
boolean getHPPOSLLH(uint16_t maxWait = getHPPOSLLHmaxWait); //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.
307
-
308
-
int32_tgetLatitude(uint16_t maxWait = getPVTmaxWait); //Returns the current latitude in degrees * 10^-7. Auto selects between HighPrecision and Regular depending on ability of module.
309
-
int32_tgetLongitude(uint16_t maxWait = getPVTmaxWait); //Returns the current longitude in degrees * 10-7. Auto selects between HighPrecision and Regular depending on ability of module.
310
-
int32_tgetAltitude(uint16_t maxWait = getPVTmaxWait); //Returns the current altitude in mm above ellipsoid
311
-
int32_tgetAltitudeMSL(uint16_t maxWait = getPVTmaxWait); //Returns the current altitude in mm above mean sea level
312
-
uint8_tgetSIV(uint16_t maxWait = getPVTmaxWait); //Returns number of sats used in fix
313
-
uint8_tgetFixType(uint16_t maxWait = getPVTmaxWait); //Returns the type of fix: 0=no, 3=3D, 4=GNSS+Deadreckoning
306
+
boolean getHPPOSLLH(uint16_t maxWait = getHPPOSLLHmaxWait);//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.
307
+
308
+
int32_tgetLatitude(uint16_t maxWait = getPVTmaxWait);//Returns the current latitude in degrees * 10^-7. Auto selects between HighPrecision and Regular depending on ability of module.
309
+
int32_tgetLongitude(uint16_t maxWait = getPVTmaxWait);//Returns the current longitude in degrees * 10-7. Auto selects between HighPrecision and Regular depending on ability of module.
310
+
int32_tgetAltitude(uint16_t maxWait = getPVTmaxWait);//Returns the current altitude in mm above ellipsoid
311
+
int32_tgetAltitudeMSL(uint16_t maxWait = getPVTmaxWait);//Returns the current altitude in mm above mean sea level
312
+
uint8_tgetSIV(uint16_t maxWait = getPVTmaxWait);//Returns number of sats used in fix
313
+
uint8_tgetFixType(uint16_t maxWait = getPVTmaxWait);//Returns the type of fix: 0=no, 3=3D, 4=GNSS+Deadreckoning
0 commit comments