aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Salvador Cuñat <salvador.cunat@gmail.com>2017-12-10 03:31:15 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-10 11:38:19 -0800
commit1c2127d232d7250994e66f19d1969ce6f7b769e1 (patch)
treeb812698096f288c0e479215df0f78e435b7ab109
parent2182167b533b4c71dc64747d4d761cd780cfbde2 (diff)
downloadsubsurface-1c2127d232d7250994e66f19d1969ce6f7b769e1.tar.gz
location service: reduce default thresholds
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 <salvador.cunat@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--core/subsurfacestartup.c4
1 files 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