aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/chelper/kin_shaper.c
Commit message (Collapse)AuthorAgeFilesLines
* idex_modes: COPY and MIRROR mode implementation (#6297)Dmitry Butyugin2023-08-011-4/+4
| | | | | | | | | | | COPY and MIRROR mode implementation Correctly apply input shaper params to new dual_carriage Added SAVE_/RESTORE_IDEX_STATE commands Documentation updates for the new IDEX modes Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* input_shaper: Correctly initialize input shaper stepper_kinematicsDmitry Butyugin2023-06-061-0/+3
| | | | | | | | | If the stepper already executed some steps with the basic stepper_kinematics, subsequent creation of a new one for input_shaper would result in stepcompress errors unless position and time tracking flags are also copied over. Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* input_shaper: Fixed tracking of step_generation_scan_timeDmitry Butyugin2023-06-061-9/+4
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* input_shaper: Factored out AxisInputShaper classDmitry Butyugin2021-10-261-13/+13
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* input_shaper: Define input shapers in a single place in Python codeDmitry Butyugin2021-10-261-197/+20
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* kin_shaper: Fix check for optimized X or Y only calculationsKevin O'Connor2020-08-301-5/+4
| | | | | | | The optimized version is only available if it's the only axis used. This fixes input_shaper on corexz. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* kin_shaper: Add an init_shaper() helper functionKevin O'Connor2020-08-301-26/+22
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* kin_shaper: Group shaper setup code togetherKevin O'Connor2020-08-301-90/+93
| | | | | | No code changes - just code movement. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* kin_shaper: Allocate space for maximum number of shaper pulses in advanceKevin O'Connor2020-08-301-110/+99
| | | | | | | | Combine the shaper pulses and count of those pulses into a `struct shaper_pulses`. Allocate space for the maximum number of pulses in `struct input_shaper`. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* input_shaper: Fixed C module compilation on older gnu90 compilersDmitry Butyugin2020-07-071-1/+2
| | | | | | | For example, Raspbian GNU/Linux 8 (jessie) uses an old GCC version 4.9.2 which uses -std=gnu90 by default. Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* input_shaper: Initial support of input shaping (#3032)Dmitry Butyugin2020-07-051-0/+421
Input shaping can help to reduce printer vibrations due to resonances and eliminate or reduce ghosting in prints. Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>