IsaacLab icon indicating copy to clipboard operation
IsaacLab copied to clipboard

[Question] How to add a new robot to ISAAC_NUCLEUS_DIR ?

Open tesollo-admin opened this issue 1 year ago • 1 comments

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.

tesollo-admin avatar May 30 '25 01:05 tesollo-admin

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",

tesollo-admin avatar May 30 '25 08:05 tesollo-admin