Thanks for the tip! This is very helpful.

Eugene
On Tue, Jul 11, 2017 at 3:33 PM Jakob Erdmann <namdre.s...@googlemail.com>
wrote:

> Hello,
> the VAR_LEADER subscription is special because it requires an additional
> distance argument.
> When using the python client you can use traci.vehicle.subscribeLeader().
> regards,
> Jakob
>
> 2017-07-11 22:30 GMT+02:00 Eugene Vinitsky via sumo-devel <
> sumo-devel@lists.sourceforge.net>:
>
>> Hello!
>>
>> I am attempting to try and get headway information for vehicles using
>> subscriptions. When I try and call
>> traci_connection.vehicle.subscribe(veh_id, [constant.VAR_LEADER]) SUMO
>> closes the connection. Is this something that I can subscribe to or am I
>> misusing subscriptions somehow?
>>
>> Thank you!
>>
>> Eugene Vinitsky
>>
>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> sumo-devel mailing list
>> sumo-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/sumo-devel
>>
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-devel mailing list
sumo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-devel

Reply via email to