improve comments for gps_precision

This commit is contained in:
Mortada Mehyar 2016-01-25 15:17:44 -08:00
parent 502aedb33e
commit 17c3c1d66a

View File

@ -85,8 +85,9 @@ template <class DataFacadeT> class MapMatchingPlugin : public BasePlugin
{
CandidateLists candidates_lists;
// assuming the gps_precision is the standart-diviation of normal distribution that models
// GPS noise (in this model) this should give us the correct candidate with >0.95
// assuming gps_precision is the standard deviation of a normal distribution that
// models GPS noise (in this model), this should give us the correct search radius
// with > 99% confidence
double query_radius = 3 * gps_precision;
double last_distance =
util::coordinate_calculation::haversineDistance(input_coords[0], input_coords[1]);