Repository navigation
Replies: 2 comments 1 reply
|
Thanks for posting this. Is your asset instanceable as set in the USD? |
|
The warning appears because the asset is instanceable. You have three ways to fix it: 1. Generate the USD non-instanceable (when it comes from URDF/MJCF through Isaac Lab's converter): sim_utils.UrdfFileCfg(
asset_path="robot.urdf",
make_instanceable=False, # AssetConverterBaseCfg, default True
collision_props=sim_utils.CollisionPropertiesCfg(contact_offset=0.005, rest_offset=0.0),
...
)2. Un-instance an existing USD once, offline, then keep using from pxr import Usd
stage = Usd.Stage.Open("robot.usd")
inst = [p for p in stage.Traverse() if p.IsInstance()]
for p in inst:
p.SetInstanceable(False)
stage.GetRootLayer().Export("robot_noninstanced.usd")3. Keep instancing and author the value in the source. Set Options 1 and 2 cost some memory and load time for many environments, because meshes are no longer shared. Option 3 keeps instancing. To check: after the change the warning is gone. In the stage you should see |
Uh oh!
There was an error while loading. Please reload this page.
how to set contact_offset params for isaacsim 4.5, i always meet the problem "Could not perform 'modify_collision_properties' on any prims under: '/World/envs/env_0/Robot'.", when i try to set the contact_offset for a custom robots. Thanks advance for your kind help?
All reactions