Commit Graph
85 Commits
Author SHA1 Message Date
Paul Guenette e8a6698fa5 Merge branch 'devel' into RazorsEdge 2019-06-03 00:30:25 +02:00
Paul Guenette 0c270eaa61 Remove SPI_COM_FAIL error, add spi_error_rate_ to protocol 2019-05-25 21:22:07 +02:00
Paul Guenette 73fbd0d54d Try to delay SPI error counting during initialization 2019-05-25 21:11:43 +02:00
Paul Guenette 59d7bb405c Add missing encoder modes for coherent sampling 2019-05-25 20:42:26 +02:00
Paul Guenette 3fa49918c7 Merge branch 'anticogging_saver' into RazorsEdge 2019-05-25 17:45:09 +02:00
Paul Guenette 6654b3a375 Just fetch the cogging ratio every time we need it 2019-05-25 17:29:25 +02:00
Paul Guenette 3dc969ad15 Merge branch 'Non-Blocking_Absolute_SPI' into RazorsEdge 2019-05-25 14:56:26 +02:00
Paul Guenette 301d68adc6 Move anticogging_t into config, use a fixed size array and scale 2019-05-23 18:56:34 +02:00
Tobin Hall 9e99863eb6 Fix for hanging during configuration. 2019-05-11 23:18:58 +02:00
Tobin Hall bb7ce30ba4 Adding low pass filter to encoder read failures. Staggering SPI triggers 2019-05-11 23:17:45 +02:00
Tobin Hall 31a143a500 Fixing error code assignment. Adding SPI ready check. 2019-05-11 23:17:45 +02:00
Tobin Hall 4b29c51548 Adding preliminary support for SPI absolute encoders. 2019-05-11 23:17:45 +02:00
Oskar Weigl 1196026290 fix subscribe and unsubscribe to idx pin 2019-04-24 17:44:23 -07:00
Oskar Weigl e3946f27e0 add setup_hall_as_index.py 2019-04-15 20:02:10 -07:00
Oskar Weigl 1761272cad add encoder offset calib debug var calib_scan_response 2019-04-01 21:22:27 -07:00
Oskar Weigl c065113392 Merge branch 'devel' of https://github.com/madcowswe/ODrive into devel 2019-03-19 20:41:35 -07:00
Oskar Weigl 412f7962f4 reject precalibration unless encoder is ready 2019-03-11 14:41:52 -07:00
Oskar Weigl 615ae723c3 Merge branch 'devel' of https://github.com/madcowswe/ODrive into devel 2019-03-05 21:47:39 -08:00
Oskar Weigl 1178bf4412 Merge branch 'devel' into preroll 2019-02-11 18:52:58 -08:00
Oskar Weigl e3785a2aa2 make index only active when required 2019-02-11 18:42:22 -08:00
Oskar Weigl c4c5aaac57 sincos is autoready 2019-02-11 18:33:45 -08:00
Oskar Weigl 81d9b33863 add option to disable phase interpolation 2019-02-11 17:54:56 -08:00
Oskar Weigl f17c96360f push index and dir search into encoder object 2019-02-11 17:32:48 -08:00
Oskar Weigl a735adb95c rename var and add comments 2019-02-11 15:13:30 -08:00
Oskar Weigl bade43dc9c remove old overspeed check from encoder 2019-02-10 22:05:43 -08:00
Oskar Weigl 2a12c1ac61 Merge branch 'devel' into preroll 2019-02-10 20:11:18 -08:00
Oskar Weigl 8ad4ad92de center sincos on 50pct 2019-02-05 21:40:40 -08:00
Oskar Weigl a86fb3e59b add coherent sampling and 1.5 cycle pwm phase advance 2019-02-01 21:01:45 -08:00
Oskar Weigl a169dd33f0 add sincos encoder input (hacky) 2019-01-29 23:17:27 -08:00
Oskar Weigl 44152147d7 add ignore_illegal_hall_state 2018-12-17 13:51:03 -08:00
Oskar Weigl b3890ef9ff add option to keep encoder count from startup value 2018-10-30 01:13:39 -07:00
Oskar Weigl b4fcb290a4 add overspeed fault 2018-10-24 23:57:42 -07:00
Oskar Weigl d7644daaca make encoder dir find and overspeed check 2018-10-10 15:35:41 -07:00
Oskar Weigl 8c286f0a6d Lockin based index search working, clean out old search 2018-10-10 14:23:10 -07:00
Oskar Weigl 3a61b4a6ac lockin with enc sense working 2018-10-08 19:40:44 -07:00
Oskar Weigl a0cedaaf94 clean up critical section use 2018-10-07 21:09:09 -07:00
Oskar Weigl 833bdde5f8 Merge pull request #253 from madcowswe/property-hooks
Property hooks
2018-09-30 19:16:38 -07:00
Oskar Weigl 6c89460d88 Merge pull request #254 from madcowswe/fix-sincos
Fix rounding issue in arm_cos_f32
2018-09-30 19:13:53 -07:00
Oskar Weigl a1c8a559c5 Merge branch 'devel' into property-hooks 2018-09-30 18:55:22 -07:00
Oskar Weigl ece2921316 add and rename our own copy of arm_sin_f32 and arm_cos_f32 2018-09-27 21:18:38 -07:00
Oskar Weigl d2e2c3a1a8 use new hooks for encoder and current control bandwidth 2018-09-25 21:34:16 -07:00
Oskar Weigl e88abb56eb pull in configs and enum into class for Axis and Motor, for consistency 2018-09-24 22:59:36 -07:00
Oskar Weigl 584b73920d fix incorrect shifting of offset during index callback 2018-08-24 20:43:28 -07:00
Unknown 14e917171d Rename pll_vel to vel_estimate 2018-08-23 22:26:26 -04:00
Oskar Weigl 19e3c779ae force offset cal after idx search, index now homes axis 2018-08-17 23:39:43 -07:00
Oskar Weigl e6f60e0b93 Merge branch 'master' into devel 2018-07-17 01:41:31 -07:00
Oskar Weigl 955aba11a5 fix axis error motor failed when encoder failed 2018-07-01 15:42:48 -07:00
Oskar Weigl a116c94075 sync shadow_count to count_in_cpr when calibrating 2018-06-22 00:44:03 -07:00
Oskar Weigl 37e01b9865 move bandwith to config 2018-05-15 17:27:12 -07:00
Oskar Weigl f1081afc7b encoder bandwidth configurable 2018-05-15 10:31:09 -07:00