GPS positional data
Channel Number | 10 |
Total Length | 14 bytes |
Channel | Data1 | Data2 | Data3 | Data4 | Data5 | Data6 | Data7 | Data8 | Data9 | Data10 | Data11 | Data12 | Checksum |
GpsLong = (Data1 And &H7F * 2^24 + Data2 * 2^16 + Data3 * 2^8 + Data4)
If (Data1 And &H80) Then GpsLong = GpsLong -(2 ^ 31)
GpsLong (degrees) = GpsLong * 0.0000001
GpsLat = (Data5 And &H7F* 2^24 + Data6 * 2^16 + Data7 * 2^8 + Data8)
If (Data5 And &H80) Then GpsLat = GpsLat -(2 ^ 31)
GpsLat (degrees) = GpsLat * 0.0000001
Positional Accuracy Estimate (mm) = (Data9 * 2^24 + Data10 * 2^16 + Data11 * 2^8 + Data12)
Note that in the case of the INS system the worst positional accuracy esitmate is clipped to 20m (2000mm)
The accuracy figures are a 1 sigma estimate of the accuracy for the position.