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

Fixed Feedhold after Soft Limit #305

Merged
merged 1 commit into from
Feb 25, 2022
Merged

Fixed Feedhold after Soft Limit #305

merged 1 commit into from
Feb 25, 2022

Conversation

MitchBradley
Copy link
Collaborator

If you trigger a soft limit, then issue a feedhold while running
a program, the system goes into Hold state but does not stop moving.

Reported on Discord by Jürgen H.

To repro:

  1. Soft limits must be enabled in the config
  2. Home the machine
  3. Issue a movement command that would trigger a soft limit
  4. Unblock the system with ^X then $X
  5. Run a program
  6. Issue ! to pause the program
  7. Issue ? ? ? to observe that motion continues

The problem was caused by not clearing the soft_limits variable in reset_variables(). POG clears the variable, but in one of our code rearrangements that was inadvertently omitted.

If you trigger a soft limit, then issue a feedhold while running
a program, the system goes into Hold state but does not stop moving.
@bdring bdring merged commit d3824e0 into Devt Feb 25, 2022
@MitchBradley MitchBradley deleted the FeedholdAfterSoftLimit branch May 21, 2022 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants