Repository navigation
Match pedestal home controls to the authored joint pose - #116
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
Preview: https://stevenaya.github.io/openarm_mujoco See https://github.com/enactic/openarm_mujoco/blob/-/README.md#pull-request-and-preview how to configure preview on fork. |
stevenaya
marked this pull request as ready for review
November 21, 2026 22:56
kou
pushed a commit
that referenced
this pull request
Nov 24, 2026
…113) V1 currently uses a column-only visual mesh for pedestal collision. Replace it with six convex parts, and improve the chest collision approximation in both V1 and V2. ## Changes - Replace V1's column-only collision with six separate convex parts. Reuse the V2 column, diagonal brace, base plate and two brackets, and use the earlier **700-triangle chest hull**. - Replace the V2 chest hull from **76 to 700 triangles**. Both pedestal sets now total **768 triangles**. - Keep the V1 files self-contained under `collision/body/split_6parts/`; they are byte-identical to the corresponding V2 parts and use metres. - Preserve the existing visual meshes and simplified material palette. Omitted link7 fasteners are not restored. ## Collision previews Each pair uses the same camera and joint pose. Solid colors identify collision parts; shadows are disabled for comparison. The robot-context views show pedestal collisions alongside arm visuals. These colors are for the previews only. Images are hosted on the author's fork image branch and are not part of the feature commits. | View | Before | After | | --- | --- | --- | | V1 pedestal collision coverage |  |  | | V1 robot context |  |  | | V2 chest hull close-up |  |  | | V2 robot context |  |  | ## Validation - After splitting: all 3 existing Python tests pass; both V1 robot entries and all 20 V2 scene entries load. No tests were added. - Prior focused validation of this patch: All six parts were verified closed and convex. Zero/home poses and 101 joint1 sweep samples per pedestal model produced no pedestal/arm contacts in the checked range; this is not exhaustive collision-space coverage. - Reapplying the four independent patches reproduces the original combined PR tree exactly. ## Scope and dependencies Targets `master` independently; no dependency on the other split PRs or external-control PR #112. This PR retains only the collision portion of the original #113. The other changes are published separately. Related independent draft PRs: #114 (V1 origins), #115 (ZED mount inertia), and #116 (home controls).
stevenaya
added a commit
that referenced
this pull request
Nov 24, 2026
V1 finger contacts currently use `condim=3`, so the configured torsional friction coefficient is inactive. Align V1 with V2's finger contact and global friction-solver settings. ## Changes - Add a `fingertip` default inheriting the existing collision settings with `condim=4`, and apply it to the two single-arm and four bimanual finger collision geoms. - Set `cone="elliptic"` and `impratio="10"` in both V1 robot definitions. `v1/scene.xml` inherits these through its existing include. - Preserve all collision exclusions, non-finger contact dimensions, friction coefficients, contact softness, margins, masks, mimic constraints and actuator parameters. Meshes and V2 files are unchanged. ## Validation - All 3 existing Python tests pass; no tests added to the repository. - Load the V1 single-arm, bimanual and scene entries and verify the effective finger contact dimensions and solver settings. - Compare compiled model arrays against master: collision exclusions (13 single-arm / 28 bimanual), other contact parameters, inertia, mimic and actuator parameters are unchanged. - Run each V1 entry for 1,000 steps with finite state and no MuJoCo warnings. This is a model smoke check, not a grasping-performance benchmark. - `git diff --check` passes. ## Dependencies Targets master independently. No dependency on #113–#116 or the external-control PR.
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.
The basic pedestal home keyframe places both J4 joints at 90 degrees but omits control targets, which default to zero on direct keyframe reset. Supply matching position targets without changing the home pose.
Changes
ctrlvalues topedestal.xml.Validation
Scope and dependencies
Targets
masterindependently; no dependency on the other split PRs or external-control PR #112. Split from the original combined #113; this PR contains only the change described above.