Paul Guenette
7dd7ce2afc
Implement index pin handling
2017-12-14 22:08:43 -05:00
Oskar Weigl
685f9c821c
Merge pull request #52 from madcowswe/sam_protocol
...
Protocol Upgrade
2017-11-26 17:21:39 -08:00
Oskar Weigl
19dbbec7d7
minor change
2017-11-26 17:20:38 -08:00
Oskar Weigl
ed0a344bed
re-remove file inadvertently reintroduced
2017-11-26 16:49:36 -08:00
Oskar Weigl
afed3a66e2
update changelog
2017-11-26 16:48:57 -08:00
Oskar Weigl
5c455a3eaf
add IPython support for explore_odrive.py
2017-11-26 16:29:46 -08:00
Oskar Weigl
d39b58a02e
Improve documentation, allow UART on v3.3 and higher only
2017-11-26 16:08:06 -08:00
Oskar Weigl
0c8828f88e
add c++ include paths to VSCode
2017-11-26 15:39:16 -08:00
Oskar Weigl
e4400d1f26
remove old test_communication.py
2017-11-26 15:26:51 -08:00
Oskar Weigl
62714714db
fix some merge errors
2017-11-26 14:52:08 -08:00
Oskar Weigl
3c1aaa6670
Merge branch 'devel' into sam_protocol
2017-11-26 14:30:26 -08:00
Oskar Weigl
740faef9e3
autoformat low_level.c
2017-11-26 14:19:59 -08:00
Oskar Weigl
1862a4ed71
add VSCode workspace file
2017-11-26 14:18:28 -08:00
Oskar Weigl
a792b93234
split .vscode settings between firmware and tools folder
2017-11-26 14:16:18 -08:00
Oskar Weigl
ec62253723
Merge pull request #75 from Wetmelon/feature/set-enc-reg
...
Create Set Encoder Count function
2017-11-25 22:39:12 -08:00
Oskar Weigl
9309077b85
Add comment describing critical section
2017-11-25 22:38:34 -08:00
Paul Guenette
18d2418b61
Fix IRQ handling method
2017-11-26 01:32:56 -05:00
Paul Guenette
48773e7e8d
Protect against race conditions while setting the encoder count
2017-11-26 00:44:10 -05:00
Oskar Weigl
57a34edd9a
autoformat low_level.c
2017-11-24 16:44:29 -08:00
Oskar Weigl
700da0d438
my editor made the comments lined up all by itself. Nice!
2017-11-24 16:27:30 -08:00
Oskar Weigl
3da0275370
Merge branch 'Wetmelon-current-scale' into devel
2017-11-24 16:15:01 -08:00
Oskar Weigl
638b829d97
fine tune current sense adjustment
2017-11-24 16:14:34 -08:00
Oskar Weigl
cd2de216a5
fix float literals, safer margin, extra instruction
2017-11-24 14:41:08 -08:00
Paul Guenette
e82da352e0
CNT is 32 bit, so count should be too
...
Also, explicitly cast count to a float for pll_pos
2017-11-23 15:48:40 -05:00
Paul Guenette
2880b65a1e
Create setEncoderCount function
2017-11-23 15:42:22 -05:00
Paul Guenette
0d7d5647f6
Add pinout to Firmware readme
2017-11-23 11:46:09 -05:00
Paul Guenette
161651ae48
Move max_allowed_current to current_control struct
2017-11-22 21:11:38 -05:00
Paul Guenette
f115a74dde
Clamp to the lowest of (current_lim) and (max_allowed_current)
2017-11-22 20:50:32 -05:00
Paul Guenette
4a868daaf0
Fix GAIN
2017-11-22 20:50:13 -05:00
Paul Guenette
d9b13efac2
Check for max current based on HW version
2017-11-22 20:49:09 -05:00
Paul Guenette
63d8a12f6e
Shunt conductance depends on HW verison
2017-11-22 20:48:43 -05:00
Paul Guenette
62be001ca2
Revert "Handle current scaling factor for HW versions <= 3.3"
...
This reverts commit fefa091de2 .
2017-11-22 20:46:51 -05:00
Paul Guenette
fefa091de2
Handle current scaling factor for HW versions <= 3.3
2017-11-22 19:17:31 -05:00
Samuel Sadok
ee1a2d504e
fix default GPIO mode
2017-11-20 20:54:34 +01:00
Samuel Sadok
e5fb7a8bf8
Merge branch 'devel' of github.com:madcowswe/ODrive into sam_protocol
2017-11-20 10:06:05 +01:00
Oskar Weigl
7df6c19eb3
revert acedental change of default HW version
fw-v0.2.2
2017-11-17 04:54:36 -08:00
Oskar Weigl
4ad21b8fbf
update CHANGELOG.md
2017-11-17 04:51:39 -08:00
Oskar Weigl
1d48659367
interrupt vectors no longer different between HW versions
2017-11-17 04:48:37 -08:00
Oskar Weigl
ea46728431
GPIO 1,2 default to not initialized
2017-11-17 04:47:57 -08:00
Oskar Weigl
1ec18e8d0c
save L R vals dispite out of range
2017-11-15 01:05:18 -08:00
Oskar Weigl
40afb9daf1
fix EXTI handler redefinition for v3.2
2017-11-15 00:43:46 -08:00
Oskar Weigl
6f9257cee1
fw v2.1 patch notes: fix usb deadlock
2017-11-14 15:39:26 -08:00
Oskar Weigl
9499298285
Merge branch 'master' into devel
2017-11-14 15:34:09 -08:00
Oskar Weigl
7166634d17
Update README.md
2017-11-13 16:32:24 -08:00
Samuel Sadok
e982eb4bd9
fix doc formatting
2017-11-13 23:26:12 +01:00
Samuel Sadok
f881f60207
update communication documentation
2017-11-13 22:41:14 +01:00
Samuel Sadok
91f61c076b
miscelleneous python updates
...
accept arguments in explore_odrive.py (like in test_communication.py)
implement --discover argument
fix spurious property fetch
fix read-only properties
better serial port detection for windows
revert demo.py
2017-11-13 19:37:17 +01:00
Samuel Sadok
d52686cd41
miscellaneous protocol updates
...
add back support for legacy protocol on UART
add defines in commands.h for easy selection of protocols
new protocol: use semaphores for sending and drop response after 10ms
minor typing fixes
2017-11-13 17:26:31 +01:00
Samuel Sadok
c6c0e36066
fix osSemaphoteWait return type
2017-11-13 12:29:09 +01:00
Samuel Sadok
560b5d8699
Merge branch 'devel' of github.com:madcowswe/ODrive into sam_protocol
2017-11-13 12:28:02 +01:00