Skip to content

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

Closed
stevenaya wants to merge 1 commit into
update/v2-visual-assetsfrom
fix/v2-base-installation
Closed

stevenaya wants to merge 1 commit into
update/v2-visual-assetsfrom
fix/v2-base-installation

Conversation

@stevenaya

@stevenaya stevenaya commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

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

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.

Depends on #101. This PR targets update/v2-visual-assets so its diff contains only the installation changes.

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.
  • Group both moving arm chains under one fixed openarm_arm_chains body. The Cell attaches that subtree once and supplies its own fixed bases, keeping one shared arm definition.

Visual comparison

Before: #101 (2a30a03). After: a9d1753. 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

  • All 21 V2 model and scene entries load; existing Python tests (3) and Web Node test files (4) pass.
  • 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.
  • Generalized mass matrices and bias forces agree within numerical precision. Joint, actuator and equality counts are unchanged.

@github-actions

Copy link
Copy Markdown

@stevenaya stevenaya closed this Nov 13, 2026
@stevenaya
stevenaya deleted the fix/v2-base-installation branch November 13, 2026 11:13
kou pushed a commit that referenced this pull request Nov 17, 2026
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](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/879e155bc47a8d6bf8f1df1b0b7461cb9427802b/pr102/shoulders_before.png)
| ![Pedestal shoulder assembly
after](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/879e155bc47a8d6bf8f1df1b0b7461cb9427802b/pr102/shoulders_after.png)
|
| Pedestal bases (isolated) | ![Pedestal bases (isolated)
before](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/879e155bc47a8d6bf8f1df1b0b7461cb9427802b/pr102/bases_before.png)
| ![Pedestal bases (isolated)
after](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/879e155bc47a8d6bf8f1df1b0b7461cb9427802b/pr102/bases_after.png)
|
| Cell bases: existing orientation retained | ![Cell bases: existing
orientation retained
before](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/879e155bc47a8d6bf8f1df1b0b7461cb9427802b/pr102/cell_bases_before.png)
| ![Cell bases: existing orientation retained
after](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/879e155bc47a8d6bf8f1df1b0b7461cb9427802b/pr102/cell_bases_after.png)
|

## 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.

This branch had an error being deployed

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