Skip to content

deps: unisim-core 1.4.0 and mjbatch-uni 0.2.1 - #1574

Merged
TATP-233 merged 1 commit into
mainfrom
deps/unisim-1.4.0-mjbatch-0.2.1
Sep 14, 2026
Merged

deps: unisim-core 1.4.0 and mjbatch-uni 0.2.1#1574
TATP-233 merged 1 commit into
mainfrom
deps/unisim-1.4.0-mjbatch-0.2.1

Conversation

@TATP-233

Copy link
Copy Markdown
Collaborator

Summary

  • 升级 unisim-core>=1.4.0(PyPI 最新版),并把 MuJoCo 执行器依赖固定为 mjbatch-uni~=0.2.1,与 unisim-core 1.4.0 的硬性执行器要求一致(unisim#71、mjbatch_uni#28)。
  • 同步更新 uv.lockuv.rocm.lock(rocm 锁按仓库 sync-rocm 流程生成并还原工作区)。
  • 更新钉住旧 unisim 内部行为的测试到已发布契约:_apply_pre_step_control 白盒 mock 补齐 1.4.0 的 _convert_pre_step_control 委托;_FakeMjBatch 支持 substep_sensor_copyout 协议参数并记录每子步 wrench channel;callback 路径的 xfrc 生命周期断言改为“每子步组合应用、调用结束清零”;IsaacGym/IsaacSim 诊断文案断言改为匹配 1.4.0 的 worker interpreter 可操作信息(unisim 8cab4d6 将提示从 setup 脚本改为 UNISIM_ISAAC*_HOME)。
  • 共享 changelog(docs/sphinx/source/changelog.md)Unreleased 下新增 Changed 条目(中英双语)。

unisim-core 1.4.0 关键内容

  • MJWarp 逐环境重力 reset(per-world opt.gravity 冷路径展开)。
  • 跨后端 body wrench/torque 契约补齐(mjwarp torque 通道 + interval body_torque,质心作用点,计划级暂存清理语义与 MuJoCo 对齐)。
  • set_pre_step_control 支持 PreStepControlOutput(ctrl + 动态 wrench):逐子步重算、与固定扰动叠加、调用结束清理;MuJoCo 路径使用 mjbatch 0.2.1 split-substep 传感器增量拷出(约 14x 于主机重算,轨迹逐位一致)。

Validation

  • make check 通过(format / type / check-tests)
  • make test 1519 passed, 27 skipped(升级前 7 failed,已全部修复)
  • uv lock --check 通过(主锁与 rocm 锁均含 unisim-core 1.4.0 + mjbatch-uni 0.2.1)

Bump unisim-core to >=1.4.0 (per-env gravity reset, cross-backend body
wrench/torque contract, PreStepControlOutput substep wrenches, and the
executor split-substep sensor copyout on the MuJoCo pre-step control
path) and pin mjbatch-uni to ~=0.2.1, matching unisim-core's hard
executor requirement. Update both lockfiles, refresh the tests that
pinned the previous executor callback protocol and Isaac worker
diagnostic text, and record the change in the shared changelog.
@TATP-233
TATP-233 merged commit c9dd8ee into main Sep 14, 2026
8 checks passed
@TATP-233
TATP-233 deleted the deps/unisim-1.4.0-mjbatch-0.2.1 branch September 14, 2026 13:32
@TATP-233 TATP-233 mentioned this pull request Sep 14, 2026
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