Hello, the latest release of sumo (0.30.0) does not support parallel traci client. You have 2 options: a) use the latest development version which does allow multiple clients (recommended, see http://sumo.dlr.de/wiki/Downloads#SUMO_-_Latest_Development_Version) b) use TraaS which sets up a webserver as intermediary to allow multiple clients
If your scripts need to interact with each they could do this either - by setting use-defined parameters on the vehicles (using vehicle.setParameter, vehicle.getParameter) which is synchronized once every simulation step - or by your own mechanism of inter-process communication regards, Jakob 2017-07-13 17:52 GMT+02:00 Francesco Sicuro via sumo-user < [email protected]>: > Hi, I'm trying to handle crashes in sumo with a TraCi python script, as > suggested here (http://sumo.dlr.de/wiki/TraCI/Interfacing_TraCI_from_ > Python > ). > Everything is running without the intervention of omnet++. > What I want to know is if it is possible to run both, script python that > handles the MOBILITY part only and Veins(Omnet++) to handle the > COMMUNICATION part only, in parallel. > In such a way everything will become much easier, since I have a working > python script that directly manages the "car motion" according to my > desires in sumo, and I wrote all the communication part(customized > messages, reaction to the message, etc...) inside the veins library in > omnet++. > So to be more clear, how to use both in parallel and if so, how to manage > the interaction among them? > > Best regards, > Francesco sicuro. > ------------------------------------------------------------ > ------------------ > 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
