Skip to content

fix: prevent Finger solver panic at zero-depth contacts - #194

Merged
wlgys8 merged 1 commit into
Motphys:mainfrom
Jiaxi-Huang:fix/finger-zero-depth-contact
Nov 27, 2026
Merged

wlgys8 merged 1 commit into
Motphys:mainfrom
Jiaxi-Huang:fix/finger-zero-depth-contact

Conversation

@Jiaxi-Huang

Copy link
Copy Markdown
Collaborator

修复内容

  • Finger Spin、Turn Easy 和 Turn Hard 在 CPU 仿真中遇到零深度接触时,可触发 MotrixSim 1.0.0 稀疏约束求解器的 NaN panic。
  • 将四个 Finger 模型的接触阻抗下限设为 MuJoCo 使用的 0.0001。保持原有碰撞几何。
  • 用 Turn Easy 的单实例状态添加回归测试。该状态在第二个物理子步产生零深度接触。

验证

  • 三个任务的故障批次重放通过,求解器状态码均为 0。
  • 基于 main 的独立分支上,MotrixSim 后端和 DirectEnv 快测共 94 项通过,prek run --all-files 通过。

Use the MuJoCo impedance floor in Finger assets so MotrixSim CPU can solve zero-depth contacts. Preserve the captured Turn Easy state as a regression test.
@Jiaxi-Huang Jiaxi-Huang changed the title fix(envs): prevent Finger solver panic at zero-depth contacts fix: prevent Finger solver panic at zero-depth contacts Nov 27, 2026
@wlgys8
wlgys8 merged commit f75070d into Motphys:main Nov 27, 2026
12 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.

2 participants