crude example GUI ready for tomorrow's meeting

8 views
Skip to first unread message

Bruce Frederiksen

unread,
Mar 25, 2013, 10:40:25 AM3/25/13
to The Electrodes, Microcontroller google group
Hi Everybody,

We have been discussing various ways of improving the programming situation for the FRC robots, which is the topic of tomorrow's microcontroller and robotics meeting in the Pinellas Park Library at 6:30pm.

One of the things we've talked about is creating some kind of GUI.  I've got a (butt ugly) GUI ready that has the code for our 2013 Ultimate Ascent robot as an example.

This app is a web app running on python 3.3.  To run it, do the following:
  1. Install python 3.3 on your computer.  This should install a program called pyvenv or pyvenv-3.3.
  2. Pick a place to set up the app and cd to it.
  3. Run "pyvenv-3.3 venv" to create a virtual environment subdirectory there called "venv".
  4. cd venv
  5. On linux, run ". bin/activate", on Windows run bin/activate.bat to activate it.
  6. mkdir src
  7. cd src
  8. hg clone https://code.google.com/p/electrode-thunder.gui/ gui
  9. cd gui
  10. run "python setup.py develop"
  11. cd gui
  12. run "python app.py"
  13. Go to "http://localhost:8080" in your browser.
  14. Type "ultimate_ascent" into the "Open" box and hit Enter.
  15. Enjoy! 
I will showing this at tomorrow's meeting.  Let me know if you have problems with it.

If anybody would like to try to attend the meeting over google hangouts, please let me know and we'll give it a shot!

Hope to see you tomorrow!

-Bruce
Reply all
Reply to author
Forward
0 new messages