Hi,
tested the new GPSDriver on my HTC Cruise 3650 WM6.0 Pro and it works good. But when I try to compile the complete demo for my device an error occurs in line 45:
UTM() = converter.WGS84LatLonToUTM(gps.Latitude,gps.Longitude)
The altitude results are strange too. The sea level altitude is exactly the ellipsoid altitude and the ellipsoid altitude is not displayed. I think this is because off not all GPS chipsets support calculation of MSL (MSL = ellipsoid altitude - geoids separation). The values of the geoids separation are normally stored in a database and this database is missing on some receivers. To make the confusion complete do not all receivers deliver the same NMEA 0183:
Fortuna Clip - On
$GPGGA,161650.417,4841.7902,N,01004.0220,E,2,05,2.0,
578.5,M,
48.0,M,2.0,0000*70
578.5 = ellipsoid altitude (MSL = 530.5)
Data Logger i - 747
$GPGGA,080026.000,4841.7900,N,01004.0198,E,1,9,0.96,
532,5,M,
48.0,M,,*5E
532.5 = MSL
The correct MSL is 532 m. The HTC delivers 584 m which is a "good" ellipsoid altitude. What can we do?