Hi Jakob,
I need to use average SUMOs in my project,and I
use
traci.start([sumoBinary,"--start","-c","data/cross.sumocfg","--tripinfo-output","/home/hzq/hzq_disk2/test_A3C_tripinfo/tripinfo_%s.xml"
% i_name]) to start SUMOs. And it works well,but, when I
use
Hi Jakob,
Is there a function in edge value retrieval same as
traci.vehicle.getAccumulatedWaitingTime()?
Thanks in advance!
Best regards,
Zhiqiang
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password,
/connection.py", line 98, in
_sendExact
raise FatalTraCIError("connection closed by SUMO")
traci.exceptions.FatalTraCIError: connection closed by SUMO
Best regards,
Zhiqiang
Zhiqiang Hu 于2018年8月17日周五 下午10:58写道:
> Thanks for your time!I will try it.
>
> Best regards,
> Z
.dlr.de/wiki/Downloads#SUMO_-_Latest_Development_Version,
> Windows binaries updated tomorrow)
>
> regards,
> Jakob
>
> 2018-08-17 11:31 GMT+02:00 Zhiqiang Hu :
>
>> Hi Jakob,
>>
>> I have tried to use traci.load() with some dummy options like
>> --tripin
. just
> loading a small network).
> regards,
> Jakob
>
> 2018-08-16 16:25 GMT+02:00 Zhiqiang Hu :
>
>> Hi Jakob,
>>
>> I have to read the "--tripinfo-ouput" file before I use traci.close(),
>> but I found that there are some lines has not been wr
Hi Jakob,
I have to read the "--tripinfo-ouput" file before I use traci.close(), but
I found that there are some lines has not been written. So is there any way
to get the whole file before I use traci.close()?
Thanks in advamce!
Best regards,
Zhiqiang
Hi sumo-users,
I used traci to implement my simulation.Now I want to set the length of
every time step differently,I would like to know which python function I
can use before traci.simulationStep() to do this.
Thanks in advance!
Best regards,
Zhiqiang
Hi sumo-users,
I use the option --tripinfo-output to get the travel time of every
vehicle,so the information I need is vehicleID and durations.So is there
anyway to just output the vehicleIDs and durations?Thanks in advance!
Beat regards,
Zhiqiang
___
Hi Jakob,
I have cloned the latest version of SUMO from github and build it in Ubuntu
16.04.And I tried to get the emergency stops
using traci.simulation.getEmergencyStoppingVehiclesIDList(),but it returned
nothing as below.Then I
used Traci.simulation.getEmergencyStoppingVehiclesNumber() to do
-
From: Zhiqiang Hu
Date: 2018年7月14日周六 下午10:36
Subject: Traci's running is not smooth
To:
Hi sumo-users,
I am running a program using Traci to optimize the traffic light
timing.In my program, I have to repeat the simulation for about 600,000
times.But,when I use SUMO without GUI
Hi Micheal and Jakob,
I have test the simulator with random action to set the phase of traffic
light,but the problem is still exist.Do you have analyze what cause my
problem ?This is very important to me.Thanks for your time !
Best regards,
Zhiqiang
Zhiqiang Hu 于2018年7月18日周三 下午4:27写道:
>
Hi Micheal and Jakob,
I have test the simulator with random action to set the phase of traffic
light,but the problem is still exist.Do you have analyze what cause my
problem ?This is very important to me.Thanks for your time !
Zhiqiang Hu 于2018年7月18日周三 下午4:27写道:
> Hi Micheal,
> I have c
al data is sometimes written with a delay due to output buffering
> by the operation system.
> Once you close the simulation (traci.close()) all output will be written.
>
> regards,
> Jakob
>
>
> 2018-07-18 16:54 GMT+02:00 Zhiqiang Hu :
>
>> Hi Jakob,
>&g
Hi Jakob,
When I add the option "--tripinfo-output ","tripinfo.xml" into
traci.start(), I got the file tripinfo.xml. But the format is different
from the demo,it is something like this:
月18日周三 下午5:05写道:
>>
>>> traci.edge.getTraveltime
>>> also consider traci.lane.getTraveltime
>>>
>>> 2018-07-18 10:35 GMT+02:00 Zhiqiang Hu :
>>>
>>>> Hi sumo-users,
>>>> I am running a program using Traci to optimize the traffic light
>>&
Hi Jakob,
If all the teleport of vehicles has done, how can I get the mean travel
time of all vehicles?Thanks for your time!
Best regards,
Zhiqiang
Jakob Erdmann 于2018年7月18日周三 下午5:05写道:
> traci.edge.getTraveltime
> also consider traci.lane.getTraveltime
>
> 2018-07-18 10:35 GMT+02
Hi sumo-users,
I am running a program using Traci to optimize the traffic light
timing.And I would like to know the the mean travel time of the vehicles on
a edge in last time step,what function can I use?Or any function about
it?Thanks in advance!
Best regards,
Zhiqiang
Hi Micheal,
I have checked my algorithm these days, the algorithm is correct on the
basis of the result.So, the problem I met may be the consequence of using
SUMO wrongly.So, I would like to know what cause the problem and how to fix
it.Thanks for your time!
Best regards,
Zhiqiang
Hi Jakob,
This problem is very important to me, please reply soon.Thanks!
Best regards,
Zhiqiang
Zhiqiang Hu 于2018年7月14日周六 下午10:36写道:
> Hi sumo-users,
> I am running a program using Traci to optimize the traffic light
> timing.In my program, I have to repeat the simulation
#SUMO_-_Latest_Development_Version
> regards,
> Jakob
>
>
> 2018-07-13 14:54 GMT+02:00 Zhiqiang Hu :
>
>> Hi sumo-users,
>>
>> when I wrote "print(traci.simulation.getCollidingVehiclesNumber())" into
>> my code, I got this error:
>>
>> Traceback (m
Hi sumo-users,
I am running a program using Traci to optimize the traffic light
timing.In my program, I have to repeat the simulation for about 600,000
times.But,when I use SUMO without GUI to run my program,I notice that every
few times later the duration of the simulation is so long
21 matches
Mail list logo