Commit Graph
45 Commits
Author SHA1 Message Date
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
Oskar Weigl e7398e23c5 Update low_level.c 2018-01-16 19:36:05 -08:00
Oskar Weigl e2a8dce355 Update low_level.c 2018-01-02 20:52:40 -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 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 e5fb7a8bf8 Merge branch 'devel' of github.com:madcowswe/ODrive into sam_protocol 2017-11-20 10:06:05 +01:00
Oskar Weigl 1ec18e8d0c save L R vals dispite out of range 2017-11-15 01:05:18 -08:00
Oskar Weigl 3d16f41400 fix some issues with moving anticogging 2017-11-08 16:29:12 -08:00
Oskar Weigl 62f5061ed0 Merge branch 'devel' into sam_protocol 2017-11-08 01:14:50 -08:00
Samuel Sadok 8523c40832 fix UART protocol, enable legacy protocol coexistence on USB port 2017-11-06 18:31:26 +01:00
Unknown 52adc576bd Remove reference to paper 2017-11-01 00:29:22 -04:00
Unknown 73ef4d1917 Use mod utility function instead of custom solution 2017-11-01 00:29:06 -04:00
Unknown 4b164137cc Check for NULL cogmap 2017-11-01 00:28:43 -04:00
Unknown 728bab4788 Revert default gains 2017-10-31 23:40:20 -04:00
Unknown e45ad71d2b Make anticogging calibration non-blocking 2017-10-31 23:37:35 -04:00
Unknown f80eec37f1 Add comments for anti-cogging 2017-10-31 22:21:21 -04:00
Unknown 63edce0150 Preliminary Anti-Cogging 2017-10-31 05:19:01 -04:00
Oskar Weigl 7a8f5e24a9 fix delay and timings 2017-10-28 13:57:37 -07:00
Samuel Sadok c19a693fe9 almost make new binary protocol work with python (up to fetching and parsing the JSON) 2017-10-23 23:15:56 +02:00
Samuel Sadok 836d61daef fix messy merge 2017-10-16 10:04:59 +02:00
Samuel Sadok 267312389d Merge remote-tracking branch 'origin/cppify' into sam_protocol 2017-10-16 09:57:31 +02:00
Oskar Weigl 5206f6aba2 Push firmware into Firmware folder 2017-10-15 00:10:36 -07:00
Oskar Weigl 34d4d837ba Push firmware into Firmware folder 2017-10-14 23:35:59 -07:00
Oskar Weigl 2a89b0b31a Push firmware into Firmware folder 2017-10-14 23:33:58 -07:00