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 <[email protected]>:

> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to