Dry-run snap carries the pending blend chain - #36
Merged
Merged
Conversation
_snap_to_angles (teleport, un-referenced home, home(calibrate=True)) flushed the planner's blend buffer and discarded what it produced, so a blended move issued right before the snap vanished from the preview along with any collision refusal it would have raised live. The flushed results now lead the merged result, as par6's dry-run client already does. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0158QrPR5eVhd31AvFpxJKr6
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.
_snap_to_angles— the dry-run path behind teleport, un-referenced home, andhome(calibrate=True)— flushed the planner's blend buffer and then discarded what the flush produced. A blended move issued right before one of those commands vanished from the preview, along with any collision refusal it would have raised on the live controller, and the preview's next move started from the snap pose as if the blended move never happened.The flushed results now lead the merged result (the same shape par6's dry-run
home()already returns), so consumers get the chain in script order without having to callflush()themselves first.Regression test fails on the old code (snap returned a single zero-duration pose) and passes with the fix; all dry-run unit tests pass.
🤖 Generated with Claude Code
https://claude.ai/code/session_0158QrPR5eVhd31AvFpxJKr6