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

Fix jogging #151

Merged
merged 1 commit into from
Aug 26, 2022
Merged

Fix jogging #151

merged 1 commit into from
Aug 26, 2022

Conversation

cotepat
Copy link
Contributor

@cotepat cotepat commented Aug 25, 2022

Continuous jogging is now working when homing is BACK_RIGHT (homingFlagSet is false) and soft limits are enabled ($21=1). Also added an OFFSET in that case (just like the offset in the other homing cases)

Continuous jogging is now working when homing is BACK_RIGHT (homingFlagSet if false) and soft limits are enabled ($21=1)
@cotepat
Copy link
Contributor Author

cotepat commented Aug 25, 2022

The problem is that the parameter "direction" is not -1 or 1, it reflects the jogging step that is currently selected (for instance +5 or -5 mm). Thus the calculation is wrong, and the condition "direction === 1" is never met!

@kglovern kglovern merged commit 37f06e8 into Sienci-Labs:master Aug 26, 2022
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