add another second to turnImminent status to try compensate device delay
This commit is contained in:
parent
e2e978783d
commit
a2a75a2416
1 changed files with 2 additions and 2 deletions
|
@ -469,9 +469,9 @@ public class RoutingHelper {
|
|||
turnImminent = -1;
|
||||
}
|
||||
|
||||
//Show turnImminent for at least 5 sec if moving, cut off at 300m to avoid speed artifacts
|
||||
//Show turnImminent for at least 5 sec (changed to 6 for device delay) if moving, cut off at 300m to avoid speed artifacts
|
||||
if(lastFixedLocation != null && lastFixedLocation.hasSpeed()){
|
||||
if ((dist < (lastFixedLocation.getSpeed() * 5f)) && (dist < 300)) {
|
||||
if ((dist < (lastFixedLocation.getSpeed() * 6f)) && (dist < 300)) {
|
||||
turnImminent = 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue