Skip to content

Use decomposed V2 collision meshes from description - #103

Closed
stevenaya wants to merge 1 commit into
fix/v2-base-installationfrom
update/v2-collision-assets
Closed

stevenaya wants to merge 1 commit into
fix/v2-base-installationfrom
update/v2-collision-assets

Conversation

@stevenaya

@stevenaya stevenaya commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Superseded by #106, submitted from the author's fork.

Replace the coarse V2 collision meshes with the split assets from openarm_description. Depends on #102 and targets fix/v2-base-installation.

Changes

Component Collision pieces
Shoulder base 2
link2 / link3 3 each
link4, including cable covers 4
link5 9
link6 6
Each finger 5
Pedestal 6
ZED mount 2
  • Refresh link1 and retain the current single-piece gripper base. Add the ZED body's collision using its existing official mesh and pose.
  • Store assets under collision/arm, gripper, body, and zed_mount; update references and the existing left-mesh mirroring script.
  • Retain the Cell's rotated shoulder-base installation. Cell frame and lifter collisions are unchanged.
  • Collision STL storage decreases from 2.04 MiB to 1.08 MiB; input triangles decrease from 42,806 to 22,516, including mirrored copies.

The finger assets are five closed mesh pieces; MuJoCo evaluates each piece's convex hull separately.

Visual comparison

Before: #102 (a9d1753). After: 5828a81. Matching camera and joint poses; collision hulls are shown opaque. Colors distinguish finger pieces.

View Before After
Complete pedestal robot Robot collisions before Robot collisions after
Pedestal and head camera Pedestal collisions before Pedestal collisions after
Gripper and fingers Gripper collisions before Gripper collisions after

Validation

  • All 79 collision STLs are closed, consistently wound, and free of degenerate faces; 32 mirrored assets regenerate byte-for-byte.
  • All 21 V2 model/scene entries load. Robot, pedestal and Cell run 1,000 steps without warnings.
  • A 17-pose comparison preserves visual and camera transforms, body mass properties, mass matrices, bias forces and control parameters.
  • Existing Python tests (3), Web Node test files (4), and Ruff checks pass.

@github-actions

Copy link
Copy Markdown

@stevenaya stevenaya closed this Nov 13, 2026
@stevenaya
stevenaya deleted the update/v2-collision-assets branch November 13, 2026 11:13
kou pushed a commit that referenced this pull request Nov 18, 2026
Replaces #103; submitted from `stevenaya/openarm_mujoco`.

Replace the coarse V2 collision meshes with the split assets from
[openarm_description](https://github.com/enactic/openarm_description/tree/38c64af1dd6f3bc246883754875cbb4259dce0fc/assets).
Built on #105, which is now merged into `master`.

## Changes

| Component | Collision pieces |
| --- | ---: |
| Shoulder base | 2 |
| link2 / link3 | 3 each |
| link4, including cable covers | 4 |
| link5 | 9 |
| link6 | 6 |
| Each finger | 5 |
| Pedestal | 6 |
| ZED mount | 2 |

- Refresh link1 and retain the current single-piece gripper base. Add
the ZED body's collision using its existing official mesh and pose.
- Store assets under `collision/arm`, `gripper`, `body`, and
`zed_mount`; update references and the existing left-mesh mirroring
script.
- Retain the Cell's rotated shoulder-base installation. Cell frame and
lifter collisions are unchanged.
- Collision STL storage decreases from 2.04 MiB to 1.08 MiB; input
triangles decrease from 42,806 to 22,516, including mirrored copies.

The finger assets are five closed mesh pieces; [MuJoCo evaluates each
piece's convex
hull](https://mujoco.readthedocs.io/en/stable/XMLreference.html#asset-mesh)
separately.

## Base motor clearance

Restore the historical `Y = -61.5 mm` cutoff on the motor collision
piece. The CAD-derived split had reinstated the removed 1 mm nose,
causing a base/link1 overlap that blocked joint1 in fixed-base models.
Both right and mirrored-left meshes retain 316 triangles. The matching
source correction is [openarm_description
#140](enactic/openarm_description#140).

With collision filtering unchanged, both joint1s move to ±0.5 rad in
native MuJoCo 3.8.1 and Web 4.0.1. A 101-position sweep per side finds
no motor/link1 contact and at least 0.926 mm axial clearance.

## Visual comparison

Before: #105 (`3b90f8d`). After: `cabf000`. Matching camera and joint
poses; collision hulls are shown opaque. Colors distinguish finger
pieces.

| View | Before | After |
| --- | --- | --- |
| Complete pedestal robot | ![Robot collisions
before](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/c00d999d5fd9bc2babeb1fbaf46ab475a091de46/v2-collision/robot_before.png)
| ![Robot collisions
after](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/c00d999d5fd9bc2babeb1fbaf46ab475a091de46/v2-collision/robot_after.png)
|
| Pedestal and head camera | ![Pedestal collisions
before](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/c00d999d5fd9bc2babeb1fbaf46ab475a091de46/v2-collision/body_before.png)
| ![Pedestal collisions
after](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/c00d999d5fd9bc2babeb1fbaf46ab475a091de46/v2-collision/body_after.png)
|
| Gripper and fingers | ![Gripper collisions
before](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/c00d999d5fd9bc2babeb1fbaf46ab475a091de46/v2-collision/gripper_before.png)
| ![Gripper collisions
after](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/c00d999d5fd9bc2babeb1fbaf46ab475a091de46/v2-collision/gripper_after.png)
|

## Validation

- All 79 collision STLs are closed, consistently wound, and free of
degenerate faces; 32 mirrored assets regenerate byte-for-byte.
- Existing V2 model/scene entries and the Cell-specific bimanual entry
load. Robot, pedestal and Cell run 1,000 steps without warnings.
- A 17-pose comparison preserves visual and camera transforms, body mass
properties, mass matrices, bias forces and control parameters.
- Existing Python tests (3), Web Node test files (4), and Ruff checks
pass.

This branch had an error being deployed

1 failed deployment
github-pages — 5828a816 Deployed Nov 13, 2026 by stevenaya via Deploy #180
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