2

I wrote simple NMEA parser and I'm reading latitude and longitude from GPS. Values readed by my parser are very scattered comparing to some GPS commercial library I'm using. Values readed from this library are very smooth.

What algorithms I should use to correct readed position from gps?

luvieere
  • 37,065
  • 18
  • 127
  • 179
GTD
  • 315
  • 3
  • 8
  • 17

2 Answers2

2

One option would be a Kalman filter

diciu
  • 29,133
  • 4
  • 51
  • 68
1

GPS Signals read from a GPS receivers are today only scattered, if the receiver is standing still, or moving very slowly.

A simple and very effective approach is to ignore all positions which have its speed attribute below 5km/h. This works well for vehicles. For pedestrians it gets more complex.

AlexWien
  • 28,470
  • 6
  • 53
  • 83