Hi,
I think Jakob's answer behind the link explains it perfectly.
Create a dummy vehicle with the route consisting of the start edge only,
reroute it to the end edge and retrieve the route.

Best regards,
Michael

Am 13.05.2016 um 17:11 schrieb pdf pdf:
> Hello,
> 
> Thank you a lot for the prompt responses.
> Even if 0x83 doesn’t return the shortest driving distance, is there a way to 
> get the edges  passed along the traced route for which the distance was being 
> calculated?
> 
> Regards,
> Tomo  Nikolovski
> 
> University of Ontario Institute of Technology
> 
> 
> 
> From: Jakob Erdmann<mailto:[email protected]>
> Sent: Friday, May 13, 2016 2:00 AM
> To: pdf pdf<mailto:[email protected]>
> Cc: [email protected]<mailto:[email protected]>
> Subject: Re: [sumo-user] Counting the number of junctions along the way
> 
> Hello,
> there is currently no way to perform routing without instantiating a
> vehicle (we have plans to amend that in the future). The currently needed
> steps for obtaining the fastest route between two points are outline in the
> this answer:
> 
> https://sourceforge.net/p/sumo/mailman/message/35079478/ (solution b))
> 
> 2016-05-13 2:57 GMT+02:00 pdf pdf <[email protected]>:
> 
>> Hello Everyone,
>>
>> I am currently working with OMnet++, Sumo and Veins. I noticed that there
>> is a variable DISTANCE_REQUEST 0x83, which returns the air or driving
>> distance between two points on the map. What I am interested in is the
>> driving distance. So, once the driving distance is requested, is there a
>> way to get the number of Junctions passed along that driving distance.
>> Logically, there is a function concatenating the edges, but how can I get
>> that from the simulator. I am currently looking into the function
>> getDistance() under Veins, but is seems that the core logic is not
>> implemented there. Thank you in advance.
>>
>> Regards,
>> Tomo Nikolovski
>>
>> University of Ontario Institute of Technology
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Mobile security can be enabling, not merely restricting. Employees who
>> bring their own devices (BYOD) to work are irked by the imposition of MDM
>> restrictions. Mobile Device Manager Plus allows you to control only the
>> apps on BYO-devices by containerizing them, leaving personal data
>> untouched!
>> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
>> _______________________________________________
>> sumo-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>
> ------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> 


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to