From 245c1a576720cf4ffde55045fe152bcb1b4e4f40 Mon Sep 17 00:00:00 2001 From: sonora Date: Fri, 4 Sep 2015 19:54:57 +0200 Subject: [PATCH] Fix old problem with Pedestrian prepare distance playing --- OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java b/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java index 4e7c8b8c59..36d2e52184 100644 --- a/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java +++ b/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java @@ -126,12 +126,10 @@ public class VoiceRouter { PREPARE_LONG_DISTANCE_END = 3000; // [ 90 sec] - 120 km/h if(router.getAppMode().isDerivedRoutingFrom(ApplicationMode.PEDESTRIAN)){ // prepare_long_distance warning not needed for pedestrian - PREPARE_LONG_DISTANCE_END = PREPARE_LONG_DISTANCE + 100; // do not play + PREPARE_LONG_DISTANCE_END = PREPARE_LONG_DISTANCE + 100; // do not play // prepare distance is not needed for pedestrian - //PREPARE_DISTANCE = 200; // [100 sec] - //PREPARE_DISTANCE_END = 150 + 100; // [ 75 sec] + not play - PREPARE_DISTANCE = 100; // [ 50 sec] - PREPARE_DISTANCE_END = 70; // [ 35 sec] + PREPARE_DISTANCE = 200; // [100 sec] + PREPARE_DISTANCE_END = 150 + 100; // [ 75 sec] + do not play TURN_IN_DISTANCE = 50; // 25 sec, (was 100m, 50 sec) TURN_IN_DISTANCE_END = 30; // 15 sec (was 70m, 35 sec) TURN_DISTANCE = 15; // 7,5sec (was 25m, 12 sec). Check if this works with GPS accuracy!