PDA

View Full Version : routingServiceDidReachDestination called too early



nuudles
29.02.2016, 19:47
In our testing, it seems that the
routingServiceDidReachDestination delegate method is being called too early, typically when the last audio advice is played before reaching the destination. Is there a way to configure it such that the method isn't called into the destination is actually reached?

bpbutler
01.03.2016, 08:21
Im having a similar issue with OnDestinationReached on our Android App. Any information you find would be much appreciated. We have reached out to Skobbler as well and will post what we find.

Adela_Silvia
01.03.2016, 15:25
You'll need to replace in the advice_places.adv with new values (here (https://www.dropbox.com/s/655yvpzaljqcij2/advice_places.adv?dl=0) is the file)
The rate route screen will be shown at the distance indicated by the last value for each case from below (bot outside and inside the city).

Legend:

advice_type_street_type = 3 separate distances_outside_city (in meters) | 3 separate distances_in_city (in meters)

advice_type_street_type:
- H = Highway
- M = Major
- C = Connecting
- S = Small
- dest= destination
- dest_str= destination street
- dest_rnd= destination roundabout

E.g Car & bike:

dest_H = 1500 500 300| 700 350 60

dest_M = 1500 500 300| 700 350 60

dest_C= 500 250 50| 500 250 40

dest_S= 500 250 40| 500 250 30

nuudles
01.03.2016, 17:13
You'll need to replace in the advice_places.adv with new values (here (https://www.dropbox.com/s/655yvpzaljqcij2/advice_places.adv?dl=0) is the file)
The rate route screen will be shown at the distance indicated by the last value for each case from below (bot outside and inside the city).

Legend:

advice_type_street_type = 3 separate distances_outside_city | 3 separate distances_in_city

advice_type_street_type:
- H = Highway
- M = Major
- C = Connecting
- S = Small

E.g Car & bike:

dest_H = 1500 500 300| 700 350 60

dest_M = 1500 500 300| 700 350 60

dest_C= 500 250 50| 500 250 40

dest_S= 500 250 40| 500 250 30

Is there any documentation on this file? What do each of the three values mean? Are the units in meters or feet? What are the definitions of "dest", "dest_str", "dest_rnd", "last", etc.?

bpbutler
02.03.2016, 03:26
You'll need to replace in the advice_places.adv with new values (here (https://www.dropbox.com/s/655yvpzaljqcij2/advice_places.adv?dl=0) is the file)
The rate route screen will be shown at the distance indicated by the last value for each case from below (bot outside and inside the city).

Legend:

advice_type_street_type = 3 separate distances_outside_city | 3 separate distances_in_city

advice_type_street_type:
- H = Highway
- M = Major
- C = Connecting
- S = Small

E.g Car & bike:

dest_H = 1500 500 300| 700 350 60

dest_M = 1500 500 300| 700 350 60

dest_C= 500 250 50| 500 250 40

dest_S= 500 250 40| 500 250 30

Thank you! This worked for us!

Adela_Silvia
02.03.2016, 17:21
Hi nuudles, Ive updated the initial response.

bpbutler
03.03.2016, 20:53
Hey nuudles,

You might want to also consider updating the Last_H,M,C,S values as well. We found that when a the destination is right after a turn, onDestinationReached() can be called early if those values are not modified as well. This might not be an issue for your implementation, but something to consider.

Cheers.

guidove
02.09.2016, 18:26
So, just to verify if I'm understanding this correctly.
dest, dest_str, dest_rnd are only used for the LAST guidance instruction in the route, correct? (to say "you have reached your destination" (or something like that). So, they are NOT called somewhere during the route. Correct?

And when is last used?

dandronic
15.09.2016, 09:36
Please review: http://sdkblog.skobbler.com/advisor-support-text-to-speech-scout-audio/ and http://sdkblog.skobbler.com/advisor-support-text-to-speech-faq/

To be on the safe side you should modify all the distances for dest_, dest_str_ , dest_rnd_ and last_ sets. You can make them all the same, meaning that what you have for dest_H should be equal to what you have for dest_str_H, dest_rnd_H and last_H