Commit Graph
2809 Commits
Author SHA1 Message Date
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
PAJohnson 89693f26a0 Added wizard choices for input control modes 2020-09-15 23:38:04 -04:00
PAJohnson aab7860d82 Started work on tooltips for wizard choices. Tried out some prepackaged components - too complicated! Going to make a custom one. 2020-09-15 00:48:17 -04:00
PAJohnson 90cc43fc6f Changed folder structure, added Control Mode wizard pages 2020-09-14 23:16:04 -04:00
PAJohnson 40c3fae9e6 Added "hooks" to wizard choices to allow for computation as part of a config choice
Added page-scope components for wizard pages
2020-09-14 21:44:09 -04:00
PAJohnson 7324fb69cf Added navigation panel for wizard page 2020-09-12 00:18:42 -04:00
PAJohnson 77f793cc78 Config wizard can now apply settings to the connected ODrive! 2020-09-11 22:09:05 -04:00
PAJohnson 15b14dbe73 Factored out state machine from wizard. Added 'wizard.js' for wizard data structure 2020-09-10 16:28:20 -04:00
PAJohnson 11d770aa0c End page for config wizard, additional icon for hall effect encoder 2020-09-08 23:06:47 -04:00
PAJohnson cfdd6cfdda Added encoder wizard pages, finishing touches page, and end page 2020-09-05 00:14:16 -04:00
PAJohnson 43d8a4d344 Created code structure in wizard state machine for "custom choices"
These are used for wizard options that require user input
2020-09-04 22:49:03 -04:00
PAJohnson fb1d0d78aa Icons created and added, GUI config wizard state machine closer to working 2020-09-03 23:13:58 -04:00
PAJohnson 878a0ce85f npm package versions update 2020-09-03 16:50:19 -04:00
PAJohnson c0aa194765 First commit for gui branch 2020-09-03 16:13:59 -04:00
Unknown 3c49b7f8ca Merge branch 'rc-v0.5.1' into devel 2020-09-02 20:51:13 -04:00
Unknown f691536b3c Fix DRV lock-up problem when using absolute encoders v0.5.1-rc3 2020-09-02 20:44:56 -04:00
PAJohnson 2f8d09fff4 Removed pos_cpr 2020-08-31 18:32:28 -04:00
Samuel Sadok 86be15086f Expand Notes for Contributors 2020-08-31 23:11:11 +02:00
Samuel Sadok 95e4f3aa95 add ODrive in DFU mode to udev rules 2020-08-31 13:56:55 +02:00
Samuel Sadok 96cbe69f8a Various DFU fixes
- make DFU script compatible with Python 2
 - include permissions for DFU mode VID:PID in udev rules (these rules,
    when missing, would result in `ValueError: The device has no langid`)
 - fix `IndexError: list index out of range` that occurred when the
    device was already in DFU mode
 - fix `UnboundLocalError: local variable 'do_backup_config' referenced
   before assignment` when DFU was started after the device was already
   in DFU mode
2020-08-31 13:03:48 +02:00
Oskar Weigl 11aebb62ac don't drop samples in sampler.py by default 2020-08-29 20:00:09 -07:00
Unknown e9810e5014 Merge branch 'homing_hotfix' into rc-v0.5.1 v0.5.1-rc2 2020-08-27 17:01:00 -04:00
Unknown deff0a4405 Merge branch 'homing_hotfix' into devel 2020-08-27 16:57:56 -04:00
Unknown 7fdaadf96e Fix Homing Offset problem due to counts -> revs change 2020-08-27 16:55:20 -04:00
Samuel Sadok 982b9f5a26 fix dump_errors 2020-08-27 01:15:16 +02:00