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: Theory.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -82,17 +82,17 @@ Migrating your code to v2.0
82
82
83
83
The biggest change in v2.0 is that data is now stored in a _struct_ which matches the u-blox interface description for that message. For example:
84
84
- In v1, the NAV PVT (Position Velocity Time) latitude and longitude were stored in 'global' _int32_t_ variables called ```latitude``` and ```longitude```
85
-
- In v2.0, the data is now stored in **UBX_NAV_PVT_t *packetUBXNAVPVT**
85
+
- In v2.0, the data is now stored in <strong>UBX_NAV_PVT_t *packetUBXNAVPVT</strong>
- The helper functions ```myGPS.getLatitude()``` and ```myGPS.getLongitude()``` are still available and work in the same way.
89
89
- In v1, the ESF Sensor Fusion data for the Dead Reckoning modules was stored in 'global' variables ```imuMeas```, ```ubloxSen``` and ```vehAtt```
90
90
- In v2.0, the data is now stored in:
91
-
-**UBX_ESF_ALG_t *packetUBXESFALG** contains the IMU alignment information (roll, pitch and yaw)
92
-
-**UBX_ESF_INS_t *packetUBXESFINS** contains the vehicle dynamics information (acceleration and angular rate)
93
-
-**UBX_ESF_MEAS_t *packetUBXESFMEAS** contains the sensor fusion measurements
94
-
-**UBX_ESF_RAW_t *packetUBXESFRAW** contains the raw sensor measurements
95
-
-**UBX_ESF_STATUS_t *packetUBXESFSTATUS** contains the sensor fusion status
91
+
-<strong>UBX_ESF_ALG_t *packetUBXESFALG</strong> contains the IMU alignment information (roll, pitch and yaw)
92
+
-<strong>UBX_ESF_INS_t *packetUBXESFINS</strong> contains the vehicle dynamics information (acceleration and angular rate)
93
+
-<strong>UBX_ESF_MEAS_t *packetUBXESFMEAS</strong> contains the sensor fusion measurements
94
+
-<strong>UBX_ESF_RAW_t *packetUBXESFRAW</strong> contains the raw sensor measurements
95
+
-<strong>UBX_ESF_STATUS_t *packetUBXESFSTATUS</strong> contains the sensor fusion status
96
96
- e.g. ```myGPS.imuMeas.fusionMode``` becomes ```myGPS.packetUBXESFSTATUS->data.fusionMode```
97
97
- The helper functions ```getSensorFusionMeasurement```, ```getRawSensorMeasurement``` and ```getSensorFusionStatus``` can be used to extract the sensor data for an individual sensor
98
98
- "auto" data can be marked as stale by calling (e.g.) ```myGPS.flushESFALG()```
@@ -110,7 +110,7 @@ Other changes include:
110
110
- In v1, NAV_RELPOSNED accN, accE and accD were returned as (float)m. In v2.0 they are returned via packetUBXNAVRELPOSNED->data.accN (etc.) as (uint32_t)mm*0.1.
111
111
- New helper functions (getRelPosAccN, getRelPosAccE, getRelPosAccD) provide backward-compatibility
112
112
- Please see the [**ZED-F9P/Example5_RelativePositioningInformation**](./examples/ZED-F9P/Example5_RelativePositioningInformation) example for more details
113
-
- getSurveyStatus now returns data via **UBX_NAV_SVIN_t *packetUBXNAVSVIN**
113
+
- getSurveyStatus now returns data via <strong>UBX_NAV_SVIN_t *packetUBXNAVSVIN</strong>
114
114
- svin.active is replaced with (boolean)packetUBXNAVSVIN->data.active
115
115
- svin.valid is replaced with (boolean)packetUBXNAVSVIN->data.valid
116
116
- svin.observationTime is replaced with packetUBXNAVSVIN->data.dur and is now uint32_t (not uint16_t)
0 commit comments