-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
自定义的xml 文件不在仿真环境显示 #548
Comments
who can do me a favor ? I'd appreciate it. |
I skimmed #164, but I think not doing collision detection is a tricky solution, and I think there would be a better solution? |
the "connect"sign in mujoco has the other replacement in genesis? |
Fixes Genesis-Embodied-AI#548 Add handling for `contype` and `conaffinity` attributes in the simulation environment. * Update `genesis/utils/mjcf.py` to parse `contype` and `conaffinity` attributes in the `parse_geom` function and set them to 0 if not specified. * Update `genesis/engine/entities/rigid_entity/rigid_entity.py` to handle `contype` and `conaffinity` attributes in the `_load_MJCF` method and pass them to the `RigidGeom` constructor.
我是设置了两套,一套用于可视化,把 contype 和 conaffinity 都设为0。另一套用于碰撞检测,contype, conaffinity都设为1。Genesis官方给的franka的xml文件也是用了类似设置,也可见这个issue里的中后段 #461 。虽然不知道为什么,但好像genesis里用于碰撞检测的几何体不能可视化,可视化的几何体不能用于碰撞检测。你可以先试试看。 |
my xml can be displayed in mujoco but not in genesis.
but i can see the Coordinate axis of every links in genesis
this is my xml:
`
The text was updated successfully, but these errors were encountered: