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
be50b6ee74
split set_count into linear and circular
2018-04-15 01:07:54 -07:00
Oskar Weigl
0b1bf6f278
implement circular vel pll tracking
2018-04-15 00:38:39 -07:00
Oskar Weigl
e4b199e5c6
some nan checks require overriding fast math
2018-04-14 23:43:21 -07:00
Oskar Weigl
339fe59f30
make pos estimate available
2018-04-14 22:47:52 -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
Samuel Sadok
23009d1e93
add overvoltage protection
...
The motor phases will go into floating state as soon as an overvoltage condition is detected.
2018-04-10 00:25:19 -07:00
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
09f361de61
fix encoder offset calibration and error handling
2018-04-09 19:32:36 -07:00
Samuel Sadok
1718e5c397
Merge branch 'sam_python_fixes' into sam_testing
2018-04-09 18:32:38 -07:00
Samuel Sadok
eff744e143
Merge branch 'sam_v3.5_post_refactoring' into sam_testing
2018-04-09 18:24:26 -07:00
Samuel Sadok
d9b7996c8a
Merge branch 'sam_refactoring' into sam_testing
2018-04-09 18:23:25 -07:00
Samuel Sadok
ab27552c0e
add v3.5 support to build system
2018-04-09 18:20:13 -07:00
Samuel Sadok
8047054783
generate CubeMX files for board version v3.5
...
The files main.h, adc.c and gpio.c change from version v3.4 to v3.5
The old versions are moved into the prev_board_version/ directories.
2018-04-09 18:20:13 -07:00
Oskar Weigl
68ffd11280
change pin names and modes in Cube
2018-04-09 18:20:13 -07:00
Samuel Sadok
8f02ddc052
fix USB patch file
2018-04-09 18:18:23 -07:00
Oskar Weigl
df16d5781f
Merge branch 'devel' into sam_python_fixes
2018-04-09 16:16:47 -07:00
Oskar Weigl
7f3fb2ba62
Merge branch 'devel' of github.com:madcowswe/ODrive into devel
2018-04-09 14:57:59 -07:00
Oskar Weigl
5b4be59e52
update changelog
2018-04-09 14:57:55 -07:00
Oskar Weigl
d6074fdf2c
Update README.md
2018-04-08 21:20:24 -07:00
Oskar Weigl
48c8ad0990
Merge branch 'master' into devel
2018-04-08 20:15:59 -07:00
Oskar Weigl
57719d1578
Merge pull request #154 from madcowswe/sam_enum_size_fix
...
fix how enums are exposed on the protocol
2018-04-08 19:47:49 -07:00
Samuel Sadok
338e9759ce
fix how enums are exposed on the protocol
...
Previously the assumption was made that the compiler
uses 32 bits for each enum value. This assumption was
invalid and meant that when reading/writing from
control_mode you would also read/write to enable_step_dir.
2018-04-08 14:06:30 -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
8972e4a8b1
reenable ASCII protocol (formerly "legacy" protocol)
2018-04-07 21:20:26 -07:00
Oskar Weigl
e71a38751f
Merge remote-tracking branch 'origin/sam_config_fix' into devel
2018-04-07 18:24:40 -07:00
Oskar Weigl
a23b5f29cc
Merge branch 'master' into devel
2018-04-07 18:22:16 -07:00
Samuel Sadok
9430851791
set usb task pump priority to osPriorityAboveNormal
...
osPriorityNormal is the same priority as the communication task. If the USB pump task runs on the same priority, it sometimes fails to respond to the host in time, causing spurious halt conditions.
2018-04-07 18:21:45 -07:00
Samuel Sadok
e264e1c326
rename legacy protocol to ASCII protocol
2018-04-07 13:25:19 -07:00
Samuel Sadok
95994309ae
fix bug where an invalid motor config could be loaded
...
Before this commit, if the NVM is deemed valid and but the subsequent config load fails (e.g. because of a checksum mismatch), the motor config could be left in an undefined state.
Also a variable user_config_loaded is added to indicate whether the device is using user-saved config or factory defaults.
2018-04-07 12:49:29 -07:00
Samuel Sadok
61983a10da
store encoder_configs and controller_configs in NVM
2018-04-07 12:30:37 -07:00
Samuel Sadok
814454da00
set usb task pump priority to osPriorityAboveNormal
...
osPriorityNormal is the same priority as the communication task. If the USB pump task runs on the same priority, it sometimes fails to respond to the host in time, causing spurious halt conditions.
2018-04-06 22:19:03 -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