Search code examples
androidalgorithmgpsaccelerometer

Distance of moving objects


I hope to develop an android base app for purpose of tracking a moving train and a moving car. I want to get the distance using global positioning system.

  1. How accurate is global positioning system for this purpose?
  2. How to do it?
  3. Is there any other way to track the both moving objects and the distance between them?

Solution

    1. 1% - 2% for distances over 5km (Note: for distance the RELATIVE accurace is relevant, while the abosulte position is worse; e.g 3m on average)
    2. Use a position only if their speed attribute is faster than walking speed.
    3. GPS is the best, most practical and very accurate for this task. Even a calibrated tachometer does not reach the 1% accuarcy. Some systmes combine wheel ticks, with GPS calibration for a even more acuraty distance mesurement.