try 0.1 m min displacement after breaks for now

This commit is contained in:
sonora 2016-11-04 13:57:19 +01:00
parent cd9779d2c6
commit 258384bea8

View file

@ -431,7 +431,7 @@ public class GPXUtilities {
totalDistanceMoving0 += calculations[0];
}
if ((speed > 0) && (calculations[0] > 0.5 / 1000f * (point.time - prev.time)) && point.time != 0 && prev.time != 0) {
if ((speed > 0) && (calculations[0] > 0.1 / 1000f * (point.time - prev.time)) && point.time != 0 && prev.time != 0) {
timeMoving = timeMoving + (point.time - prev.time);
totalDistanceMoving += calculations[0];
}