-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Implement CLEAR for SET_KINEMATIC_POSITION #6262
base: master
Are you sure you want to change the base?
Conversation
becefb4
to
cf3b637
Compare
03fa371
to
8ebb27b
Compare
Rebased on top of master and implemented a fix for |
8ebb27b
to
fd012fc
Compare
fd012fc
to
264ffce
Compare
Thanks. As high-level feedback the change seems fine to me. I do have a couple of minor comments. I'm not sure about adding a new CLEAR_KINEMATIC_POSITION command. I wonder if adding some kind of Is there a reason that If If you're rebasing this PR it would be nice to have the kinematic -Kevin |
Also, to your earlier question - I don't think the code should call In general, I don't think the toolhead needs to be involved in a "clear homing state" request - the low-level code can just directly instruct the kinematic class of the change in state (as was done for Along those same lines, maybe -Kevin |
It looks like this GitHub Pull Request has become inactive. If there are any further updates, you can add a comment here or open a new ticket. Best regards, PS: I'm just an automated script, not a human being. |
@twelho any updates? |
That works as well, I can expose the functionality through
Thanks for the pointer, I'll update the the the docs as well.
Sure, I can do that. |
Thank you for your contribution to Klipper. Unfortunately, a reviewer has not assigned themselves to this GitHub Pull Request. All Pull Requests are reviewed before merging, and a reviewer will need to volunteer. Further information is available at: https://www.klipper3d.org/CONTRIBUTING.html There are some steps that you can take now:
Unfortunately, if a reviewer does not assign themselves to this GitHub Pull Request then it will be automatically closed. If this happens, then it is a good idea to move further discussion to the Klipper Discourse server. Reviewers can reach out on that forum to let you know if they are interested and when they are available. Best regards, PS: I'm just an automated script, not a human being. |
44b54a6
to
6e8c10e
Compare
82aab98
to
bb64a34
Compare
The changes are now implemented and I've tested that it works as intended on my hardware, so it's ready for review. |
@twelho Awesome! Thank you for your work on that! |
Unfortunately a reviewer has not assigned themselves to this GitHub Pull Request and it is therefore being closed. It is a good idea to move further discussion to the Klipper Discourse server. Reviewers can reach out on that forum to let you know if they are interested and when they are available. Best regards, PS: I'm just an automated script, not a human being. |
Not stale, could someone please take a look at this? |
Unfortunately a reviewer has not assigned themselves to this GitHub Pull Request and it is therefore being closed. It is a good idea to move further discussion to the Klipper Discourse server. Reviewers can reach out on that forum to let you know if they are interested and when they are available. Best regards, PS: I'm just an automated script, not a human being. |
Unfortunately a reviewer has not assigned themselves to this GitHub Pull Request and it is therefore being closed. It is a good idea to move further discussion to the Klipper Discourse server. Reviewers can reach out on that forum to let you know if they are interested and when they are available. Best regards, PS: I'm just an automated script, not a human being. |
Unfortunately a reviewer has not assigned themselves to this GitHub Pull Request and it is therefore being closed. It is a good idea to move further discussion to the Klipper Discourse server. Reviewers can reach out on that forum to let you know if they are interested and when they are available. Best regards, PS: I'm just an automated script, not a human being. |
Can we please reopen this? It‘s still a wanted feature 😊 |
I'm dying for this to be integrated! It's been tricky to work around this in my homing override and this addition would fix my only remaining problem with that setup. |
i would love to get this implemented |
bb64a34
to
a0ff9b4
Compare
So what we need to do to get this feature? Someone has to accept it or what's the issue right now? |
I believe it is in need of a reviewer. Should there be more changes requested, I'm happy to work on them to get this PR merged. |
a0ff9b4
to
a9154d2
Compare
a9154d2
to
259afc0
Compare
Hi, i've managed to apply this PR. However i'm observing the following behavior:
|
Now that I look at this, this is intended behavior.
|
Signed-off-by: Dennis Marttinen <[email protected]>
Signed-off-by: Dennis Marttinen <[email protected]>
`CLEAR` clears the homing status (resets the axis limits) without turning off the motors. This is particularly useful when implementing safe Z homing in `[homing_override]` on printers with multiple independent Z steppers (where `FORCE_MOVE` can't be used). Signed-off-by: Dennis Marttinen <[email protected]>
259afc0
to
98efefe
Compare
SET_KINEMATIC_POSITION CLEAR=<[X][Y][Z]>
clears the homing status (resets the axis limits) without turning off motors. This is particularly useful when implementing safe Z homing in[homing_override]
on printers with multiple independent Z steppers (whereFORCE_MOVE
can't be used):This functionality was already available to the safe Z homing module via
note_z_not_homed
. As a bonus, the_motor_off
implementations across various kinematics are also simplified.I'm not 100% sure whether this should send the
toolhead:set_position
event since it only modifies the limits and not the position itself. The current consumer (singular,GCodeMove
) of that event doesn't seem to need it, but maybe you have some other future plans?