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

Commit f1ac34a

Browse files
committed
Update Theory.md
1 parent 58e09bc commit f1ac34a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Theory.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,17 @@ Migrating your code to v2.0
8282

8383
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:
8484
- 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>
8686
- ```myGPS.latitude``` becomes ```myGPS.packetUBXNAVPVT->data.lat```
8787
- ```myGPS.longitude``` becomes ```myGPS.packetUBXNAVPVT->data.lon```
8888
- The helper functions ```myGPS.getLatitude()``` and ```myGPS.getLongitude()``` are still available and work in the same way.
8989
- In v1, the ESF Sensor Fusion data for the Dead Reckoning modules was stored in 'global' variables ```imuMeas```, ```ubloxSen``` and ```vehAtt```
9090
- 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
9696
- e.g. ```myGPS.imuMeas.fusionMode``` becomes ```myGPS.packetUBXESFSTATUS->data.fusionMode```
9797
- The helper functions ```getSensorFusionMeasurement```, ```getRawSensorMeasurement``` and ```getSensorFusionStatus``` can be used to extract the sensor data for an individual sensor
9898
- "auto" data can be marked as stale by calling (e.g.) ```myGPS.flushESFALG()```
@@ -110,7 +110,7 @@ Other changes include:
110110
- 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.
111111
- New helper functions (getRelPosAccN, getRelPosAccE, getRelPosAccD) provide backward-compatibility
112112
- 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>
114114
- svin.active is replaced with (boolean)packetUBXNAVSVIN->data.active
115115
- svin.valid is replaced with (boolean)packetUBXNAVSVIN->data.valid
116116
- svin.observationTime is replaced with packetUBXNAVSVIN->data.dur and is now uint32_t (not uint16_t)

0 commit comments

Comments
 (0)