Commit Graph

81 Commits

Author SHA1 Message Date
Paul Guenette
a1338ac551 Input mode Tuning enhancements 2021-06-12 11:31:13 -04:00
PAJohnson
4b2ac94f08 Made DFU erase all internal flash on programming to lessen bad config issues
uart doc improvements
2021-05-27 17:54:03 -04:00
Samuel Sadok
8296a4aa69 [libfibre] make pseudo-parallel func calls work
(note: the legacy protocol itself doesn't support parallel function
calls so they are serialized by libfibre.)

Merge fix for binary libfibre-wasm.wasm file - chose version for cherry-picked commit
2021-04-14 22:40:17 -04:00
PAJohnson
e25d454450 Removed unused gpio mode from GUI enums 2021-04-13 23:32:32 -04:00
Oskar Weigl
26cd9ecbe9 run encoder.apply_config on successful dir_find 2021-04-13 23:29:45 -04:00
PAJohnson
d5ba0946d2 [GUI] Added more types to store.js, fixed odrive config import/export 2021-01-19 00:35:22 -05:00
PAJohnson
4b48a355b4 [GUI] More fixes to use libfibre with the GUI 2021-01-19 00:03:31 -05:00
Samuel Sadok
cdd2105a8d make GUI work with libfibre 2021-01-18 21:49:06 +01:00
Samuel Sadok
d328a74c17 Merge branch 'devel' into libfibre 2021-01-08 11:54:16 +01:00
PAJohnson
db693aa0c2 [GUI] Slider fixes for min and max values 2020-12-22 22:58:41 -05:00
PAJohnson
d19519dd42 [GUI] Updated vue-slider-component version number, changed display behavior of numerical values to automatically switch to scientific notation under certain conditions, fixed header menu behavior 2020-12-22 22:48:17 -05:00
PAJohnson
55d4e96bf3 [GUI] Bumped socket.io-client version to fix compatibility with latest python version, removed unused dependency 2020-12-21 15:59:50 -05:00
PAJohnson
ebd237673a [GUI] Fixed enumGenerate.js for windows 2020-12-20 16:08:52 -05:00
PAJohnson
918240fe33 [GUI] Changed plot colors to use the matplotlib default color sequence 2020-12-16 00:34:37 -05:00
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
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
Samuel Sadok
f4b312accb fix various libfibre bugs 2020-12-04 20:11:21 +01:00
Samuel Sadok
21e19b9c18 Merge branch 'devel' into libfibre 2020-12-03 21:20:30 +01:00
Samuel Sadok
cef55e9036 add fibre-js 2020-11-03 11:27:13 +01: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