Skip to content
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

Closed
oxxm opened this issue Oct 22, 2023 · 7 comments
Closed

Navigation in a tunnel with lost GPS signal #18408

oxxm opened this issue Oct 22, 2023 · 7 comments
Assignees
Milestone

Comments

@oxxm
Copy link

oxxm commented Oct 22, 2023

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

@vshcherb
Copy link
Member

This issue needs to be reproduced as it's long time implemented feature.

@vshcherb vshcherb added this to the 4.6-android milestone Oct 22, 2023
@Rowin63
Copy link

Rowin63 commented Oct 23, 2023

This issue needs to be reproduced as it's long time implemented feature.

Then it is an issue, same here.
Until now I thought, that's something I just have to deal with...

@DmitryAlexei
Copy link
Contributor

OsmAnd~ 4.6.0#897m, released: 2023-10-22
Reproduced using track 2023-10-23_12-54_Mon_timestamps off.txt (timestamps of points inside tunnel were deleted)

Steps to reproduce:

  • set a route using provided gpx, start navigation in Flight mode (when GPS receiver of your device is off)
  • set GPS simulation using provided GPX
  • wait until the tunnel entrance

Actual result:

  • navigation get stuck at the tunnel entrance
  • OsmAnd announce: GPS signal lost (00:17 on video)
Screen_Recording_20231023_142304_OsmAnd._1_1_1.mp4

@oxxm
Copy link
Author

oxxm commented Oct 23, 2023

@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?

@Chumva Chumva self-assigned this Oct 24, 2023
@vshcherb
Copy link
Member

vshcherb commented Oct 25, 2023 via email

@Noitarud
Copy link

Noitarud commented Nov 4, 2023

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).

@Chumva Chumva assigned nazar-kutz and unassigned nazar-kutz Nov 7, 2023
@Chumva Chumva self-assigned this Nov 21, 2023
@Chumva Chumva closed this as completed in 59cee2c Nov 28, 2023
Chumva added a commit that referenced this issue Nov 28, 2023
@Rowin63
Copy link

Rowin63 commented Mar 8, 2024

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.
No routing (taking the correct exit) possible at all.
Problem is not new at +4.7.3, it exists already a longer time in previous releases.

Screen_Recording_20240308_085531_OsmAnd+_-_Trim.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants