If your car knows where you are, it can”t know how fast you’re going: Heisenberg.
It knows where you are, and where you were 5 minutes ago, and the distance between them, so it knows how fast you’re going.