Repository navigation
fix(ets): preserve automatic joint indexing in concatenation - #1010
Draft
gimgeunwoo wants to merge 2 commits into
Draft
gimgeunwoo wants to merge 2 commits into
gimgeunwoo wants to merge 2 commits into
Conversation
Keep standalone local joint indices in sequence order while retaining explicit mappings. Refs petercorke#803. Co-Authored-By: OpenAI Codex (ChatGPT) <codex@openai.com>
Co-Authored-By: OpenAI Codex (ChatGPT) <codex@openai.com>
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 14 |
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
This branch has not been deployed
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
Concatenating two standalone auto-indexed ETS or ETS2 chains could make both joints read
q[0]. This assigns local indices in sequence order when all inputs are implicit, correcting forward kinematics for those chains. Explicit, sparse, and intentionally shared indices are preserved, and the operands are not mutated.Related issue
Refs #803. This covers concatenation only, not the other mutators.
Validation
Four cases reproduced the issue on unmodified
main. The patched ETS/core suite passed 315 tests and 151 subtests. The broad local suite did not pass; both patched and unmodified runs hit the same slow symbolic-IK timeout. Local type-check diagnostics matched the baseline.AI assistance: OpenAI Codex (ChatGPT) assisted with the implementation and regression tests.