improve comments for gps_precision
This commit is contained in:
parent
502aedb33e
commit
17c3c1d66a
@ -85,8 +85,9 @@ template <class DataFacadeT> class MapMatchingPlugin : public BasePlugin
|
|||||||
{
|
{
|
||||||
CandidateLists candidates_lists;
|
CandidateLists candidates_lists;
|
||||||
|
|
||||||
// assuming the gps_precision is the standart-diviation of normal distribution that models
|
// assuming gps_precision is the standard deviation of a normal distribution that
|
||||||
// GPS noise (in this model) this should give us the correct candidate with >0.95
|
// models GPS noise (in this model), this should give us the correct search radius
|
||||||
|
// with > 99% confidence
|
||||||
double query_radius = 3 * gps_precision;
|
double query_radius = 3 * gps_precision;
|
||||||
double last_distance =
|
double last_distance =
|
||||||
util::coordinate_calculation::haversineDistance(input_coords[0], input_coords[1]);
|
util::coordinate_calculation::haversineDistance(input_coords[0], input_coords[1]);
|
||||||
|
Loading…
Reference in New Issue
Block a user