gy-271

GPS only gives one position. One has to calculate speed and course from at least two samples of position and time. Also, GPS is only going to be accurate for distances well beyond just a couple of metres and the accuracy of any speed and direction calculations based on position will reflect the accuracy of your GPS position values.