Results 1 to 9 of 9

Thread: routingServiceDidReachDestination called too early

  1. #1
    Neuer skobbler
    Join Date
    29.02.2016
    Posts
    5

    routingServiceDidReachDestination called too early

    In our testing, it seems that the
    Code:
    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?

  2. #2
    Neuer skobbler
    Join Date
    01.03.2016
    Posts
    6
    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.

  3. #3
    Oberskobbler
    Join Date
    22.07.2014
    Posts
    399
    You'll need to replace in the advice_places.adv with new values (here 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
    Last edited by Adela_Silvia; 02.03.2016 at 17:31.

  4. #4
    Neuer skobbler
    Join Date
    29.02.2016
    Posts
    5
    Quote Originally Posted by Adela_Silvia View Post
    You'll need to replace in the advice_places.adv with new values (here 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.?

  5. #5
    Neuer skobbler
    Join Date
    01.03.2016
    Posts
    6
    Quote Originally Posted by Adela_Silvia View Post
    You'll need to replace in the advice_places.adv with new values (here 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!

  6. #6
    Oberskobbler
    Join Date
    22.07.2014
    Posts
    399
    Hi nuudles, Ive updated the initial response.

  7. #7
    Neuer skobbler
    Join Date
    01.03.2016
    Posts
    6
    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.

  8. #8
    Erfahrener skobbler
    Join Date
    11.02.2015
    Posts
    123
    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?

  9. #9
    Dev platform evangelist dandronic's Avatar
    Join Date
    31.03.2014
    Posts
    177
    Please review: http://sdkblog.skobbler.com/advisor-...h-scout-audio/ and http://sdkblog.skobbler.com/advisor-...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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •