Thanks you for the info, sir. Can I get a link to download this svn? I
couldn't find it on the Github Veins branch.

Thanks again

On Thu, Jun 18, 2015 at 12:08 AM, Jakob Erdmann <[email protected]>
wrote:

> Actually, just use the new command traci.vehicle.getRouteIndex() available
> from svn revision 18494
> regards,
> Jakob
>
> 2015-06-16 22:15 GMT+02:00 Anmol Dalmia <[email protected]>:
>
>> Thank you for the ticket, sir.
>> Can you please tell me how I perform an action (for example, this check
>> you suggest) in each time step? Which module I should go through for doing
>> something after every 'step' message?
>>
>> Thanks again
>>
>> On Tue, Jun 16, 2015 at 9:40 PM, Jakob Erdmann <
>> [email protected]> wrote:
>>
>>> Hello,
>>> there is currently now way to retrieve the index so i've opened up a
>>> ticket: http://sumo.dlr.de/trac.wsgi/ticket/1823
>>> Until this is implemented, all you can do is monitor the position of the
>>> vehicle continuosly to know how far along it's route it is.
>>> regards,
>>> Jakob
>>>
>>> 2015-06-16 10:16 GMT+02:00 Anmol Dalmia <[email protected]>:
>>>
>>>> Hello Jakob
>>>>
>>>> Thank you for your reply. Yes, I know of these functions and I tried to
>>>> work with them as well. The problem is that there are roads/ edges which my
>>>> car node crosses more than once in it's route.
>>>> On retrieving the edges on the route, I can obtain only a list of the
>>>> edges and not the index of the current edge. How do I identify which index
>>>> on the edge list is my car node at?
>>>>
>>>> On Sat, Jun 13, 2015 at 11:31 AM, Jakob Erdmann <
>>>> [email protected]> wrote:
>>>>
>>>>> Hello,
>>>>> you can retrieve the route id of a vehicle and then get all edges of
>>>>> the route.
>>>>> see
>>>>> http://sumo.dlr.de/wiki/TraCI/VehicleType_Value_Retrieval
>>>>> http://sumo.dlr.de/wiki/TraCI/Route_Value_Retrieval
>>>>> regards,
>>>>> Jakob
>>>>>
>>>>> 2015-06-11 16:42 GMT+02:00 Anmol Dalmia <[email protected]>:
>>>>>
>>>>>> Hello SUMO Community.
>>>>>>
>>>>>> I am implementing a scenario in Veins where I am interested to know
>>>>>> the
>>>>>> RoadID of the *next* road or lane which a car node will take. I can
>>>>>> extract
>>>>>> such info about the current road but how to do this for the next road?
>>>>>> Searching through the route file in runtime is not a proper option, I
>>>>>> guess. Even if it is, can anyone tell me how to do this?
>>>>>>
>>>>>> Thanks in advance
>>>>>>
>>>>>> --
>>>>>> With Regards
>>>>>> ANMOL DALMIA
>>>>>> Summer Research Intern
>>>>>> Technische Universitat Chemnitz, Germany
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> _______________________________________________
>>>>>> sumo-user mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> With Regards
>>>> ANMOL DALMIA
>>>> Summer Research Intern
>>>> Technische Universitat Chemnitz, Germany
>>>>
>>>
>>>
>>
>>
>> --
>> With Regards
>> ANMOL DALMIA
>> Summer Research Intern
>> Technische Universitat Chemnitz, Germany
>>
>
>


-- 
With Regards
ANMOL DALMIA
Summer Research Intern
Technische Universitat Chemnitz, Germany
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to