Skip to content

Call ParseMjcPhysicsMeshCollisionAPI() on visual prims that have an inertia attribute#3148

Open
LouRohanNV wants to merge 2 commits intogoogle-deepmind:mainfrom
LouRohanNV:usd-visual-prim-mesh-inertia
Open

Call ParseMjcPhysicsMeshCollisionAPI() on visual prims that have an inertia attribute#3148
LouRohanNV wants to merge 2 commits intogoogle-deepmind:mainfrom
LouRohanNV:usd-visual-prim-mesh-inertia

Conversation

@LouRohanNV
Copy link
Contributor

When converting hello_robot_stretch to USD, it creates a visual mesh (base_link_2) with collision disabled with mjc:inertia = "shell". Because the prim is visual, ParseMjcPhysicsMeshCollisionAPI() was not being called on it to decode this inertia property. If it doesn't have a shell inertia, the volume is too low, and it won't load in MuJoCo simulate.

This USD model demonstrates the issue:
hello_robot_stretch.zip

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