costales / unav

GPS Navigator for Ubuntu Touch
GNU General Public License v3.0
25 stars 8 forks source link

Repetitive route re-calculation #25

Closed zlamalp closed 4 years ago

zlamalp commented 4 years ago

Hi, I noticed cyclic route re-calculation on RC. I set the destination and navigation by the car and started the trip. I was actually sitting in a park on the same place all the time (nearest street was cca 50m). Map was rotating as GPS was probably guessing my direction. After cca 2 minutes, it "noticed" I was outside of the expected route and triggered re-calculation. It found exactly the same route, since it was the nearest street and started the trip again. But then it happened again in a few seconds and then it repeated immediately without any delay.

Is there any wait time (at the trip start) before one enters the route (starting point)? I don't think, that GPS location changed that much (since I was sitting on the same place), that it should be re-calculating the route just because I'm "still staying" outside of the route.

costales commented 4 years ago

Hi,

Good point, probably the start point is far from your position and uNav recalculate again.

I have to fix this for the release.

Well done @zlamalp you find a good bug :)

costales commented 4 years ago

Fixed for uNav 3. Thanks mate!