Repository navigation
Align V1 fingertip contact settings with V2 - #118
Conversation
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. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Sync the V1 model with [openarm_description](https://github.com/enactic/openarm_description) `c710e19`, which refreshed the V1 meshes from the public CAD (enactic/openarm_description#152) and moved the gripper TCP 5 mm forward (enactic/openarm_description#153). ## Changes - **Visual meshes:** regenerate the link0–7, hand, finger and pedestal OBJs from the refreshed description DAEs. The new meshes keep the original mounting coordinates, so all geom offsets are unchanged. Fasteners present in the CAD are now included. - **Materials:** keep the simplified MuJoCo palette (`matte_black`, `metal_silver`, `default_material`). For each link, every description color takes the material the previous model showed on the same surface. Surfaces within 0.5 mm of an old visual are compared, so the overall look matches `master`. - **Normals:** write the description's 30° angle-limited normals into the OBJs as explicit `vn` entries, like the V2 OBJs. Without them MuJoCo averages normals across hard edges and produces uneven shading. - **Finger collision:** replace `collision/gripper/finger.stl` with the description's new 3,004-triangle closed shell. `hand.stl` is unchanged. - **TCP:** move `hand_tcp` from 90 mm to 95 mm in both the single and bimanual models, keeping its 5.5 mm offset from the 5 mm longer fingertip. Mass, inertia, joint origins and axes, limits, actuators and equality constraints are unchanged. ## Previews Each image shows `master` on the left and this PR on the right, with the same camera and pose. The red sphere marks the TCP. Images are hosted on the author's fork image branch and are not part of this PR's commits. | View | master → this PR | | --- | --- | | Bimanual |  | | Single arm |  | | Upper arm cover |  | | Gripper and TCP |  | ## Validation - `v1/scene.xml`, `v1/openarm.xml` and `v1/openarm_bimanual.xml` load. Each ran 1,000 steps with no warnings and no contacts at the home pose. - Compared with `master`, compiled body masses, inertias, joint positions, axes, ranges, actuator gains and equality data are identical. The only body change is the massless TCP position. - MuJoCo loads the authored normals (for example 18,608 normals for `link3_0`). - Single-arm grasp check with the #118 fingertip contact settings (`condim=4`, elliptic cone, `impratio=10`), closing on fixed 40 mm and 20 mm blocks: | Check | master (with #118) | This PR | | --- | --- | --- | | 40 mm block, finger positions | 20.59 / 20.82 mm | 20.67 / 20.90 mm | | 20 mm block, finger positions | 10.67 / 10.80 mm | 10.76 / 10.89 mm | | Max finger mismatch (40 / 20 mm) | 0.23 / 0.13 mm | 0.23 / 0.13 mm | | Closed fingers first touch at | ≈0.75 mm | ≈0.85 mm | Grasps hold without oscillation. The about 0.1 mm wider grip comes from the new finger shape. The fingers touching just before full closure already happens on `master`. - No tests were added. The existing `tests/test_launch.py` covers V2 only. ## Scope Targets `master` and is rebased onto #118. The finger collision geoms keep #118's `fingertip` class; its contact and solver settings are unchanged.
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
fingertipdefault inheriting the existing collision settings withcondim=4, and apply it to the two single-arm and four bimanual finger collision geoms.cone="elliptic"andimpratio="10"in both V1 robot definitions.v1/scene.xmlinherits these through its existing include.Validation
git diff --checkpasses.Dependencies
Targets master independently. No dependency on #113–#116 or the external-control PR; no collision mesh or origin changes are included.