Commit Graph
117 Commits
Author SHA1 Message Date
Samuel Sadok 69b06dde89 implement high velocity test 2018-04-09 21:50:52 -07:00
Samuel Sadok fa8f4e9915 improve response time for auto-securing the test rig when something goes wrong 2018-04-09 21:48:55 -07:00
Samuel Sadok ab5e686975 upgrade test-rig.yaml to v3.5 2018-04-09 19:38:19 -07:00
Samuel Sadok 282d824545 improve error detection 2018-04-09 19:35:56 -07:00
Samuel Sadok 1718e5c397 Merge branch 'sam_python_fixes' into sam_testing 2018-04-09 18:32:38 -07:00
Samuel Sadok d9b7996c8a Merge branch 'sam_refactoring' into sam_testing 2018-04-09 18:23:25 -07:00
Samuel Sadok 7c0f0669e6 fix warning that occurs with some versions of IPython 2018-04-07 22:14:35 -07:00
Samuel Sadok d413f3a490 rename odrvtool to odrivetool and include odrive.dfuse in pip package 2018-04-07 21:49:34 -07:00
Samuel Sadok e264e1c326 rename legacy protocol to ASCII protocol 2018-04-07 13:25:19 -07:00
Samuel Sadok 8b23e0b975 if USB fails, call set_configuration instead of clear_halt
set_configuration acts as a sort of soft reset, clearing halt conditions along the way.
More details:
http://libusb.sourceforge.net/api-1.0/group__dev.html#ga186593ecae576dad6cd9679f45a2aa43
2018-04-06 22:18:45 -07:00
Samuel Sadok f286bd5a3d if USB fails, call set_configuration instead of clear_halt
set_configuration acts as a sort of soft reset, clearing halt conditions along the way.
More details:
http://libusb.sourceforge.net/api-1.0/group__dev.html#ga186593ecae576dad6cd9679f45a2aa43
2018-04-06 21:17:13 -07:00
Samuel Sadok bd2bcd401b add usb_burn_in_test 2018-04-06 21:05:48 -07:00
Samuel Sadok 6cc3558656 add motor argument to odrive.utils.print_drv_regs 2018-04-06 13:10:13 -07:00
Samuel Sadok 359f0c656a make tests work on back-to-back rig, check test preconditions 2018-04-06 13:03:35 -07:00
Samuel Sadok 0b4ecb0581 add motor argument to odrive.utils.print_drv_regs 2018-04-06 12:59:14 -07:00
Samuel Sadok 2d681f8b99 Merge branch 'sam_python_fixes' into sam_testing 2018-04-03 17:27:19 -07:00
Samuel Sadok fbaac861d7 rename odrvtool to odrivetool 2018-03-30 16:46:22 -07:00
Samuel Sadok 583ab2b76d silence python warnings 2018-03-30 16:32:33 -07:00
Samuel Sadok febdb24856 display correct python tools version 2018-03-30 16:24:33 -07:00
Samuel Sadok eeb5786397 add setup.py to publish python tools to PyPi 2018-03-30 16:21:30 -07:00
Samuel Sadok 34a95f971b add get_version to python library 2018-03-30 15:28:00 -07:00
Samuel Sadok e9ec8c6276 combine python tools into one single odrvtool.py 2018-03-30 15:28:00 -07:00
Samuel Sadok a7c7ed4996 Merge branch 'sam_versions' of github.com:madcowswe/ODrive into sam_python_fixes 2018-03-29 18:34:06 -07:00
Samuel Sadok 3703ae5558 dfu.py: dump OTP when using verbose flag 2018-03-27 23:05:20 -07:00
Samuel Sadok 3b157bfbac implement verification in DFU script 2018-03-27 17:37:37 -07:00
Samuel Sadok b894ba37f2 fix Unix print-on-second-last-line 2018-03-25 17:35:41 -07:00
Samuel Sadok 0790ed8959 don't fail if build dir doesn't exist 2018-03-25 17:02:13 -07:00
Samuel Sadok ef52687a37 make fancy terminal features work on Windows
Add Windows support for the following terminal features:
 - colored output
 - output on the second last line

On Unix systems, VT100 escape codes are used to achieve this,
functionality however Windows <10 doesn't interpret VT100 escape codes.
For normal colored output, we use the colorama module to abstract this
away. To print text on the second-last line we call the appropriate
Win32 API functions directly (using the win32console module).
2018-03-25 16:04:04 -07:00
Samuel Sadok ae8acae7ef make fancy terminal features work on Windows
Add Windows support for the following terminal features:
 - colored output
 - output on the second last line

On Unix systems, VT100 escape codes are used to achieve this,
functionality however Windows <10 doesn't interpret VT100 escape codes.
For normal colored output, we use the colorama module to abstract this
away. To print text on the second-last line we call the appropriate
Win32 API functions directly (using the win32console module).
2018-03-25 15:57:50 -07:00
Samuel Sadok 0784bd3413 move test-rig.yaml to tools/ 2018-03-23 20:21:25 -07:00
Samuel Sadok 3373ce29a8 more USB and discovery fixes 2018-03-23 19:55:08 -07:00
Samuel Sadok c547bb09a2 more USB and discovery fixes 2018-03-23 19:50:35 -07:00
Samuel Sadok b5f47f045e add automated test script 2018-03-23 19:50:07 -07:00
Samuel Sadok 153b904732 robustify python USB discovery/communication 2018-03-23 17:10:29 -07:00
Samuel Sadok d71aa4ca8e robustify python USB discovery/communication 2018-03-23 17:09:04 -07:00
Samuel Sadok e77dc1697a Merge branch 'sam_python_fixes' into sam_testing 2018-03-17 22:42:28 -07:00
Samuel Sadok a0d440bff3 Merge branch 'devel' of github.com:madcowswe/ODrive into sam_python_fixes 2018-03-17 22:23:57 -07:00
Samuel Sadok fcdbde2640 build for multiple configurations 2018-03-17 22:11:58 -07:00
Samuel Sadok 4404e0aa74 increase readability 2018-03-17 21:14:22 -07:00
Samuel Sadok a2413e3469 robustify connect/reconnect via serial connection 2018-03-17 20:29:57 -07:00
Samuel Sadok 5104c3ad99 robustify connect and disconnect logic 2018-03-17 19:27:15 -07:00
Samuel Sadok f4bded078f make remote_endpoint_operation thread-safe 2018-03-17 18:27:24 -07:00
Samuel Sadok 3fbd2761ac move liveplotter to odrive.utils, make explore_odrive work with IPython 2018-03-17 18:25:03 -07:00
Samuel Sadok 1c2cfd2923 [python tools] refactor device discovery and object creation 2018-03-16 22:43:21 -07:00
Samuel Sadok 3ea4b731b3 rename USBHaltException to ChannelDamagedException 2018-03-16 22:32:26 -07:00
Samuel Sadok 284a77eb1b fix timeouts in DFU script 2018-03-16 22:05:19 -07:00
Samuel Sadok 8bf6793a86 make liveplotter not steal focus and terminate as expected 2018-03-15 17:56:14 -07:00
Samuel Sadok 0fd3b43a39 [python tools] use IPython.embed() by default
exmplore_odrive.py no longer needs to be executed with
"ipython -i explore_odrive.py" but can launch an embedded IPython
command prompt by itself. If IPython is not available, the script falls
back to checking for normal python interactive mode.
2018-03-15 17:55:26 -07:00
Samuel Sadok 81380fa9da Merge branch 'devel' of github.com:madcowswe/ODrive into sam_python_fixes 2018-03-15 16:37:17 -07:00
Samuel Sadok eab7cda53e make liveplotter not steal focus and terminate as expected 2018-03-15 16:36:04 -07:00