Hi Jakob,

Thanks for the quick response! By minimizing SUMO commands I meant that at
each time-step, sumo presumably computes a desired velocity which I then
wind up overwriting with TRACI at each step?
Glad to hear about the library! This would be amazing.

Eugene

On Tue, May 16, 2017 at 12:58 PM Jakob Erdmann <namdre.s...@googlemail.com>
wrote:

> Hello,
> you can obtain lane-changing data using the sumo option --lanechange-output
> You can read this file even while the simulation is running but there may
> be occasional lag due to buffering (output only happens in chunks of a
> certain size).
> We are currently working on a way to allow using sumo as a library which
> will let you use all the traci commands without the performance penalty.
>
> regards,
> Jakob
>
>
> 2017-05-16 21:34 GMT+02:00 Eugene Vinitsky <vinitsky.eug...@gmail.com>:
>
>> Hello,
>>
>> I'm working on a project where I'm using TRACI to control 20 or so cars on
>> a ring for reinforcement learning purposes. However, this runs quite
>> slowly. I'm aware that using TRACI can slow things down by a factor of 10
>> or more.
>> I was wondering if anyone had any suggestions for how I might be able to
>> speed things up? I'm only using SUMO commands to compute lane changes so
>> is
>> there a way I can minimize SUMO calls?
>>
>> Thanks for any and all help,
>>
>> 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-user mailing list
>> sumo-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to