Skip to content

Correct V2 pedestal base orientation and preserve Cell mounting - #105

Merged
kou merged 1 commit into
enactic:masterfrom
stevenaya:fix/v2-base-installation
Nov 17, 2026
Merged

kou merged 1 commit into
enactic:masterfrom
stevenaya:fix/v2-base-installation

Conversation

@stevenaya

@stevenaya stevenaya commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Replaces #102; submitted from stevenaya/openarm_mujoco.

The standard V2 pedestal currently uses the Cell's 180° Y rotation for both shoulder bases. Use the unflipped installation on the pedestal while retaining the existing Cell mounting.

Built on #104, which is now merged into master.

Changes

  • Remove the pedestal base visual and collision rotation, and transform each base's COM and inertia orientation accordingly.
  • Add two base_link_*_y180.obj variants for the Cell, rotating both vertices and normals.
  • Preserve base_link → link1 on both arms. Standard and Cell bimanual entries define their own fixed bases and include the same left/right arm chains.
  • Share mesh, material, default, actuator and equality definitions through openarm_bimanual_common.xml.
  • Add native XML include loading to the existing Web asset walker and list the new XML dependencies in the Python path helper.

Visual comparison

Before: #104 (7ab41da). After: e0d5587. Each pair uses the same camera, joint pose and lighting. Isolated close-ups hide surrounding links and disable shadows on both sides.

View Before After
Pedestal shoulder assembly Pedestal shoulder assembly before Pedestal shoulder assembly after
Pedestal bases (isolated) Pedestal bases (isolated) before Pedestal bases (isolated) after
Cell bases: existing orientation retained Cell bases: existing orientation retained before Cell bases: existing orientation retained after

Validation

  • Existing V2 scenes and both bimanual entries load. Existing Python tests (3), Web Node test files (4, MuJoCo 4.0.1), Ruff and Biome checks pass; test files are unchanged.
  • Across 17 poses, joint frames and axes are preserved. The Cell's base mass properties and collision placement are unchanged; the pedestal base collision meshes match the intended rotation.
  • The hierarchy correction preserves geometry, camera poses, inertias, contact pairs, mass matrices and bias forces across 17 poses. Each link1 is again a child of its base_link; joint, actuator and equality counts are unchanged.

Copilot AI balanced review requested due to automatic review settings November 13, 2026 11:05
@github-actions

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

kou pushed a commit that referenced this pull request Nov 16, 2026
Replaces #101; submitted from `stevenaya/openarm_mujoco`.

Refresh the V2 arm, pinch-gripper and pedestal visuals from
openarm_description, retaining the source geometry and smooth normals.

## Changes

- Update the arm and gripper OBJ/MTL assets, including link4 cable
covers, gray finger pads and the gripper camera parts.
- Replace the pedestal's single visual STL with six material groups and
add the head-camera mount.
- Add the official 1,510-triangle ZED Mini mesh with its source revision
recorded beside the MJCF reference.
- Set the pedestal preview to a front-side view: azimuth 160°, elevation
−10°, look-at `(0, 0, 0.48)`, and extent 1.7 m.

## Visual comparison

Before: `1daab06`. After: `2a30a03`. Each pair uses the same camera,
joint pose and lighting. Isolated close-ups hide surrounding links and
disable shadows on both sides.

| View | Before | After |
| --- | --- | --- |
| Complete pedestal robot | ![Complete pedestal robot
before](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/879e155bc47a8d6bf8f1df1b0b7461cb9427802b/pr101/robot_before.png)
| ![Complete pedestal robot
after](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/879e155bc47a8d6bf8f1df1b0b7461cb9427802b/pr101/robot_after.png)
|
| Chest cover and head camera | ![Chest cover and head camera
before](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/879e155bc47a8d6bf8f1df1b0b7461cb9427802b/pr101/chest_camera_before.png)
| ![Chest cover and head camera
after](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/879e155bc47a8d6bf8f1df1b0b7461cb9427802b/pr101/chest_camera_after.png)
|
| link4 cable covers (isolated) | ![link4 cable covers (isolated)
before](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/879e155bc47a8d6bf8f1df1b0b7461cb9427802b/pr101/link4_before.png)
| ![link4 cable covers (isolated)
after](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/879e155bc47a8d6bf8f1df1b0b7461cb9427802b/pr101/link4_after.png)
|
| Gripper and fingers (isolated) | ![Gripper and fingers (isolated)
before](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/879e155bc47a8d6bf8f1df1b0b7461cb9427802b/pr101/gripper_before.png)
| ![Gripper and fingers (isolated)
after](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/879e155bc47a8d6bf8f1df1b0b7461cb9427802b/pr101/gripper_after.png)
|
| Gripper camera (isolated, opposite side) | ![Gripper camera (isolated,
opposite side)
before](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/879e155bc47a8d6bf8f1df1b0b7461cb9427802b/pr101/gripper_camera_before.png)
| ![Gripper camera (isolated, opposite side)
after](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/879e155bc47a8d6bf8f1df1b0b7461cb9427802b/pr101/gripper_camera_after.png)
|

## Validation

- All 21 V2 model and scene entries load in MuJoCo 3.8.1.
- Existing Python tests (3) and Web Node test files (4) pass.
- A 17-pose comparison of the shared robot, pedestal and Cell preserves
joint transforms, collision placement, mass matrices and bias forces.

The base-installation correction is split into #105.
@stevenaya
stevenaya force-pushed the fix/v2-base-installation branch from a9d1753 to 71567ef Compare November 16, 2026 17:54
Copilot AI balanced review requested due to automatic review settings November 16, 2026 17:54
@stevenaya
stevenaya marked this pull request as ready for review November 16, 2026 17:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@stevenaya
stevenaya force-pushed the fix/v2-base-installation branch from 71567ef to e0d5587 Compare November 17, 2026 07:27
Copilot AI balanced review requested due to automatic review settings November 17, 2026 07:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@kou
kou merged commit 3b90f8d into enactic:master Nov 17, 2026
10 checks passed
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.
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.

3 participants