Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] End a simulation in sumo-gui with python

Hello,
you can end the simulation by sending traci.close().
If you start the simulation with option --quit-on-end the GUI will then close by itself as soon as the simulation ends.
regards,
Jakob

2018-06-25 9:51 GMT+02:00 胡志强 <hzq950419@xxxxxxxxx>:
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
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



Back to the top