Skip to content

Change to Accelstepper library - #66

Open
awigen wants to merge 4 commits into
prusa3d:masterfrom
awigen:accelstepper
Open

awigen wants to merge 4 commits into
prusa3d:masterfrom
awigen:accelstepper

Conversation

@awigen

@awigen awigen commented Oct 21, 2018

Copy link
Copy Markdown
Contributor

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.

@KarlZeilhofer

KarlZeilhofer commented Oct 23, 2018

Copy link
Copy Markdown

@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

@PavelSindler

Copy link
Copy Markdown
Contributor

Thank you for your work. We will test it now.

@mkbel mkbel added the enhancement New feature or request label Feb 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants