make values more consistent

This commit is contained in:
sonora 2015-09-06 22:53:13 +02:00
parent 2a752fe61b
commit 4338428ac6

View file

@ -127,7 +127,7 @@ public class VoiceRouter {
PREPARE_LONG_DISTANCE_END = 3000 + 1000; // [ 90 sec @ 120 km/h] PREPARE_LONG_DISTANCE_END = 3000 + 1000; // [ 90 sec @ 120 km/h]
PREPARE_DISTANCE = 1500; // [125 sec] PREPARE_DISTANCE = 1500; // [125 sec]
PREPARE_DISTANCE_END = 1200; // [100 sec] PREPARE_DISTANCE_END = 1200; // [100 sec]
TURN_IN_DISTANCE = 390; // 30 sec TURN_IN_DISTANCE = 300; // 23 sec
TURN_IN_DISTANCE_END = 195; // 15 sec TURN_IN_DISTANCE_END = 195; // 15 sec
TURN_DISTANCE = 50; // 7 sec TURN_DISTANCE = 50; // 7 sec
TURN_DEFAULT_SPEED = 7f; // 25 km/h TURN_DEFAULT_SPEED = 7f; // 25 km/h
@ -158,13 +158,13 @@ public class VoiceRouter {
} else { } else {
DEFAULT_SPEED = router.getAppMode().getDefaultSpeed(); DEFAULT_SPEED = router.getAppMode().getDefaultSpeed();
TURN_DEFAULT_SPEED = DEFAULT_SPEED / 2; TURN_DEFAULT_SPEED = DEFAULT_SPEED / 2;
PREPARE_LONG_DISTANCE = (int) (DEFAULT_SPEED * 305); PREPARE_LONG_DISTANCE = (int) (DEFAULT_SPEED * 270);
// Do not play: // Do not play:
PREPARE_LONG_DISTANCE_END = (int) (DEFAULT_SPEED * 225) * 2; PREPARE_LONG_DISTANCE_END = (int) (DEFAULT_SPEED * 230) * 2;
PREPARE_DISTANCE = (int) (DEFAULT_SPEED * 125); PREPARE_DISTANCE = (int) (DEFAULT_SPEED * 115);
PREPARE_DISTANCE_END = (int) (DEFAULT_SPEED * 100); PREPARE_DISTANCE_END = (int) (DEFAULT_SPEED * 92);
TURN_IN_DISTANCE = (int) (DEFAULT_SPEED * 30); TURN_IN_DISTANCE = (int) (DEFAULT_SPEED * 23);
TURN_IN_DISTANCE_END = (int) (DEFAULT_SPEED * 14); TURN_IN_DISTANCE_END = (int) (DEFAULT_SPEED * 15);
TURN_DISTANCE = (int) (DEFAULT_SPEED * 7); TURN_DISTANCE = (int) (DEFAULT_SPEED * 7);
} }
} }