Development slows during the summer holidays but I would expect a working prototype by september/october.
2017-07-09 20:24 GMT+02:00 Cathy Wu <cath...@eecs.berkeley.edu>: > Thanks Jakob for all the suggestions! > > Do you have a sense of the timeline on libsumo? Is it possible we'll be > able to use it in the new few weeks? > > Many thanks! > Cathy > > On Sat, Jul 8, 2017 at 12:43 PM, 'Jakob Erdmann' via > learning-traf...@lists.berkeley.edu <learning-traf...@lists.berkeley.edu> > wrote: > >> Hello, >> - option 1: Subscriptions: http://sumo.dlr.de/wiki/TraCI/ >> Object_Variable_Subscription (http://sumo.dlr.de/wiki/TraCI >> /Interfacing_TraCI_from_Python#Subscriptions) >> - option 2: write the simulation state to a file periodically: >> http://sumo.dlr.de/wiki/Simulation/SaveAndLoad#Saving (saving state as >> .xml will give you a human-readable state representation) >> - option 3: wait just a little bit longer because we in the process of >> building libsumo. This will allow you to use sumo as a library, thereby >> giving you the full TraCI-API without the communication overhead. >> >> regards, >> Jakob >> >> 2017-07-08 21:14 GMT+02:00 Cathy Wu via sumo-devel < >> sumo-devel@lists.sourceforge.net>: >> >>> Hello! >>> >>> We are developing an interface with SUMO/TraCI which makes many many >>> calls >>> to TraCI (for each vehicle in the system) to retrieve the full state of >>> the >>> system. This results in our system being quite slow. >>> >>> We are looking to introduce a new TraCI call which sends and receives a >>> single message for multiple "get" commands. I am looking to write >>> something >>> analogous to: >>> traci/domain.py:_getUniversal(self, varID, objectID=""). >>> >>> Instead, I imagine a signature such as: >>> traci/domain.py:_getUniversals(self, *varIDs*, *objectIDs*=[""]) >>> >>> Is there existing support within SUMO for sending multiple commands with >>> one message? I am curious for your thoughts on whether this is a good >>> approach and if you think this would result in a dramatic speed up? If >>> so, >>> could you please offer some pointers into the TraCI/SUMO codebase or >>> similar efforts/attempts, to help us get started? >>> >>> For now, we are interested in the following get commands for vehicles: >>> getTypeID, >>> getRoadID, getLanePosition, getLaneIndex, getSpeed, getLength, >>> getMaxSpeed, >>> getDistance, getRouteID, getPosition. We are interested in something >>> similar for "set" commands as well in the future. >>> >>> Thank you and we appreciate your help! >>> >>> -- >>> Best wishes, >>> Cathy >>> ------------------------------------------------------------ >>> ------------------ >>> 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 >>> >> >> > > > -- > Best wishes, > Cathy > ------------------------------------------------------------------------------ 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