I'm planning to use a Rpi to control a simple robot. I'll write the robots logic in python, and my goal is create a way for a person at another computer to control this robot interactively. In addition to simple text/integers I would also like the UI to display frequently updated image stored using Pillow on the Pi.
I have come up with the following ideas for making work:
Write a tkinter UI on the Pi, then use ssh X-forwarding to get it to the other computer. However all processing will be done on the pi and this may be slow.
Set up a web server on the Pi running a nice interactive page which the other computer can connect to using a browser. However I have no idea how to do this, as I have only very basic html knowledge. I looked at the documentation for python frameworks such as Flask or Tornado, but none of it popped out as being able to solve my problem.
Write a tkinter UI for the other computer, and communicate with the pi using something like 0MQ. However I have no experience with such stuff, and it might be less portable between different machines.
What is recommended in this situation? Are any of those methods terribly bad, and should be avoided at all costs? ? Is there a good solution I'm overlooking? Honestly I like number 2 the most, and a tkinter type library for interactive web pages would be brilliant.
I'd post more links the the different libraries I mentioned but apparently I'm not cool enough for that :(