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 single-axis homing fail with cycle=0. #1234

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Fixed single-axis homing fail with cycle=0. #1234

merged 1 commit into from
Jun 11, 2024

Conversation

MitchBradley
Copy link
Collaborator

The fix involved adding homing/cycle=0 axes to the homing mask. The problem was introduced via a combination of automatically creating homing sections if they were not explicitly present, along with the way that the default cycle value for such sections was interpreted for the purpose of homing mask. I eliminated the inferred sections, ensuring that code that uses homing sections is careful to check for nonexistent ones. In the process, I factored the tstep calculation in Trinamic drivers so the homing related code is in one place.

The fix involved adding homing/cycle=0 axes to the homing mask.
The problem was introduced via a combination of automatically
creating homing sections if they were not explicitly present,
along with the way that the default cycle value for such sections
was interpreted for the purpose of homing mask.  I eliminated the
inferred sections, ensuring that code that uses homing sections
is careful to check for nonexistent ones.  In the process, I factored
the tstep calculation in Trinamic drivers so the homing related code
is in one place.
@MitchBradley MitchBradley merged commit 62af3bf into main Jun 11, 2024
24 checks passed
@MitchBradley MitchBradley deleted the HomingFix branch June 11, 2024 22:20
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

1 participant