MM-control-01
MM-control-01 copied to clipboard
Change to Accelstepper library
This is a proof of concept using AccelStepper for all moves.
There is also a new homing sequence using stallguard which works most of the time but could use some tweaking.
Using AccelStepper to handle acceleration / deceleration greatly simplifies a lot of the code.
@awigen
Hi,
I don't know this library, just had a short glance on it. Does it support interaction during a movement, or is it completely blocking?
I think for future improvements it must be able to adjust speed, or interrupt the planned motion.
I also implemented accelerated movements, but with my own state machine, as you can review here in my rework
branch: https://github.com/KarlZeilhofer/MM-control-01/tree/rework
Currently it's still blocking, but it should be adopted to be interruptible in future.
Greets, Karl
Thank you for your work. We will test it now.