osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.58k stars 1.01k forks source link

Android Auto instructions don't make sense #19438

Closed limbusdev closed 1 month ago

limbusdev commented 5 months ago

Description

Hi there. First of all: great work!

Now to my issue. When using android auto, some of the instructions don't make sense. In the following screenshot it says:

> 16.4km
turn right,
then

signal-2024-04-01-14-23-52-124

That "then" in the last line does not make sense here, since there are no additional instructions.

Steps to reproduce

Simply use android auto with OSM+. Maybe only in German.

Actual result

16.4 km turn right, then

Expected result

16.4 km turn right

Your Environment (required)

OsmAnd Version: OSMAnd+ 4.6.13
Android/iOS version: Android 14
Device model: Pixel 6
Crash-Logs: none
DmitryAlexei commented 4 months ago

OsmAnd~ 4.8.0#2184m, released: 2024-04-26 The issue can be reproduced in different locations. For example, for this random route.

Screenshot 2024-04-26 at 18 34 44 Screenshot 2024-04-26 at 18 35 22
DmitryAlexei commented 4 months ago

Important to note, that on web information is displayed correctly

Screenshot 2024-04-26 at 19 03 29
vshcherb commented 3 months ago

To do: check en/de it should be written "Turn right and go XXX km"

alex-osm commented 2 months ago

Probably fixed by https://github.com/osmandapp/OsmAnd-core-legacy/pull/231

Chumva commented 1 month ago

In RouteDetailsFragment we use RouteDirectionInfo.getDescriptionRoutePart() & same happens in android auto, we could use RouteDirectionInfo.getDescriptionRoute() which adds distance to every RouteDirectionInfo

vshcherb commented 1 month ago

2 options for Android Auto (text different than in route details)

  1. Turn left
  2. Turn left than keep right (if next turn <200m)
vshcherb commented 1 month ago

To do remove "and go/than" from strings - https://github.com/osmandapp/Osmand/blob/66bb20ff1b21cc98b3bf2b5c020c2f8f5f65dc79/OsmAnd/src/net/osmand/plus/auto/TripHelper.java#L249

dmpr0 commented 1 month ago

ToDo

EugeneZmeuk commented 3 weeks ago

Docs

DmitryAlexei commented 2 weeks ago

Docs: Probably we need to add another section to Additional features

Check, that AA is a paid feature and there is a description about 10-days free for OsmAnd free

vshcherb commented 1 week ago

http://localhost:3000/docs/user/navigation/auto-car#next-turn - docs

dmpr0 commented 1 week ago

iOS task https://github.com/osmandapp/OsmAnd-iOS/issues/3847