Repository navigation
Conversation
Handle empty ETS2 sequences produced by constant folding while retaining base, tool and trajectory behavior. Add regression coverage for empty and compiled identity sequences. Co-Authored-By: ChatGPT (GPT-6 Astra Pro) <noreply@openai.com>
Use the existing change invalidation helper for item edits, data replacement and insertions. Verify edited ETS and ETS2 forward kinematics and Jacobians against equivalent fresh sequences. Co-Authored-By: ChatGPT (GPT-6 Astra Pro) <noreply@openai.com>
Map sampled joint limits to full-chain joint indices while preserving compact subchain coordinates. Cover ETS, ETS2, Robot and Robot2 with asymmetric limits. Co-Authored-By: ChatGPT (GPT-6 Astra Pro) <noreply@openai.com>
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 61 |
| Duplication | 15 |
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.
Declare the existing NDArray return buffer type so NumPy shape-aware stubs accept both single poses and pose trajectories. Co-Authored-By: ChatGPT (GPT-6 Astra Pro) <noreply@openai.com>
Check the optional joint index directly so NumPy indexing is type safe under the CI stubs. Co-Authored-By: ChatGPT (GPT-6 Astra Pro) <noreply@openai.com>
Order Jacobian columns, joint limits and revolute flags consistently with full jindex-addressed vectors while preserving sparse compact inputs. Cover cyclic permutations, mixed joint units and trajectory solutions. Co-Authored-By: ChatGPT (GPT-6 Astra Pro) <noreply@openai.com>
Keep the ordered translational Hessian factors and the upstream-only angular dependency while applying the existing higher-order product rule. Replace the obsolete tensor fixture with independent Hessian differences and add closed-form third through fifth derivative regressions. Co-Authored-By: ChatGPT (GPT-6 Astra Pro) <noreply@openai.com>
Combine the related fixes from PRs petercorke#957, petercorke#956, petercorke#958, petercorke#974 and petercorke#984 for a single ETS review. Preserve each original commit as a parent and keep its regression coverage. Refresh joint caches after mutations, evaluate empty planar sequences as identity, align random configurations and planar IK with accepted coordinate order, and preserve serial dependencies in higher kinematic partials. Validation: 193 tests and 35 subtests passed; mypy passed for all 166 source files. Regression-test Ruff lint/format and git diff --check passed. Tested with Python 3.12 and the Python kinematics fallback; compiled/platform CI was not run locally. Co-Authored-By: ChatGPT (GPT-6 Astra Pro) <noreply@openai.com>
Integrate upstream main bceb42c without changing the contribution files. Revalidate the related regression suites and mypy against Python 3.11 configuration while retaining the existing commit history. Co-Authored-By: ChatGPT (GPT-6 Astra Pro) <noreply@openai.com>
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
Batch the related ETS fixes from #957, #956, #958, #974 and #984 in response to the request to consolidate fixes within the same module. The original commits remain parents of the integration commit, and all component regressions are retained.
Mutable transform sequences can keep stale joint indices, while several full-chain operations disagree about coordinate order. Empty planar sequences raise an exception instead of evaluating to identity, and higher kinematic derivatives fail to respect serial-chain dependencies.
Changes and numerical behavior
Public behavior and numerical results change for edited sequences, empty planar chains, explicitly permuted coordinates and affected higher derivatives. The old large expected tensor encoded the incorrect recurrence; independent central differences of the Hessian replace it while retaining ETS and Robot entry-point coverage. That test replacement is part of #984 and is preserved by this integration.
Validation
Revalidated after merging upstream
mainatbceb42c18877840280037539dac036f21d4fefe5in commitf3fc039ac0916df467e20263ade3ed071aa67929. The contribution source and regression files are unchanged by this update.Result: 193 passed and 35 subtests passed.
Validation used Linux, Python 3.12.14, NumPy 2.5.5, SciPy 1.18.1 and Matplotlib 3.11.2, with the source tree on
PYTHONPATH=src. The Python kinematics/dynamics fallbacks were used. The compiled extension, other operating systems and the complete repository/platform matrix were not run locally.python -m mypypassed for all 166 source files using upstream main's Python 3.11 target.git diff --checkpassed. The regression files are unchanged from the integration revision, where Ruff lint and format checks passed.Contribution
Primary contributor: @Afloat16.
Prepared with ChatGPT (GPT-6 Astra Pro) assistance.