like this: traci.start([sumoBinary, "-c", "data/cross.sumocfg", "--tripinfo-output", "tripinfo.xml", " --start"])
2017-06-13 11:50 GMT+02:00 羅先豪 <[email protected]>: > Hello, > > I've tried to add '--start' to traci.start in different ways, but it > doesn't work. > Like this: > traci.start([sumoBinary, "-c", "data/cross.sumocfg", > "--tripinfo-output", "tripinfo.xml"]) --start > Did I put it in the wrong position? > > Thanks. > > Al Lo > > ---------- Forwarded message ---------- > From: Jakob Erdmann <[email protected]> > Date: 2017-06-11 22:15 GMT+08:00 > Subject: Re: [sumo-user] Some questions about traci_tls > To: 羅先豪 <[email protected]> > Cc: sumo-user <[email protected]> > > > Hello, > 1) this is possible with an xml-reading library (see > http://sumo.dlr.de/wiki/Tools/Sumolib). > 2) add the the option '--start' to the argument list of traci.start. If you > want the simulation to close automatically as well, add the option > '--quit-on-end' > regards, > Jakob > > 2017-06-11 13:55 GMT+02:00 羅先豪 <[email protected]>: > > > Hello, > > > > 1. > > In the runner of traci_tls, > > it use module open() to build a new route file. > > Is it possible to open a existed one and rearrange the script parcially, > > instead of overwritting it all? > > > > 2. > > When running traci_tls, it automatically open sumo-gui, > > but I still need to press "start" manully. > > Can it run the whole procedure? How to set it? > > > > Thanks! > > > > Al Lo > > ------------------------------------------------------------ > > ------------------ > > 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 > ------------------------------------------------------------------------------ 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
