Skip to content

fix(ets): preserve automatic joint indexing in concatenation - #1010

Draft
gimgeunwoo wants to merge 2 commits into
petercorke:mainfrom
gimgeunwoo:fix/ets-auto-index-concatenation
Draft

gimgeunwoo wants to merge 2 commits into
petercorke:mainfrom
gimgeunwoo:fix/ets-auto-index-concatenation

Conversation

@gimgeunwoo

Copy link
Copy Markdown

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.

gimgeunwoo and others added 2 commits November 29, 2026 17:44
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>
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 14 complexity · 0 duplication

Metric Results
Complexity 14
Duplication 0

View in Codacy

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

No deployments
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.

1 participant