Skip to content
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

FORCE_MOVE fails with no next step error #1012

Closed
yschroeder opened this issue Dec 19, 2018 · 5 comments
Closed

FORCE_MOVE fails with no next step error #1012

yschroeder opened this issue Dec 19, 2018 · 5 comments

Comments

@yschroeder
Copy link
Contributor

When using the FORCE_MOVE command, Klipper shuts down with: MCU 'mcu' shutdown: No next step.

I suspect that there is some timing problem when using multiple MCUs for different axes.

Note, that I use the hangprinter kinematics, but I observed the same when using cartesian kinematics with the current master branch.

klippy_nonextstep.log

@KevinOConnor
Copy link
Collaborator

The "no next step" error occurs when a stepper does not decelerate from speed. It is intended as a safety check to ensure that communications aren't lost between host and micro-controller mid-move. It's being thrown on a FORCE_MOVE, because FORCE_MOVE does not accelerate nor decelerate. To address this, we could: 1 - remove this sanity check from the mcu code, 2 - disable the check on cable winch kinematics (call stepper.set_max_jerk(99999999.9, 999999999.9) ), or 3 - modify FORCE_MOVE to perform accel/decel.

-Kevin

@yschroeder
Copy link
Contributor Author

I like the third option best. FORCE_MOVE currently results in very rough movement. This also works for other kinematics and does not need special handling of cable winch kinematics.

@KevinOConnor
Copy link
Collaborator

FYI, acceleration support has been added to the FORCE_MOVE command (commit d62a41b).

-Kevin

@yschroeder
Copy link
Contributor Author

Nice! @til-k is working on our cable robot right now, so he will come back to you with results.

@KevinOConnor
Copy link
Collaborator

I'm going to close this for now, as I think it should be possible to avoid this issue (and FORCE_MOVE is only intended as a debugging command).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants