[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[sumo-user] An error when opening simulation
|
Hi team,
When I try to open a simulation in SUMO, it does not open properly.
When I open SUMO.sumocfg, the sumo-gui window is forcibly closed with the following message.
The problem seems to occur when I open the simu.net.xml. Is there an error in my simu.net.xml, or is it something else?
Thank you.
Sincerely,
Jihyeok
![]() |
<!-- Filename: simu.net.xml -->
<net>
<!-- Define edges (roads) -->
<edge id="edge1" type="highway.primary" from="gneE0" to="gneE1" priority="2" />
<edge id="edge2" type="highway.secondary" from="gneE2" to="gneE3" priority="2" />
<!-- Define junction (intersection) -->
<junction id="0" type="traffic_light" x="0.0" y="0.0" />
<!-- Connect edges at the junction -->
<connection from="edge1" to="edge2" fromLane="1" toLane="0" />
<connection from="edge2" to="edge1" fromLane="0" toLane="1" />
<!-- Define lanes -->
<!-- Your lane definitions -->
<!-- Define traffic lights -->
<tlLogic id="0" programID="0">
<phase duration="31" state="GrGr" />
<phase duration="6" state="yryr" />
<phase duration="31" state="rGrG" />
<phase duration="6" state="ryry" />
</tlLogic>
</net>
Attachment:
SUMO.sumocfg
Description: application/sumo