Repository navigation
Conversation
Register the 31-joint humanoid, add a reproducible GLB asset preparation script with W1 plastics, and cover the catalog and source model contracts.
Confidence Score: 5/5
[Medium impact] The reviewed changes appear safe to merge, with a non-blocking issue when reopening saved white H1 configs. Findings
Fix with agent prompt### Issue 1
embodichain/extensions/robots/dexforce/h1/cfg.py:104-105
`DexforceH1Cfg.to_dict()` replaces the white model's `fpath` with the yellow source path, but does not save a `class_type` that selects the H1 loader. Opening the saved file with `preview-robot --robot-config` then uses `RobotCfg.from_dict()`, which ignores `appearance` and loads the yellow model.
Preserve the derived asset path for standalone loading, or save enough information to select the H1 loader.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.SummaryAdds the 31-joint
Reviews (2) · Last reviewed commit: "Add white appearance to DexForce H1 (#13..." · Reviewed by Greptile |
| if self._appearance_source is not None: | ||
| fields["fpath"] = self._appearance_source |
There was a problem hiding this comment.
Saved white shell turns yellow
DexforceH1Cfg.to_dict() replaces the white model's fpath with the yellow source path, but does not save a class_type that selects the H1 loader. Opening the saved file with preview-robot --robot-config then uses RobotCfg.from_dict(), which ignores appearance and loads the yellow model.
Preserve the derived asset path for standalone loading, or save enough information to select the H1 loader.
Prompt To Fix With AI
This is a comment left during a code review.
Path: embodichain/extensions/robots/dexforce/h1/cfg.py
Line: 104-105
Comment:
**Saved white shell turns yellow**
`DexforceH1Cfg.to_dict()` replaces the white model's `fpath` with the yellow source path, but does not save a `class_type` that selects the H1 loader. Opening the saved file with `preview-robot --robot-config` then uses `RobotCfg.from_dict()`, which ignores `appearance` and loads the yellow model.
Preserve the derived asset path for standalone loading, or save enough information to select the H1 loader.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.
Description
Register the 31-joint DexForce H1 as
DexforceH1in the robot and asset catalogs. The preset exposes six joint groups and numerical FK/IK for both wrists.The asset preparation script preserves the source joint and inertial data, converts capsule lengths for the DexSim importer, and applies W1 V030's yellow and dark plastic parameters to the H1 GLBs. The H1 page documents the preset, simulator defaults, and offline installation.
The default
dexforce_h1/h1.ziparchive URL currently returns HTTP 404. The offline preparation and cache paths are available for review while the archive is prepared for publication.Type of change
Local policy reproduction
The local demo bundle is at
~/Downloads/h1_pick_and_carry_demo/h1_pick_and_carry/. Itsh1_pick_and_carry.ptbundles the fitted task parameters and the existing TorchScript gait. From the bundle directory,python play.py --headlessruns the reference MuJoCo demo after its requirements are installed.For the EmbodiChain replay, use the local checkout that contains
examples/sim/demo/h1_pick_and_carry/and a Python environment withmujoco-usd-converter. The command below uses the local reference layout and DexUni's CPU rigid branch.The local run released the box into the basket in 742 control steps (14.84 s). The demo workspace owns the replay runner and checkpoint.
Screenshots
OfflineRT capture of the default H1 pose with W1 V030 body plastics. The H1 model page includes the render settings and downloadable manifest.
Validation
git diff --check.Checklist
black .command to format the code base.python docs/scripts/check_api_docs.py), if applicable.