-
-
Notifications
You must be signed in to change notification settings - Fork 987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Navigation in a tunnel with lost GPS signal #18408
Comments
This issue needs to be reproduced as it's long time implemented feature. |
Then it is an issue, same here. |
OsmAnd~ 4.6.0#897m, released: 2023-10-22 Steps to reproduce:
Actual result:
Screen_Recording_20231023_142304_OsmAnd._1_1_1.mp4 |
@vshcherb what is the expected behaviour? Osmand simulates the position after signal loss at tunnel entrance and continues navigation until gps signal is back online? |
Expected behavior is to simulate for tunnel when there is no location. It
should be recognized by 250m before and if location is lost it should not
speak GPS location lost but instead simulate location with last known speed
// Speed 120kmh, 2 seconds -> 60 m
List<RouteSegmentResult> tunnel = routingHelper.getUpcomingTunnel(250);
Actually this should be made constant..
|
Maybe treat as a roundabout, "take 2nd exit" at entry, may also need to specify which lanes are best to be in (considering subsequent actions) and name of exit. Your evisioned solution is best with accelerometers (on mine the limit per axis is about 4G: thrust your device with rotation onto your bed to see centrifugal force; can increase limit with device tilt). |
Thew problem still or again exists. See the attached video. The situation at the end of the clip (rotating 180° back and forward) continues until leaving the tunnel and without changing the vehicles position. Screen_Recording_20240308_085531_OsmAnd+_-_Trim.mp4 |
Description
Osmand doesn't simulate the position with the last known speed in order to give navigation directions in the tunnel, in case an exit needs to be taken in the tunnel itself.
After exiting the tunnel and getting the GPS signal back, Osmand recalculates the route, by then it is already too late to announce the exit in the tunnel.
Steps to reproduce
Example of a route with an exit in a tunnel:
https://www.openstreetmap.org/directions?engine=fossgis_osrm_car&route=48.7553%2C9.1374%3B48.7578%2C9.1593#map=15/48.7567/9.1520
Actual result
GPS signal is lost, navigation is on hold, which can lead to missing exists in a tunnel.
Expected result
Osmand should simulate the position in a tunnel based on the last known speed at tunnel entrance, in case navigation is needed in the tunnel, like taking an exit as an example.
After exiting the tunnel Osmand overwrites the simulated position with the GPS position and updates the navigation route accordingly.
Your Environment (required)
OsmAnd Version: 4.5.10
Android: LineageOs 17.1
Device model: Samsung S9
The text was updated successfully, but these errors were encountered: