Commit Graph

89 Commits

Author SHA1 Message Date
Unknown
75808abce4 Fix merge issue with ACIM code 2020-01-01 22:13:44 -05:00
Unknown
7a756c1761 Merge branch 'devel' into RazorsEdge 2020-01-01 21:45:41 -05:00
Oskar Weigl
2a22602e82 add dirty fix for setpoint in cpr 2019-11-02 14:05:22 -07:00
Oskar Weigl
27add54b3f move vel_ramp_enable into controller.config 2019-10-07 16:19:30 -07:00
Samuel Sadok
82e8cd64fb cosmetic changes 2019-09-27 18:01:38 +02:00
Unknown
0153e3509a Fix anticogging 2019-09-24 21:32:50 -04:00
Samuel Sadok
f8ea7d5684 [homing] make separate control mode
[endstops] enable in all control modes
[load encoder] use load encoder more consequently
2019-09-23 12:23:27 +02:00
Oskar Weigl
4015ed09dd add ACIM autoflux 2019-09-23 00:07:45 -07:00
Oskar Weigl
c8c6f6237c finish implementing basic ACIM control 2019-09-22 23:27:40 -07:00
Unknown
9e782cce7b Revert "Formatting pass"
This reverts commit 2b58d15d8d.
2019-09-15 01:15:51 -04:00
Unknown
3f4433f50d Enable rudimentary dual-encoder support 2019-09-01 17:02:15 -04:00
Unknown
e9c8eb6c03 Add mirror_ratio 2019-08-31 19:20:47 -04:00
Unknown
f4e2c3d286 Add mirror mode 2019-08-31 18:03:00 -04:00
Unknown
5df4ceda33 Add current ramping input mode 2019-08-31 17:41:32 -04:00
Unknown
2e3768c329 Start moving casts and math functions to std:: 2019-08-25 17:13:10 -04:00
Unknown
63bebaa8de Add "enable" switches for controller options 2019-08-24 21:44:23 -04:00
Unknown
2b58d15d8d Formatting pass 2019-08-20 23:13:54 -04:00
Unknown
9d378f1b67 Fix bug in anticogging due to improper scaling 2019-08-18 11:13:24 -04:00
Paul Guenette
ca93c0e2d2 Add isHomed indicator 2019-08-11 12:30:24 -04:00
Paul Guenette
fbd7ab2738 Improve the behaviour of the HOMING sequence 2019-07-18 17:29:21 +02:00
Paul Guenette
0ab104346f Modify vel_ramp logic slightly to be more STL-based 2019-07-09 21:31:04 +02:00
Paul Guenette
7e569a2e1d Further reduce the complexity of the limitVel algorithm 2019-06-21 21:52:10 +02:00
Paul Guenette
c861cc0b46 Make inputs to limitVel function const 2019-06-21 17:20:16 +02:00
Paul Guenette
4c623f2068 Implement better algorithm 2019-06-21 16:55:15 +02:00
Paul Guenette
544933bb44 Add a lot more velocity limiting tests, implement it 2019-06-19 23:13:20 +02:00
Paul Guenette
da27153f5e Add unit tests for current_vel_limit (failing) 2019-06-19 22:36:40 +02:00
Yannis Chatzikonstantinou
313bd9fe9e add check for vel_gain > 0 2019-06-14 22:53:04 +03:00
Yannis Chatzikonstantinou
cfb0e11272 add check for vel_limt == 0 2019-06-14 22:48:57 +03:00
Ioannis Chatzikonstantinou
7b232b4f8a better naming 2019-06-13 10:31:26 +03:00
Ioannis Chatzikonstantinou
fc5022fde0 velocity limiting in current control mode 2019-06-13 10:27:07 +03:00
Paul Guenette
ec05f7e45a Make sure the trajectory mode exits to avoid rollover issues 2019-06-03 21:07:49 +02:00
Paul Guenette
0f7337743c Add input_pos_updated var to avoid race conditions with comms thread 2019-06-01 14:08:16 +02:00
Paul Guenette
12664d141d Remove the ability to home the axis with requested_state = AXIS_HOMING 2019-05-27 17:17:20 +02:00
Paul Guenette
a4cdac52b8 Change move_incremental to use input_pos 2019-05-26 22:39:54 +02:00
Paul Guenette
73df226fc3 Merge anti_hunt 2019-05-25 19:38:52 +02:00
Paul Guenette
05711d1eba Bring the anti-hunt functionality back 2019-05-25 19:35:15 +02:00
Paul Guenette
9e2476ed65 Remove anticogging_valid from config for now 2019-05-25 18:20:09 +02:00
Paul Guenette
949ad66124 Fix anticogging_calibration where cpr != 3600 2019-05-25 18:07:02 +02:00
Paul Guenette
5a812701a3 Fix some merging pains with the anticogging_saver 2019-05-25 17:47:06 +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
dfca556185 Add anticogging config properties to protocol 2019-05-25 17:04:55 +02:00
Paul Guenette
cf9857651e Make Homing use input_xxx values 2019-05-25 14:54:41 +02:00
Paul Guenette
eb385f0bb9 Remove set_pos_setpoint calls 2019-05-25 14:18:50 +02:00
Paul Guenette
cc36edeabf Merge branch 'anticogging_saver' into RazorsEdge 2019-05-25 14:16:46 +02:00
Paul Guenette
104e4413c9 Fix input_filter integration issues 2019-05-25 14:07:44 +02:00
Paul Guenette
bfa4c154bc Merge branch 'input-filter' into RazorsEdge 2019-05-25 13:58:49 +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
Paul Guenette
1e5b82ca8b Merge branch 'devel' into Endstops 2019-04-23 21:48:43 +02:00
Oskar Weigl
499d33d788 change to explicit pos-writing callback for trajectory updates 2019-03-19 19:47:52 -07:00