I try to simulate a robot, but with a GUI. I can make a simulation using pyopengl to simulate the movement of robot, but I cannot make the GUI with that. I need to make it easier to simulate, analyze, communicate and run the robot (and simulation).

My app so far :

  • Using python for image processing and communication with the robot
  • Using pyopengl to simulate 3D
  • Using matplotlib to display the log of robot movement

Is there any advice on how to create an app that is able to simulate, analyze, communicate and run in compact design?

enter image description here

My current app has no button and hard to analyze.

  • $\begingroup$ What speaks against TKinter? $\endgroup$ Jul 15, 2019 at 9:11
  • $\begingroup$ i cant put pyopengl on tkinter... if there is a way... my problem actually solved... $\endgroup$
    – Albert H M
    Jul 15, 2019 at 9:30
  • $\begingroup$ Or tkinter has another 3d widget? $\endgroup$
    – Albert H M
    Jul 15, 2019 at 14:08
  • $\begingroup$ pyopengl.sourceforge.net --> PyOpenGL is interoperable with a large number of external GUI libraries for Python including (but not limited to): wxPython PyGame PyQt and PySide PyGTK Raw XLib OSMesa Raspberry Pi BCM Tkinter (if you have installed the Togl widget for Tk) $\endgroup$
    – 50k4
    Jul 18, 2019 at 7:17
  • $\begingroup$ @50k4 i try to use Togl widget.. but i confused because i cant use glpushmatrix and glpopmatrix ( i used this when creating my robot model) do you have any idea about this? $\endgroup$
    – Albert H M
    Jul 20, 2019 at 6:39

1 Answer 1


It sounds like what you want to do is all contained within ROS (http://www.ros.org/about-ros/). There is lots of functionality already with ROS, but it is really good for simulation, communication between hardware, etc. You can still write your codes in python, but all the things you want to do are massively simplified.

  • $\begingroup$ This ROS, which has produced alone in this forum 100s of questions because it's hard to install, doesn't run in Fedora, and is poorly documented? $\endgroup$ Jul 18, 2019 at 17:37
  • $\begingroup$ Is ros able to create gui? $\endgroup$
    – Albert H M
    Jul 20, 2019 at 6:39
  • $\begingroup$ ROS can be installed on Fedora, although some packages are not available. It is possible to do though. On Ubuntu installation is very easy. There is a package for GUIs, willowgarage.com/blog/2012/10/21/ros-gui or you can use Qt or some other software to create the GUI. It should interface easily with ROS. $\endgroup$
    – Alex Smith
    Jul 22, 2019 at 9:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.