try remove remaining false route-recaluated prompts
This commit is contained in:
parent
d902232126
commit
127d77e70d
1 changed files with 5 additions and 1 deletions
|
@ -416,7 +416,11 @@ public class RoutingHelper {
|
||||||
currentRoute = 0;
|
currentRoute = 0;
|
||||||
currentDirectionInfo = 0;
|
currentDirectionInfo = 0;
|
||||||
if(isFollowingMode){
|
if(isFollowingMode){
|
||||||
tryMarkPassedRoute(start);
|
//tryMarkPassedRoute(start);
|
||||||
|
// try remove false route-recaluated prompts by checking direction to second route node
|
||||||
|
if(routeNodes.size() > 1){
|
||||||
|
currentRoute = 1;
|
||||||
|
}
|
||||||
directionDetection(start);
|
directionDetection(start);
|
||||||
|
|
||||||
// set/reset evalWaitInterval only if new route is in forward direction
|
// set/reset evalWaitInterval only if new route is in forward direction
|
||||||
|
|
Loading…
Reference in a new issue