Open way-thu opened 4 months ago
By the way, how does the final in the paper obtained? take sumo1x1 for an example, I run the simulation in sumo for 200 steps and finally obtained the results just like bellows, it seems different with the results in your paper, especially in travel time.
If you want to run SUMO gui, the options in the *.cfg
files dont work. Rather, you need to change the options in configs/tsc/base.yml
file. Check in the world section,
world:
# necessary and distinctive parameters for simulators
interval: 1.0
seed: 0
dir: data/
saveReplay: True
report_log_mode: normal # cbengine
report_log_rate: 10
no_warning: True
gui: False
rlTrafficLight: True
Change the gui option to True
. It should work. Also when running from the command line, make sure to specify interface
as traci
. Otherwise, it will freeze when running. Let me know if you got it working.
If you want to run SUMO gui, the options in the
*.cfg
files dont work. Rather, you need to change the options inconfigs/tsc/base.yml
file. Check in the world section,world: # necessary and distinctive parameters for simulators interval: 1.0 seed: 0 dir: data/ saveReplay: True report_log_mode: normal # cbengine report_log_rate: 10 no_warning: True gui: False rlTrafficLight: True
Change the gui option to
True
. It should work. Also when running from the command line, make sure to specifyinterface
astraci
. Otherwise, it will freeze when running. Let me know if you got it working.
Thanks for your answer, I have solved it. Moreover, can you provide a detailed calculation of the results? I an a little confused about the results obtained in the paper.
If you want to run SUMO gui, the options in the
*.cfg
files dont work. Rather, you need to change the options inconfigs/tsc/base.yml
file. Check in the world section,world: # necessary and distinctive parameters for simulators interval: 1.0 seed: 0 dir: data/ saveReplay: True report_log_mode: normal # cbengine report_log_rate: 10 no_warning: True gui: False rlTrafficLight: True
Change the gui option to
True
. It should work. Also when running from the command line, make sure to specifyinterface
astraci
. Otherwise, it will freeze when running. Let me know if you got it working.Thanks for your answer, I have solved it. Moreover, can you provide a detailed calculation of the results? I an a little confused about the results obtained in the paper.
You mean about the lower travel times in sumo1x1.cfg
in your results, correct? If I remember correctly, it is actually the Cologne1x1 map, not the cityflow1x1 map. I am seeing the travel time being something like 55 seconds, and that seems to closer with your result.
Cityflow1x1 references the hangzou1x1 map, seperate from the Cologne1x1 map. Perhaps this is the reason for the discrepency.
@Red-Pheonix Ok, I get it. Thanks for your reply again!
Describe the bug Thanks for your work. I want to run the simulation in SUMO and see the simulation progress in sumo-gui, take sumo1x1.cfg for example, I changed the gui from "false" to "true", but it doesn't appear the simulation progress in sumo-gui. If I changed the gui from "false" to "True", it will occur errors. How can I solve this problem?
![image](https://github.com/DaRL-LibSignal/LibSignal/assets/113359869/909db7be-967e-464c-9827-3bbe05caf9ab)
Expected behavior
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.