Oskar Weigl
a94096b64d
Make subcomponent errors to always set relevant axis error; use do_checks and set_error
2018-05-10 06:56:13 -07:00
Samuel Sadok
64324d17d4
update header file generator to address axes by number
2018-04-27 17:36:47 -07:00
Samuel Sadok
5fc48f23dd
enable triggering of parameter-less functions
2018-04-26 17:13:10 -07:00
Samuel Sadok
a067d31bb9
rename template_processor to code_generator
2018-04-24 19:38:09 -07:00
Samuel Sadok
b2fed7c64c
implement JSON to C++ header dump tool
2018-04-24 18:08:07 -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
861a26735c
Merge branch 'sam_disable_dfu' into sam_oskar_testing
2018-04-24 13:41:53 -07:00
Samuel Sadok
86a21838ea
[odrivetool] disable DFU feature for board version <= 3.4 because it can break the board
2018-04-24 12:52:49 -07:00
Samuel Sadok
cc1eddc65e
store the programmer serial number with escape characters.
...
An STLink/v2 programmer is now identified by a string of the format "\x12\x34..." instead of "1234..." This navigates around differences of how makefiles are parsed in windows and linux
2018-04-23 19:52:39 -07:00
Samuel Sadok
dc303606b1
fix USB TX lockup issue
...
When the host reset the connection without reading the response packet first, the TX-empty semaphore would never get released, thereby blocking any further TX communication. This commit just overrides the TX buffer if the semaphore wait times out.
2018-04-23 19:03:55 -07:00
Oskar Weigl
cdeca6680a
add retry in wait_while_state in dfuse
2018-04-22 16:30:59 -07:00
Samuel Sadok
1f504d1d99
Merge branch 'sam_testing' into sam_oskar_testing
2018-04-21 23:11:36 -07:00
samuelsadok
4cefbbb0f9
dont start thread with daemon=True, doesnt work in python2
2018-04-21 22:49:18 -07:00
Samuel Sadok
96d2bc81f2
Merge branch 'sam_refactoring' into sam_testing
2018-04-21 22:22:42 -07:00
Samuel Sadok
1cdda103a3
Merge branch 'devel' into sam_refactoring
2018-04-21 22:11:49 -07:00
Oskar Weigl
c19510e1c6
Update protocol.py
2018-04-21 20:23:54 -07:00
Samuel Sadok
b1f9be531d
request more bytes at a time when reading JSON
2018-04-21 20:22:30 -07:00
Samuel Sadok
f626540494
remove unused functions
2018-04-21 20:19:21 -07:00
Samuel Sadok
80b3bab553
cancel receiver thread correctly on app shutdown
2018-04-21 20:09:24 -07:00
Oskar Weigl
78e157f879
Merge branch 'devel' into sam_python_fixes
2018-04-21 17:57:38 -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
Oskar Weigl
0ac2871dec
drv fault only reads fault regs, add blackside loopback tests
2018-04-21 14:27:37 -07:00
Oskar Weigl
c8b000622d
Merge pull request #155 from bkinman/feat_python27_tools
...
Python2.7 support, revisited
2018-04-21 01:24:34 -07:00
Oskar Weigl
9d2b56998f
Update protocol.py
2018-04-21 00:13:28 -07:00
Samuel Sadok
1d7bf6b467
Merge branch 'devel' of github.com:madcowswe/ODrive into sam_refactoring
2018-04-21 00:07:31 -07:00
Samuel Sadok
3eeffd6f7e
add checksum output
2018-04-17 22:33:29 -07:00
Samuel Sadok
7b9b0f884b
Add batch file for windows as a trampoline for the actual script
...
The installation does not work unless pywin32 is already installed.
See: https://github.com/mhammond/pywin32/issues/1197
2018-04-17 20:08:15 -07:00
Samuel Sadok
0eddbfc11c
Add udev-setup command to odrivetool
2018-04-17 20:08:15 -07:00
Samuel Sadok
8c6110e499
improve tostring dump of remote objects
2018-04-17 20:08:15 -07:00
Samuel Sadok
cd5b9014c1
include PyWin32 as dependency for windows, add "Developer Preview" note
2018-04-17 20:07:59 -07:00
Oskar Weigl
9593ee4f4a
change to 48V for loopback
2018-04-17 00:41:31 -07:00
Oskar Weigl
6e066b45f3
finish spiral test
2018-04-15 23:18:58 -07:00
Oskar Weigl
74cbaee709
add loopback test group
2018-04-15 21:46:33 -07:00
Oskar Weigl
fcb88e105e
rename test rig to parallel
2018-04-15 18:17:17 -07:00
Oskar Weigl
d558d554f5
add speed ratings
2018-04-15 17:00:51 -07:00
Oskar Weigl
7d99825988
snap pll_vel to 0 to avoid jitter
2018-04-15 15:55:36 -07:00
Oskar Weigl
0b1bf6f278
implement circular vel pll tracking
2018-04-15 00:38:39 -07:00
Oskar Weigl
99e6334089
make rotor still check pause more further from error, reduce undervoltage trip level
2018-04-14 20:28:31 -07:00
Oskar Weigl
d864730ecc
add integrator resets to firmware
2018-04-13 18:37:39 -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
Oskar Weigl
18260e64c0
sed backslashing through make
2018-04-12 20:41:23 -07:00
Samuel Sadok
ffff42b4f3
[TEMP] test hacks
2018-04-11 00:07:56 -07:00
Samuel Sadok
c49717e386
improve error output
2018-04-11 00:07:12 -07:00
Samuel Sadok
1e14c45276
[HACK] implement oscilloscope
2018-04-10 23:54:13 -07:00
Samuel Sadok
a7de97defd
[HACK] implement return values
2018-04-10 23:45:58 -07:00
Samuel Sadok
d202491e9a
make tests more flexible
2018-04-10 15:41:34 -07:00
Samuel Sadok
d316badc2b
add high velocity test with load
2018-04-10 00:25:56 -07:00