Repository navigation
Conversation
Use the world Jacobian and its singular values to render the bounded velocity capability and the dual force ellipsoid. Keep finite degenerate velocity sets visible and skip only unbounded singular force ellipsoids. Co-Authored-By: ChatGPT (GPT-6 Astra Pro) <noreply@openai.com>
Not up to standards ⛔🔴 Issues
|
| Category | Results |
|---|---|
| ErrorProne | 1 high |
🟢 Metrics 19 complexity · 0 duplication
Metric Results Complexity 19 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.
Use the forward-kinematics rotation with the body Jacobian so the world-axis rendering also handles Robot/URDF base transforms. Co-Authored-By: ChatGPT (GPT-6 Astra Pro) <noreply@openai.com>
Keep the validated option handling while making the Jacobian assignment explicit before selecting translational or angular rows. Co-Authored-By: ChatGPT (GPT-6 Astra Pro) <noreply@openai.com>
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.
Problem
The 3D plotting backend uses the end-effector Jacobian while drawing the ellipsoids in world axes. It also takes reciprocal velocity radii and direct force radii, exchanging the two capabilities.
For a Puma 560 at
qn, rendered velocity points have squared unit-rate residuals from 6.64 to 37.84 instead of 1. Force points have squared joint-effort norms from 0.0264 to 0.151 instead of 1. A rank-deficient but bounded velocity ellipsoid is also skipped.Change
Construct the world Jacobian by rotating the terminal-frame Jacobian with the forward-kinematics rotation, then use its thin SVD. This handles both DHRobot and Robot/URDF base conventions. Its singular values are velocity radii; their reciprocals are force radii. Keep degenerate velocity sets visible and retain the warning/skip behavior for an unbounded singular force ellipsoid. Document the world axes, joint-rate bound, and scale convention.
Behavior change: 3D ellipsoid axes and sizes now describe the requested physical capability. Flat velocity sets are drawn. The separate planar-ellipse implementation is unchanged.
Validation
mypy: all 166 source files passed. New-test Ruff lint/format andgit diff --checkpass.Prior work
Checked all 108 prior fork heads and relevant upstream patches. No earlier fork change implements this geometry. #407 corrects selection of translational/angular rows; #788 changes axes/argument handling; #198 and #594 update animation/teaching. They do not fix the world frame or dual radii.
Primary contributor: Afloat16.
Prepared with ChatGPT (GPT-6 Astra Pro) assistance.