Skip to content

Commit

Permalink
No tolerance fix. Closes marcomicera#55
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomicera committed Nov 23, 2019
1 parent 5d17c5e commit ad36f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/server/src/statistics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Point statistics::getDevicePosition(std::unordered_map<std::string, followifier:

double statistics::estimatedDistance(double rssi) {
double distance = std::pow(10, (ONE_METER_RSSI - rssi) / (10 * 2)) * 100;
return distance * 1.1; // FIXME Make tolerance a variable
return distance * 1.0; // FIXME Make tolerance a variable
}

bool statistics::checkPoint(double x, double y,
Expand Down

0 comments on commit ad36f51

Please sign in to comment.