-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FR] Add a switch to M593 to disable input shaping #24928
Comments
Instead of adding a new parameter to |
I'd agree if 0 should be effectively off, instead of comparing the bool we could compare for value over 0. |
That would save the space of a bool. It would also mean axes can be switched off independently. The code changes would be a bit different to what I said above. Actually, that would be simple enough that I can throw a PR together really quickly. |
New branch https://github.com/tombrazier/Marlin/tree/is_improvements has freq = 0 to switch off input shaping. I'll add bug fixes for TMC2208 here too hopefully. |
This probably should be closed since PR was merged |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Is your feature request related to a problem? Please describe.
@InsanityAutomation has suggested an extension to M593 to disable input shaping. Whilst input shaping is effectively has no effect when damping ratio is equal to 1, all the logic is still being called and the generated pulse train is ever so slightly different. I think being able to disable the feature completely is worthwhile.
Are you looking for hardware support?
No response
Describe the feature you want
Here is what I think is needed for this feature:
class Stepper
.Marlin/Marlin/src/module/planner.cpp
Lines 2487 to 2491 in 6b4d7b9
Marlin/Marlin/src/module/stepper.cpp
Lines 1639 to 1643 in 6b4d7b9
Marlin/Marlin/src/module/stepper.cpp
Line 1822 in 6b4d7b9
Marlin/Marlin/src/module/stepper.cpp
Lines 2497 to 2530 in 6b4d7b9
Additionally a few CPU cycles could be saved with if statements around other code that is conditional on
INPUT_SHAPING
orHAS_SHAPING_X
orHAS_SHAPING_Y
.Additional context
No response
The text was updated successfully, but these errors were encountered: