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
// For safety, call these inside an if(getNAVHPPOSECEF())
1148
1153
1149
1154
uint32_tgetPositionAccuracy(uint16_t maxWait = kUBLOXGNSSDefaultMaxWait); // Returns the 3D accuracy of the current high-precision fix, in mm. Supported on NEO-M8P, ZED-F9P,
1150
1155
int32_tgetHighResECEFX(uint16_t maxWait = kUBLOXGNSSDefaultMaxWait); // Returns the ECEF X coordinate (cm)
@@ -1155,6 +1160,7 @@ class DevUBLOXGNSS
1155
1160
int8_tgetHighResECEFZHp(uint16_t maxWait = kUBLOXGNSSDefaultMaxWait); // Returns the ECEF Z coordinate High Precision Component (0.1 mm)
1156
1161
1157
1162
// Helper functions for HPPOSLLH
1163
+
// For safety, call these inside an if(getHPPOSLLH())
// For safety, call these inside an if(getRELPOSNED())
1192
1202
1193
1203
floatgetRelPosN(uint16_t maxWait = kUBLOXGNSSDefaultMaxWait); // Returned as m
1194
1204
floatgetRelPosE(uint16_t maxWait = kUBLOXGNSSDefaultMaxWait); // Returned as m
@@ -1198,24 +1208,28 @@ class DevUBLOXGNSS
1198
1208
floatgetRelPosAccD(uint16_t maxWait = kUBLOXGNSSDefaultMaxWait); // Returned as m
1199
1209
1200
1210
// Helper functions for AOPSTATUS
1211
+
// For safety, call these inside an if(getAOPSTATUS())
1201
1212
1202
1213
uint8_tgetAOPSTATUSuseAOP(uint16_t maxWait = kUBLOXGNSSDefaultMaxWait); // Returns the UBX-NAV-AOPSTATUS useAOP flag. Don't confuse this with getAopCfg - which returns the aopCfg byte from UBX-CFG-NAVX5
1203
1214
uint8_tgetAOPSTATUSstatus(uint16_t maxWait = kUBLOXGNSSDefaultMaxWait); // Returns the UBX-NAV-AOPSTATUS status field. A host application can determine the optimal time to shut down the receiver by monitoring the status field for a steady 0.
1204
1215
1205
1216
// Helper functions for TIM TP
1217
+
// For safety, call these inside an if(getTIMTP())
1206
1218
1207
1219
uint32_tgetTIMTPtowMS(uint16_t maxWait = kUBLOXGNSSDefaultMaxWait); // Returns the UBX-TIM-TP towMS time pulse of week (ms)
1208
1220
uint32_tgetTIMTPtowSubMS(uint16_t maxWait = kUBLOXGNSSDefaultMaxWait); // Returns the UBX-TIM-TP submillisecond part of towMS (ms * 2^-32)
1209
1221
uint16_tgetTIMTPweek(uint16_t maxWait = kUBLOXGNSSDefaultMaxWait); // Returns the UBX-TIM-TP time pulse week according to time base
1210
1222
uint32_tgetTIMTPAsEpoch(uint32_t µsecond, uint16_t maxWait = kUBLOXGNSSDefaultMaxWait); // Convert TIM TP to Unix Epoch - CAUTION! Assumes the time base is UTC and the week number is GPS
1211
1223
1212
1224
// Helper function for hardware status (including jamming)
1225
+
// For safety, call getAntennaStatus inside an if(getMONHW())
1213
1226
1214
1227
boolgetHWstatus(UBX_MON_HW_data_t *data = nullptr, uint16_t maxWait = kUBLOXGNSSDefaultMaxWait); // Get the hardware status using UBX_MON_HW
1215
1228
sfe_ublox_antenna_status_e getAntennaStatus(uint16_t maxWait = kUBLOXGNSSDefaultMaxWait); // Get the antenna status (aStatus) using UBX_MON_HW
1216
1229
1217
1230
#ifndef SFE_UBLOX_DISABLE_ESF
1218
1231
// Helper functions for ESF
1232
+
// For safety, call getESFroll/pitch/yaw inside an if(getESFALG())
1219
1233
1220
1234
floatgetESFroll(uint16_t maxWait = kUBLOXGNSSDefaultMaxWait); // Returned as degrees
1221
1235
floatgetESFpitch(uint16_t maxWait = kUBLOXGNSSDefaultMaxWait); // Returned as degrees
@@ -1228,6 +1242,7 @@ class DevUBLOXGNSS
1228
1242
1229
1243
#ifndef SFE_UBLOX_DISABLE_HNR
1230
1244
// Helper functions for HNR
1245
+
// For safety, call getHNRroll/pitch/yaw inside an if(getHNRATT())
1231
1246
1232
1247
boolsetHNRNavigationRate(uint8_t rate, uint8_t layer = VAL_LAYER_RAM_BBR, uint16_t maxWait = kUBLOXGNSSDefaultMaxWait); // Returns true if the setHNRNavigationRate is successful
1233
1248
uint8_tgetHNRNavigationRate(uint8_t layer = VAL_LAYER_RAM, uint16_t maxWait = kUBLOXGNSSDefaultMaxWait); // Returns 0 if the getHNRNavigationRate fails
0 commit comments