fix: bound x-offset at both ends in PegInsertionSide success condition#1431
Open
Ottohere-Mourn wants to merge 1 commit into
Open
fix: bound x-offset at both ends in PegInsertionSide success condition#1431Ottohere-Mourn wants to merge 1 commit into
Ottohere-Mourn wants to merge 1 commit into
Conversation
…s condition Fixes mani-skill#1391 The success condition for peg insertion only checked the lower x bound, allowing the peg to overshoot past the hole and still be considered successfully inserted. Added an upper bound check so the peg head must be within [-0.015, 0.015] along the insertion axis.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PegInsertionSidetask success condition to bound the x-offset at both the top and bottom-0.015 <= x, allowing the peg to overshoot past the hole and still be counted as success-0.015 <= x <= 0.015, requiring the peg head to be within ±1.5cm of the ideal insertion position along the x-axisFixes #1391
Test Plan