For controlling a simulation from your own code (i.e. python), see https://sumo.dlr.de/docs/TraCI.html
Am Mi., 11. Aug. 2021 um 11:53 Uhr schrieb Arbi Alaouy <[email protected] >: > Thank you Jakob for the reply. > > I will give PyAutoGUI a try. It's an amazing way to control programs. > > However, what I'm looking for is to create an instance of a sumo object, > and control it via its methods. the alliance of Cpp and python is now > possible. > I'm guessing there should be a simple way to do it. > Another question comes to mind if I were using a cpp GUI not a python > one, should it be simple to create an instance of the SUMO and then control > it through its methods. > > Thank you very much for the responses. > Best regards. > -- > Elarbi > > Le lun. 9 août 2021 à 15:30, Jakob Erdmann <[email protected]> a > écrit : > >> Hello, >> if you do not need new gui functionality you could use >> https://pypi.org/project/PyAutoGUI/ or something similar (xdotool) to >> remote control the sumo-gui process. >> regards, >> Jakob >> >> >> Am Fr., 6. Aug. 2021 um 16:44 Uhr schrieb Arbi Alaouy < >> [email protected]>: >> >>> Hi, >>> >>> First of all, I would like to thank you for this nice community, >>> >>> Secondly, I wish to develop a simulator based on sumo; >>> and I want to know how can I launch/integrate sumo-gui simulation >>> within a GUI developed by python. >>> how can I run it, stop it from buttons of our extended simulator (not >>> sumo framework). >>> >>> I hope do the same thing with netedit, call it from python GUI. >>> >>> Thank you very much for the answers and any documentation will be very >>> appreciated. >>> >>> Best regards. >>> >>> -- >>> Dr Arbi >>> >>> _______________________________________________ >>> sumo-user mailing list >>> [email protected] >>> To unsubscribe from this list, visit >>> https://www.eclipse.org/mailman/listinfo/sumo-user >>> >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > > > -- > El-arbi El-alaouy > > > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
