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
Hi Zhiqiang,
it seems like SUMO is not running, since the the client cannot 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
Hi Menno,
At the beginning ,it works well,but some time later,it may disconnect with
the sever.So ,what's the possible reasons?
Best regards,
Zhiqiang
Menno van der Woude 于2018年7月10日周二 下午8:44写道:
> Hi Zhiqiang,
>
> it seems like SUMO is not running, since the the client cannot connect
> to the
At the beginning ,it works well,but some time later,it may disconnect with
the sever.So ,what's the possible reasons?
Best regards,
Zhiqiang
Menno van der Woude 于2018年7月10日周二 下午8:44写道:
> Hi Zhiqiang,
>
> it seems like SUMO is not running, since the the client cannot connect
> to the TCP
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
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
- Possibly the simulation cannot start in time because the computer is
still busy from closing the previous simulations. You could add the option
numTries=100 to traci.start() to diagnose this
- Possibly, the simulation cannot start successfully because your computer
is out of memory (which might
Hi Jakob,
How could I load the new definition and continue from the same spot it was?
The steps would be:
load tlLogic definition into junction
saveState
Reload simulation
?
How do I achieve each one of these?
Best regards,
José
On Tue, 10 Jul 2018 at 15:39, Jakob Erdmann wrote:
> This is
traci.start([sumoBinary, "--start","-c", "data/cross.sumocfg",
"--tripinfo-output", "tripinfo.xml"],
numTries=100)
2018-07-10 16:46 GMT+02:00 胡志强 :
> Hi,
> Could you please tell me how add the option numTries=100 to traci.start()?
>
> Best regards,
> Zhiqiang
>
> Jakob
Thanks Jakob.
At the end I am going to control the phase manually, I think it's the best
approach for my problem.
Best regards,
Jose
On Tue, 10 Jul 2018 at 18:50, Jakob Erdmann wrote:
> I would not necessary suggest that you take the save/load approach. If you
> control the traffic light via
Hi Jakob,
Thank you,it works.But the problem is also exist,it retries for 101 times
then closed and I'm sure that my computer's memory is enough.And I also
occurred the error that "connection closed by SUMO",If you want more
details,tell me.
Best regards,
Zhiqiang
Jakob Erdmann 于2018年7月11日周三
11 matches
Mail list logo