PAJohnson
e41c65cd6a
[GUI] added enum generator npm script, cleaned up use of enums in Axis.vue, fixed various setTimeout bugs
2020-12-10 20:46:10 -05:00
mdhom
fb40ad9d62
added input_mode enum values
2020-11-02 14:28:26 +01:00
PAJohnson
284fa6797a
[GUI] cleanup, added automatic calib_scan_range setting for encoder config to make it more reliable
2020-10-30 19:00:33 -04:00
PAJohnson
efa8b30822
[GUI] refactored motor and encoder calibration into async functions.
2020-10-30 01:49:25 -04:00
PAJohnson
bf2fd35d93
[GUI] actually fixed python command determination in background.js
2020-10-29 00:50:46 -04:00
PAJohnson
0aa32b012c
[GUI] Robustified the python version check
2020-10-28 19:32:08 -04: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
1899fa7df5
Moved thermistors from belonging to Axis to being a part of Motor.
...
Thermistor apply_config now called in Motor::apply_config()
Thermistor errors rolled into motor errors
odrivetool and GUI updated to handle change
Removed CurrentLimiter,Thermistor arrays abstraction
2020-10-13 22:01:52 -04:00
PAJohnson
8958ce7875
Fixed gitignore for generated icons from GUI
2020-10-09 19:53:36 -04:00
PAJohnson
7693254000
Fixed numeric inputs for relevant components
2020-10-06 00:53:36 -04:00
PAJohnson
8caca1de0b
Fixed sequencing bug in GUI wizard where phase_inductance was not fetched before motor.is_calibrated == true
2020-10-06 00:07:06 -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
a35defe8c6
Fix for old config values in wizardEnd not correctly parsing booleans
2020-10-06 00:47:24 -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
dd6338827c
Sampling button changed to single push button instead of start/stop
2020-10-02 21:56:00 -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
dc050b4f5d
Added icons (properly), fixed build issue on windows
2020-10-01 18:28:45 -04:00
PAJohnson
864dadab34
Styling changes, incremental support for units on controls
2020-09-28 06:02:50 -04:00
PAJohnson
fd7d1dfa74
Changed name of Config dashboard to Tuning. Added ActionEnum component.
2020-09-28 05:06:12 -04:00
PAJohnson
fa48d7050f
Motor and encoder cal state machines broken by switch to non-persistent updates, fixed.
2020-09-28 02:55:39 -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
c1f0fa67b0
Dashboard now filters the parameter tree depending on what type of element is being added
2020-09-27 23:23:51 -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
aa819895d3
Basic support for units
2020-09-25 20:28:07 -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
03214c8dbe
Added application icon
2020-09-25 00:27:42 -04:00
PAJohnson
f4615bdcc9
Changed google fonts to be offline so that gui doesn't require an internet connection
2020-09-24 23:18:24 -04:00
PAJohnson
035550359a
Remove v-bind:, replace with : shorthand
2020-09-24 22:48:37 -04:00
PAJohnson
89e93b548e
Added CtrlEnum for parameter values that have enums associated with them
2020-09-24 21:45:05 -04:00
PAJohnson
3e43a80e7d
Parameter dropdown menu styling fix - close button and title persistent, only parameter tree itself scrolls
2020-09-24 20:46:01 -04:00
PAJohnson
ca567c5d91
Config dash now changes variable names depending on what the firmware version of the connected ODrive is.
...
Wizard and Config dashes are now not displayed until an active connection has been established
2020-09-24 19:56:36 -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
28853d2801
Removed Input mode pages from wizard due to likelyhood that they will change soon. Removed random-access functionality from the wizard pages panel. Added color highlighting to indicate which pages were completed.
2020-09-23 22:10:40 -04:00
PAJohnson
4f33452049
Renamed wizardMotorMeasure to wizardMotorCal for consistency. Added check for motor and encoder pages such that if they are already calibrated, (motor.is_calibrated, encoder.is_ready), the user is allowed to go to the next page without calibrating
2020-09-23 20:16:34 -04:00
PAJohnson
c140afc7aa
Refactoring getVal, putVal into odrive_utils.js
2020-09-23 19:00:10 -04:00
PAJohnson
bcd627fae0
Config values that have not changed as a result of the config wizard are now displayed in blue in wizardEnd.vue
2020-09-23 00:45:29 -04:00
PAJohnson
fe639bf81f
Improved calibration functionality for motors and encoders, added wizardCalStatus to display information
2020-09-22 23:04:06 -04:00
PAJohnson
ec1339f4ff
Calibration-related errors are now masked when the wizard is in use. Clear Errors button added to axis error popup
2020-09-22 19:21:25 -04:00
PAJohnson
b909ea1ce4
Added tooltips to next button for wizard. See "nextTooltip" under each object in wizard.js
2020-09-21 22:31:57 -04:00
PAJohnson
a7bea235a0
Fix for incorrect axis data in wizard.js, improved handling of motor calibration in wizard
2020-09-21 18:29:03 -04:00
PAJohnson
ecd4c20e1c
Choices now properly cleanup after themselves if they are deselected
2020-09-18 16:48:04 -04:00
PAJohnson
960ba738f7
Styling improvements, implemented a requirements check for choices, added indication that calibration is happening when activated
2020-09-18 16:17:45 -04:00
PAJohnson
29ff89f6e4
Refactored wizard.js to only have choices, not choices and customComponents
2020-09-18 14:19:55 -04:00
PAJohnson
b3d497d93c
Wizard changes page now shows enums instead of numeric values
...
Encoder page has a working configuration test
2020-09-17 21:40:25 -04:00
PAJohnson
5670059866
Added tooltips for config options.
2020-09-17 19:23:08 -04:00