Susan Fox wrote:
Hi, I'm having a bit of trouble with a GUI I wanted to attach to my pyro
brain. At the moment I'm using the stage simulator to test the brain.
I implemented the user interface as a device that creates a separate
thread, and opens a Tkinter window through that thread. It all appears
to work right, at least initially. However, after a short time, *stage*
crashes. When I don't attach the GUI device, stage goes along happily.
Has anyone seen this?
Susan
It sounds like data might be building up on the socket from Stage (maybe
because the GUI is blocking?)
There are examples of devices that implement a GUI interface. See for
example the PlayerPTZDevice class in pyrobot/robot/player.py with
reference to the widgets (the AddWidgets and window.addCommand methods).
-Doug
_______________________________________________
Pyro-users mailing list
[email protected]
http://emergent.brynmawr.edu/mailman/listinfo/pyro-users