Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Ask Sumo integration

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 <namdre.sumo@xxxxxxxxx> 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 <estdoctor@xxxxxxxxx>:
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
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user


--
El-arbi El-alaouy



Back to the top