I am trying to spawn a deformable object to be picked up by franka in a scene that will be replicated in mulitple environments but I am getting the error " Error in ‘pxrInternal_v0_22__pxrReserved__::UsdStage::_IsValidPathForCreatingPrim’ at line 3340 in file W:\ac88d7d902b57417\USD\pxr\usd\usd\stage.cpp : ‘Path must be an absolute path: <>’"
The relevant code can be found below:
class FrankaEnvCfg(InteractiveSceneCfg):
“”“Configuration for an environment with Franka and a rigid object.”“”
ground = AssetBaseCfg(prim_path=“/World/defaultGroundPlane”, spawn=sim_utils.GroundPlaneCfg())
dome_light = AssetBaseCfg(prim_path=“/World/Light”, spawn=sim_utils.DomeLightCfg(intensity=3000.0, color=(0.75, 0.75, 0.75)))
franka_1 = FRANKA_PANDA_HIGH_PD_CFG.replace(prim_path=“{ENV_REGEX_NS}/Franka1”)
prim_utils.create_prim("{ENV_REGEX_NS}/deform","Xform",translation=[0.35,0,0])
cone_1 = DeformableObjectCfg(
prim_path="{ENV_REGEX_NS}/deform/Cone1",
spawn=sim_utils.MeshCuboidCfg(
size=(0.2, 0.2, 0.2),
deformable_props=sim_utils.DeformableBodyPropertiesCfg(rest_offset=0.0, contact_offset=0.001),
visual_material=sim_utils.PreviewSurfaceCfg(diffuse_color=(0.5, 0.1, 0.0)),
physics_material=sim_utils.DeformableBodyMaterialCfg(poissons_ratio=0.4, youngs_modulus=1e5),
),
init_state=DeformableObjectCfg.InitialStateCfg(pos=(0.35, 0.0, 0.0)),
debug_vis=True,
)