Commit Graph
43 Commits
Author SHA1 Message Date
Samuel Sadok b32c87df5a [TEMP] refactoring: compile works, motors initialize as usual 2018-03-02 22:03:24 -08:00
Oskar Weigl 2c8c712eda Merge branch 'devel' into sam_nvm 2018-02-25 23:42:14 -08:00
Samuel Sadok 50436709db Reorganize config parameters
All configurable parameters are now exposed on the protocol in objects called "[...].config". Those are the same parameters that are saved to NVM.
2018-02-25 19:59:29 -08:00
Oskar Weigl 12c72cf284 change how default configs are done for now 2018-02-23 23:36:46 -08:00
Oskar Weigl 4088f3fa07 Merge branch 'devel' into psu-brownout 2018-02-23 13:02:17 -08:00
Oskar Weigl c1f800d235 Merge branch 'DRV-error-readouts' of git://github.com/qjones81/ODrive into qjones81-DRV-error-readouts 2018-02-23 12:52:33 -08:00
Quincy Jones f75799fd3c Fix a naming bug on drv_error -> drv_fault 2018-02-21 14:23:12 -06:00
Quincy Jones ef0f8dbf85 Add microsecond delay functions.
Add DRV register/fault status reporting.
2018-02-21 13:41:42 -06:00
Paul Guenette 06ab4d7bae Add Encoder CPR range checking 2018-02-19 19:42:47 -05:00
Oskar Weigl 72efd17f31 implement dc bus brownout check 2018-02-19 00:32:01 -08:00
Oskar Weigl 69d63a6e79 Merge branch 'devel' into liveplotter 2018-02-11 21:39:05 -08:00
Oskar Weigl 6810e52d8d expose Iq setpoint and measured separatly 2018-02-03 19:09:49 -08:00
Oskar Weigl 5f3341b949 add resistance_calib_max_voltage parameter 2018-02-02 22:45:19 -08:00
Oskar Weigl a7c8a85d30 expose motor_dir 2018-01-26 22:59:21 -08:00
Oskar Weigl aaa5f802de configurable search speed and dir, check for already flashed calibration 2018-01-26 22:34:34 -08:00
Oskar Weigl 1f8bba475e index searching works 2018-01-26 22:10:16 -08:00
Oskar Weigl 9b7d201276 manual idx search on M1 working, not on M0 2018-01-26 21:02:58 -08:00
Oskar Weigl 2eef906003 Merge branch 'devel' into encoder_index 2018-01-26 20:38:27 -08:00
Oskar Weigl 2ef82d1edb implement gimbal motor mode 2018-01-22 15:21:16 -08:00
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
Paul Guenette deaeae1f8a Merge branch 'devel' into feature/index_pin 2018-01-12 18:56:48 -05:00
Oskar Weigl 5aec866788 check DRV fault 2017-12-15 19:51:51 -08:00
Paul Guenette 6715acb4d4 Actually declare enc_index_cb 2017-12-14 22:08:44 -05:00
Paul Guenette 7dd7ce2afc Implement index pin handling 2017-12-14 22:08:43 -05:00
Oskar Weigl 3c1aaa6670 Merge branch 'devel' into sam_protocol 2017-11-26 14:30:26 -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
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 d9b13efac2 Check for max current based on HW version 2017-11-22 20:49:09 -05: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
Oskar Weigl 4ed06c8a57 make first version of liveplotter 2017-11-09 21:10:40 -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
Unknown e45ad71d2b Make anticogging calibration non-blocking 2017-10-31 23:37:35 -04:00
Unknown 63edce0150 Preliminary Anti-Cogging 2017-10-31 05:19:01 -04:00
Samuel Sadok ba46e5fb29 update test_communication.py to new backend, deferred USB processing, move CRC16 to stream based layer, some protocol refactoring 2017-10-30 23:39:21 +01:00
Samuel Sadok a8b5cef1d0 preliminary (untested) port of new protocol to python 2017-10-16 22:14:35 +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