Commit Graph

17 Commits

Author SHA1 Message Date
PAJohnson
fb669109a2 [GUI] Added ODrive config import/export capability, fixed handling of Infinity, added Menu to header bar to clean up interactions. 2020-12-11 20:16:32 -05:00
PAJohnson
3df42396c0 Fixes for the crashes caused by disconnecting one odrive and connecting another while the GUI is open. Fixed numerical inputs to accept "0". 2020-10-23 21:11:26 -04:00
PAJohnson
50fe195715 Disabled noisy server logs, fixed CtrlFunction bug where clicking directly on the text would not make a function call 2020-10-05 23:35:55 -04:00
PAJohnson
f5a2c2e149 Fixed handling of Boolean values in wizard and CtrlBoolean, fixed handling of Enums for wizardEnd 2020-10-05 20:25:12 -04:00
PAJohnson
142411dd86 disconnect/reconnect handled in a less heavy-handed way. TODO: get rid of hardcoded "odrive0" key that is prevalent throughout wizard components 2020-10-02 00:53:06 -04:00
PAJohnson
da9f3e71e5 Fixed disconnect/reconnect on windows. If an ODrive disappears (reboot, unplug, etc), the python server script gets killed and restarted 2020-10-01 22:03:13 -04:00
PAJohnson
fa7266a24d Modified GUI behavior to restart odrive server if odrive is disconnected. Tested and working on linux 2020-10-01 21:18:17 -04:00
PAJohnson
fd7d1dfa74 Changed name of Config dashboard to Tuning. Added ActionEnum component. 2020-09-28 05:06:12 -04:00
PAJohnson
dd99d5e2e3 Server has better exception handling, axis objects actually fetch updated error values instead of cached ones, numeric controls and actions now accept valid math as inputs like '12e-2+4/(2**2)' 2020-09-28 01:13:56 -04:00
PAJohnson
0ec763bdb4 Axis error work again now, fixed top level .gitignore 2020-09-26 23:04:05 -04:00
PAJohnson
082453b05c Ran into problems with native socketio using greenlets and fibre using real threads, reverting back to flask_socketio for a threaded runtime 2020-09-26 22:19:35 -04:00
PAJohnson
2c84c623da Removed dependency on Flask for server and axios for gui. All communications are now event-based via socketio 2020-09-26 19:31:39 -04:00
PAJohnson
0f14c7a7db Added communication between electron main instance and renderer instance (vue app) for showing raw output from python script
Added button on main page to help with user debugging, should be possible to show missing dependencies etc now!
2020-09-25 17:25:21 -04:00
PAJohnson
12a01a31e3 Actually fixed reboot and disconnect issues for odrive_server.py. Added spinlocks to prevent access to the odrive object if it is in use by any of the three api endpoints, /api/property, /api/function, and /api/odrives 2020-09-24 18:36:35 -04:00
PAJohnson
a9b45593e9 odrive_server.py now (almost) gracefully handles odrive disconnect and reconnect. Wizard now erases choiceMade values on page change 2020-09-23 23:29:00 -04:00
PAJohnson
77f793cc78 Config wizard can now apply settings to the connected ODrive! 2020-09-11 22:09:05 -04:00
PAJohnson
c0aa194765 First commit for gui branch 2020-09-03 16:13:59 -04:00