[Question] How to add a new robot to ISAAC_NUCLEUS_DIR ?
Hi all,
I’m trying to run a teleoperation and imitation learning task using my own robot inside a Docker container. However, I’m getting the following error when trying to open a USD file. The file opens fine outside of Docker, but fails inside Docker.
Error: Error in 'pxrInternal_v0_22__pxrReserved__::UsdStage::Open' at line 893 in file /builds/omniverse/usd-ci/USD/pxr/usd/usd/stage.cpp : 'Failed to open layer @/IsaacLab/scripts/tools/source/isaaclab_assets/data/Robots/my_robot/my_robot.usd@'
Is this a known issue, or is there a recommendation to handle this? Could it be a Docker-related path or permissions problem?
Thank you in advance.
Solved.
ISAACLAB_PATH = os.getenv("ISAACLAB_PATH", os.path.dirname(os.path.dirname(os.path.dirname(file))))
from isaaclab.utils.assets import ISAAC_NUCLEUS_DIR, ISAACLAB_PATH usd_path = f"{ISAACLAB_PATH}/scripts/tools/source/isaaclab_assets/data/Robots/my_robot/my_robot.usd",