December 2013
Beginner
416 pages
12h 45m
English
As you have just seen, GPS data can be slow to get a fix, and the accuracy of the location information can vary from time to time. Just like the data for night mode in Chapter 6, you need to filter the data and find a way to remove any inaccurate data sent by the GPS.
No matter what you do with the data, you will never get an exact path without a lot of intensive number crunching. You could map a rough path to known map features or even use the accelerometer sensor, along with time and location information, to improve the estimated position. You could even do more complex math to smooth lines, such as using a Kalman filter. The key is to implement a simple way to smooth out or ignore the inaccurate points. ...
Read now
Unlock full access