Skip to content

Account for ZED mount inertia in pedestal and Cell assemblies - #115

Merged
kou merged 1 commit into
enactic:masterfrom
stevenaya:fix/zed-mount-inertia
Nov 24, 2026
Merged

kou merged 1 commit into
enactic:masterfrom
stevenaya:fix/zed-mount-inertia

Conversation

@stevenaya

Copy link
Copy Markdown
Contributor

The V2 ZED mount has visual and collision geometry but no declared inertia. Add a fixed mount body in the pedestal and Cell assemblies using the existing description parameters.

Changes

  • Add a fixed openarm_body_zed_support_base_link in both pedestal and Cell assemblies, using description's declared mount mass and full inertia.
  • The mount contributes 0.13704 kg. Keep the Cell lifter itself at 2.82498 kg; lifter plus mount totals 2.96202 kg, excluding the arms.
  • Preserve visual/collision placement and named camera poses. The Cell mount and head cameras continue to move with the lifter.
  • No additional camera-body mass is guessed: the source camera description does not declare it separately. This synchronizes model parameters, not a new physical weighing.

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: The unchanged mount-only patch was checked at nine configurations per assembly, including Cell lift heights of 0, 0.1 and 0.3 m. Geometry, named camera poses and contacts are preserved. The lift mass-matrix entry increases by 0.13704 kg and its gravity term by 1.3443624 N. Pedestal arm dynamics remain unchanged; both assemblies ran 1,000 steps without warnings.
  • 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. Split from the original combined #113; this PR contains only the change described above.

Copilot AI balanced review requested due to automatic review settings November 21, 2026 22: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.

@github-actions

Copy link
Copy Markdown

@stevenaya
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 pedestal collision coverage
before](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/5ef481aea374b6281deea4b0ad30baacf41d663b/pedestal-collision-700/v1_body_before.png)
| ![V1 pedestal collision coverage
after](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/5ef481aea374b6281deea4b0ad30baacf41d663b/pedestal-collision-700/v1_body_after.png)
|
| V1 robot context | ![V1 robot context
before](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/5ef481aea374b6281deea4b0ad30baacf41d663b/pedestal-collision-700/v1_robot_before.png)
| ![V1 robot context
after](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/5ef481aea374b6281deea4b0ad30baacf41d663b/pedestal-collision-700/v1_robot_after.png)
|
| V2 chest hull close-up | ![V2 chest hull close-up
before](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/5ef481aea374b6281deea4b0ad30baacf41d663b/pedestal-collision-700/v2_chest_before.png)
| ![V2 chest hull close-up
after](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/5ef481aea374b6281deea4b0ad30baacf41d663b/pedestal-collision-700/v2_chest_after.png)
|
| V2 robot context | ![V2 robot context
before](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/5ef481aea374b6281deea4b0ad30baacf41d663b/pedestal-collision-700/v2_robot_before.png)
| ![V2 robot context
after](https://raw.githubusercontent.com/stevenaya/openarm_mujoco/5ef481aea374b6281deea4b0ad30baacf41d663b/pedestal-collision-700/v2_robot_after.png)
|


## 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).
@kou
kou merged commit 61b5f0c into enactic:master Nov 24, 2026
11 checks passed
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