You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is basically based on a number of comments on other issues, and the changes made in Navigation SDK 0.20.0 (and later) - and refers to a use case which used to be possible but isn't anymore.
The use case is to allow the navigation to take the user along a particular route. While some tolerance should be allowed (cutting corners, skipping small sections - or perhaps other calculations determined by the exact use case), in this use case the Navigator should not be able to skip too many steps ahead. The changes in 0.20.0 now only does navigation from A to B, with the position within that completely irrelevant.
In particular, one use case might be to send the user from A to B and back to A - in this case the current version might prematurely skip ahead from the A to B section to the B to A section. There may be other similar cases.
One workaround which nearly works would be to divide the route into separate legs, however this has some significant drawbacks:
The user must then get very close to the waypoints in order for the next leg to start, but they may not be quite appropriate. If the user goes slightly off route and skips a waypoint, this may be acceptable, but the Navigator would not detect that the waypoint has been hit and move onto the next leg.
Waypoints always assume the user will stop, which means the directions are incorrect (Arrive and then Depart, instead of a turn).
It may be difficult for software to work out the correct location to put the waypoints to prevent skipping of sections
Note that Feature Request - Waypoints as "Vias" #875 could help with the second point, and probably the third (as more waypoints could be provided), but probably not the first.
Is there any possibility to allow some flexibility of how the Navigator works. For example, an optional callback in NavigationRouteProcessor.buildNewRouteProgress to allow the application to ignore the NavigationStatus and generate our own RouteProgress (or perhaps even our own NavigationStatus), to limit jumping ahead (or backwards) based on our own logic.
Is anything like that possible (Or any other ideas for how it could work)?
Unfortunately, I can't see any other way of our use cases working and as a result we are stuck on version 0.19.0 for now.
This is basically based on a number of comments on other issues, and the changes made in Navigation SDK 0.20.0 (and later) - and refers to a use case which used to be possible but isn't anymore.
The use case is to allow the navigation to take the user along a particular route. While some tolerance should be allowed (cutting corners, skipping small sections - or perhaps other calculations determined by the exact use case), in this use case the Navigator should not be able to skip too many steps ahead. The changes in 0.20.0 now only does navigation from A to B, with the position within that completely irrelevant.
In particular, one use case might be to send the user from A to B and back to A - in this case the current version might prematurely skip ahead from the A to B section to the B to A section. There may be other similar cases.
One workaround which nearly works would be to divide the route into separate legs, however this has some significant drawbacks:
Is there any possibility to allow some flexibility of how the Navigator works. For example, an optional callback in NavigationRouteProcessor.buildNewRouteProgress to allow the application to ignore the NavigationStatus and generate our own RouteProgress (or perhaps even our own NavigationStatus), to limit jumping ahead (or backwards) based on our own logic.
Is anything like that possible (Or any other ideas for how it could work)?
Unfortunately, I can't see any other way of our use cases working and as a result we are stuck on version 0.19.0 for now.