tests: kins-switch holds the joints from the program's own switch to identity - #4564
Merged
Merged
Conversation
…identity The hold started at the first sample that read identity. When the abort's G13.1 has run before the program starts, that sample is the homed zeros, and the stretch after the program's G12.1 P1 at its pose counts as every joint straying. Start in identity every run, and start the hold at the change the program makes.
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.
The kins-switch test failed on the arm CI of #4548: every joint reported straying by the program's pose while only W was asked for. The test's hold started at the first sample that read identity; when the abort's G13.1 has already run before the program starts, that sample is the homed zeros, and the identity stretch after the program's G12.1 P1 counts as stray. My #4563 introduced it; the original test started the hold at a change to identity. Test bookkeeping only, the machine did what was asked.
The test now starts in identity every run and starts the hold at the change the program makes. Reproduced the CI numbers here by polling once before the run command; passes with the fix in both orderings.