Commit Graph
40 Commits
Author SHA1 Message Date
Oskar Weigl ed2579aba0 Merge branch 'devel' into pr/neomanic/236 2018-09-25 23:10:09 -07:00
Oskar Weigl 47052c8a5e Merge branch 'master' into devel 2018-09-18 20:35:25 -07:00
Oskar Weigl c5863dc7cd Update utils.py 2018-09-11 18:49:10 -07:00
Josh Marshall 3310e330ba Fixed udev rules due to default rules overriding our permissions. 2018-09-11 15:06:24 +10:00
Josh Marshall 48218b4182 Merge branch 'master' into py27compat 2018-09-07 14:18:33 +10:00
Oskar Weigl c2cd26cc6e change deadline style timeout for regular timeouts in USB and UART interfaces 2018-09-01 19:29:49 -07:00
Capo01 dc717715dc Replaced motor0 with axis0 in rate_test function 2018-08-17 10:50:56 +10:00
Josh Marshall b8d0337b6c Python 2.7 compatibility 2018-07-23 17:07:18 +10:00
Oskar Weigl 127433195f use subprocess check_call instead of run to be compatible with python < 3.5 2018-07-01 21:18:04 -07:00
Oskar Weigl eb07260c3e fix odrive_demo.py 2018-07-01 00:22:03 -07:00
Oskar Weigl 71088ffb9c fix pause focus stealing 2018-06-25 18:53:13 -07:00
Oskar Weigl 2b0164af74 clean up fiber port 2018-06-08 20:18:47 -07:00
Oskar Weigl 6ff4445770 Merge branch 'devel' into sam_fibre
Conflicts:
	Firmware/Tupfile.lua
	Firmware/fibre/cpp/include/fibre/protocol.hpp
	Firmware/fibre/python/fibre/discovery.py
	Firmware/fibre/python/fibre/usbbulk_transport.py
	tools/odrive/dfu.py
	tools/odrive/shell.py
	tools/odrive/utils.py
	tools/odrivetool
2018-06-08 19:30:21 -07:00
Samuel Sadok 0caac7bdad move updated ODrive python protocol library to Fibre 2018-05-13 23:58:43 -07:00
Samuel Sadok 5770216010 save and restore configuration during DFU 2018-05-12 15:26:51 -07:00
Samuel Sadok fd803a19f1 implement automatic firmware download 2018-05-11 23:22:48 -07:00
Samuel Sadok 2fde5b4d85 improve cross platform compatibility
- python odrive module can be used from python2 again
 - the automatic firmware version.h generation is now based on python instead of bash (which didn't work well on Windows)
2018-04-24 15:35:10 -07:00
Samuel Sadok 1f504d1d99 Merge branch 'sam_testing' into sam_oskar_testing 2018-04-21 23:11:36 -07:00
Samuel Sadok 96d2bc81f2 Merge branch 'sam_refactoring' into sam_testing 2018-04-21 22:22:42 -07:00
Samuel Sadok 80b3bab553 cancel receiver thread correctly on app shutdown 2018-04-21 20:09:24 -07:00
Oskar Weigl c0405e051a split plotting behaviour across windows and notwindows 2018-04-21 17:49:48 -07:00
Oskar Weigl 89ee84ca39 releae with setuptools, fix some help text 2018-04-21 17:44:25 -07:00
Oskar Weigl 52be9da107 wait any structure more readable 2018-04-21 15:41:33 -07:00
Samuel Sadok 0eddbfc11c Add udev-setup command to odrivetool 2018-04-17 20:08:15 -07:00
Oskar Weigl 687fdabbc0 split plotting behaviour across windows and notwindows 2018-04-13 17:17:24 -07:00
Oskar Weigl 2f5f6ead9c add retry error counter, some fixes for windows 2018-04-13 00:25:03 -07:00
Samuel Sadok 1e14c45276 [HACK] implement oscilloscope 2018-04-10 23:54: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 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 e9ec8c6276 combine python tools into one single odrvtool.py 2018-03-30 15:28:00 -07:00
Samuel Sadok b894ba37f2 fix Unix print-on-second-last-line 2018-03-25 17:35:41 -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 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 5104c3ad99 robustify connect and disconnect logic 2018-03-17 19:27:15 -07:00
Samuel Sadok 3fbd2761ac move liveplotter to odrive.utils, make explore_odrive work with IPython 2018-03-17 18:25:03 -07:00