OmniGibson icon indicating copy to clipboard operation
OmniGibson copied to clipboard

Articulation root API can not be set while simulation is playing

Open hang-yin opened this issue 6 months ago • 1 comments

When you import a USD while the simulation is playing, the object gets loaded into PhysX before post_load can run, meaning it gets loaded with the articulation root API still on w/e prim it was on in the USD regardless of whether the USD is fixed or not, and you can't fix it without stopping (e.g. even if you move the articulation root API on the USD, physx remains unaware). We can hack this by removing the articulation root API from all of our USDs, then at load time we can pre-load it using the Usd library instead of loading it directly into Isaac, add the articulation root, and load that one into Isaac instead.

https://github.com/StanfordVL/OmniGibson/pull/819#discussion_r1712114946

hang-yin avatar Aug 16 '24 21:08 hang-yin