Hi.
I'm writing application that gets latitude, longtidute and speed from GPS. Everything withount speed works great. If I drive a car, speed my GPS speed counter shows incorrect value (error is about 20 km per hour, 20km/h less than it should be). When I'm walking, my application speed counter shows 3-7 km/h, and when I'm standing speed is 0-3 km/h.
I checked results against Nokia default application. Difference between my speed and speed showed by nokia is about 5 km/sek( so I can accept that difference).
Here is my code for symbian(nokia n95):
Every 1 sec i get GPS data:
and this is RunL()Code:iPosInfoBase = &iSatelliteInfo; iPositioner.NotifyPositionUpdate( *iPosInfoBase, iStatus ); SetActive();
I used to calculate speedCode:void CGPSConnect::RunL() { if(!IsActive()) { ... iSatelliteInfo.GetPosition(iPosition); ... } }
TPosition.speed(TPosition, speed);
but with the same result.
Any idea what can I to do now?
Samos

.
Reply With Quote



