Oskar Weigl
35944a5750
add motor types, including gimbal
2018-01-22 15:14:00 -08:00
Oskar Weigl
6481e00d0e
move out FOC voltage out of loop
2018-01-22 15:11:29 -08:00
fluture
2d0ab77734
Fixed sending all commands to motor 0
2018-01-16 23:31:44 -08:00
Oskar Weigl
e7398e23c5
Update low_level.c
2018-01-16 19:36:05 -08:00
Cristian Fluture
6cefbf6e62
Added 3 endpoints (UUID_0, UUID_1, UUID2) to expose the device UUID
2018-01-14 23:38:21 -08:00
Oskar Weigl
e2a8dce355
Update low_level.c
2018-01-02 20:52:40 -08:00
Oskar Weigl
c14bc7b871
add Iq control effort report
2017-12-19 20:56:36 -08:00
Oskar Weigl
07525383b2
boost switching freq, add vbus_s HV define
2017-12-15 20:18:43 -08:00
Oskar Weigl
5aec866788
check DRV fault
2017-12-15 19:51:51 -08:00
Oskar Weigl
f301d3cac4
change HW version to v3.4
2017-12-10 16:16:35 -08:00
Oskar Weigl
19dbbec7d7
minor change
2017-11-26 17:20:38 -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
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
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
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
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
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
Samuel Sadok
f881f60207
update communication documentation
2017-11-13 22:41:14 +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
560b5d8699
Merge branch 'devel' of github.com:madcowswe/ODrive into sam_protocol
2017-11-13 12:28:02 +01:00
Oskar Weigl
39b91689e9
add comments
2017-11-09 01:12:07 -08:00
Oskar Weigl
49754af4cc
add comments
2017-11-08 23:53:15 -08:00
Oskar Weigl
5dd1d01688
add comments
2017-11-08 22:15:16 -08:00
Oskar Weigl
f4b934a78a
change info dump command to 'i'
2017-11-08 21:15:14 -08:00
Oskar Weigl
70f1a56631
move stars in util.h
2017-11-08 21:13:33 -08:00
Unknown
a935c26455
Add UUID access, echo cmd
2017-11-08 21:46:07 -05:00
Unknown
70b8b4799c
Fix timeouts
2017-11-08 20:12:46 -05:00
Unknown
17375b41d8
Remove memcpy from set_cmd_buffer
2017-11-08 19:40:52 -05:00
Oskar Weigl
3d16f41400
fix some issues with moving anticogging
2017-11-08 16:29:12 -08:00
Samuel Sadok
285dece8f6
make CRC work for 64-bit
2017-11-09 00:44:03 +01:00
Unknown
1a1f1a1d93
Implement new thread for USB IRQ pump
2017-11-08 05:38:14 -05:00
Oskar Weigl
62f5061ed0
Merge branch 'devel' into sam_protocol
2017-11-08 01:14:50 -08:00