Re: [sumo-user] Disconnect with Traci

2018-07-11 Thread
moBinary, "--start","-c", "data/cross.sumocfg", > "--tripinfo-output", "tripinfo.xml", "log", > str(i)]) > > > 2018-07-11 5:47 GMT+02:00 胡志强 : > >> Hi Jakob, >> Thank you,it works.But the

Re: [sumo-user] Disconnect with Traci

2018-07-10 Thread
7月11日周三 上午1:13写道: > traci.start([sumoBinary, "--start","-c", "data/cross.sumocfg", > "--tripinfo-output", "tripinfo.xml"], > numTries=100) > > > 2018-07-10 16:46 GMT+02:00 胡志强 : > >> Hi, >>

[sumo-user] The reason about disconnect with Traci

2018-07-10 Thread
Hi, My SUMO version is 0.32.0,and I write a loop to simulate for many times, I start SUMO like this: for i in range(2): traci.start([sumoBinary, "--start","-c", "data/cross.sumocfg", "--tripinfo-output", "tripinfo.xml"]) ... ... traci.close() At the

Re: [sumo-user] Disconnect with Traci

2018-07-10 Thread
ls: > Under what circumstances does the connection fail? Do the circumstances > during failure differ from before? Does it disconnect while it is > connected, or not connect at all? Etc. > Also, how are you starting SUMO, manually, programmatically? Etc. > > Greets, Menno > > On

Re: [sumo-user] Disconnect with Traci

2018-07-10 Thread
; to the TCP server. Make sure you start SUMO with the --remote-port > option as described here: http://sumo.dlr.de/wiki/TraCI#SUMO_startup. > > If you need to simulate many runs, you will have to automate starting > SUMO as well. > > Greets, > > Menno > > On 10-7-

Re: [sumo-user] Disconnect with Traci

2018-07-10 Thread
t connect > to the TCP server. Make sure you start SUMO with the --remote-port > option as described here: http://sumo.dlr.de/wiki/TraCI#SUMO_startup. > > If you need to simulate many runs, you will have to automate starting > SUMO as well. > > Greets, > > Menno > > On 10-7-

[sumo-user] Disconnect with Traci

2018-07-10 Thread
Dear sumo-users: I am doing a traffic light program to optimize the timing of traffic light by using Traci.But I met a problem,I need to simulate the process again and again,then,I got this error: Could not connect to TraCI server at localhost:55141 [Errno 111] Connection refused

[sumo-user] Get the number of emergency stops

2018-07-06 Thread
Dear sumo_users: Could you please tell me how get the number of emergency stops in last simulation step in traci? ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this

[sumo-user] The multi-threaded option in SUMO

2018-06-28 Thread
Dear sumo users, Is there a multi-threaded option in SUMO to accelerate the simulation process,and what is it ?If not ,is there any way to accelerate the simulation process? Thanks in advance! ___ sumo-user mailing list

[sumo-user] The performance index 'Duration' is increasing explosively

2018-06-26 Thread
I am trying to optimize the traffic light timings based on reinforcement learning ,but I meet a problem ,the performance index 'Duration' is increasing explosively.At the beginning,the Duration is about 8092 ms,but soon,it increased to 13 ms,and is still increasing. I don't know what is wrong

[sumo-user] set phase of traffic lights

2018-06-25 Thread
I have build a cross with straight way and turn-left way,and the cross is like this : [image: image.png] and the traffic light information below: in a time-step ,I set the phase of the traffic light in this way:

[sumo-user] End a simulation in sumo-gui with python

2018-06-25 Thread
I am building a traffic_light program with traci ,but I don't know which function I can use to end a simulation automatically without clicking the close buttons in the sumo-gui. Could anyone help me?Thanks! ___ sumo-user mailing list