How would you sample a real-time stream of coordinates to create a Speed Graph?
- by Andrew Johnson
I have a GPS device, and I am receiving continuous points, which I store in an array. These points are time stamped.
I would like to graph distance/time (speed) vs. distance in real-time; however, I can only plot 50 of the points because of hardware constraints.
How would you select points from the array to graph?
For example, one algorithm…