From 1c2127d232d7250994e66f19d1969ce6f7b769e1 Mon Sep 17 00:00:00 2001 From: Salvador Cuñat Date: Sun, 10 Dec 2017 03:31:15 +0100 Subject: location service: reduce default thresholds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Current values (1000m, 10 min) may be too long to choose an accurate fix while automatically applying gpsfixes to dives. They are fine if we are diving from a static position, but will give wrong positions e.g. while drift diving. Reducing the default values to shorter 100m, 5min won't hurt most dives from shore or static boats, but will make other diving styles get more accurate gpsfixes. signed-off-by: Salvador Cuñat Signed-off-by: Dirk Hohndel --- core/subsurfacestartup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/subsurfacestartup.c b/core/subsurfacestartup.c index c5962d6c0..cb3ca6069 100644 --- a/core/subsurfacestartup.c +++ b/core/subsurfacestartup.c @@ -90,8 +90,8 @@ struct preferences default_prefs = { }, .planner_deco_mode = BUEHLMANN, .vpmb_conservatism = 3, - .distance_threshold = 1000, - .time_threshold = 600, + .distance_threshold = 100, + .time_threshold = 300, #if defined(SUBSURFACE_MOBILE) .cloud_timeout = 10, #else -- cgit v1.2.3-70-g09d2