Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] How to obtain local copy of assets? #1307

Open
meghbhalerao opened this issue Oct 25, 2024 · 3 comments
Open

[Question] How to obtain local copy of assets? #1307

meghbhalerao opened this issue Oct 25, 2024 · 3 comments
Assignees

Comments

@meghbhalerao
Copy link

meghbhalerao commented Oct 25, 2024

Question

Hi, I am unable to find the xml or urdf files for the assets, for example cube, table etc. I see that the urdf files are located in a path which involves variables such as NUCLEUS_ASSET_ROOT_DIR and NVIDIA_NUCLEUS_DIR but this seems to be on an NVIDIA server -

NUCLEUS_ASSET_ROOT_DIR = carb.settings.get_settings().get("/persistent/isaac/asset_root/cloud")

and the assets seem to be referenced using the above path, as an example in this line -
spawn=UsdFileCfg(usd_path=f"{ISAAC_NUCLEUS_DIR}/Props/Mounts/SeattleLabTable/table_instanceable.usd"),

Is there some place in the code which has a collection of all assets, i.e the xml files or the urdf/'use' or mjcf files?
I see only the following files with .xml, .urdf extensions
Screenshot 2024-10-25 at 1 33 58 PM
Screenshot 2024-10-25 at 1 34 23 PM

For example IsaacGymEnvs seems to have a folder of assets https://github.com/isaac-sim/IsaacGymEnvs/tree/main/assets - is there something similar for Isaac-lab?

So, my question is -

  1. How do I get a copy of the assets locally, that is, on my local machine?

Thanks!

@meghbhalerao meghbhalerao changed the title [Question] Where are the assets located? [Question] Local copy of assets Oct 25, 2024
@meghbhalerao meghbhalerao changed the title [Question] Local copy of assets [Question] How to obtain local copy of assets? Oct 25, 2024
@jsmith-bdai
Copy link
Collaborator

Most of the robots used within Isaac Lab rely on USD files that are all hosted on the Nvidia Nucleus server.

You can use wget to download them. As an example for Cartpole (on Isaac Lab 1.2):

wget http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.2/Isaac/IsaacLab/Robots/Classic/Cartpole/cartpole.usd

You can determine the /Robots/Classic/Cartpole/cartpole.usd bit from the robot's ArticulationCfg within lab_assets, e.g. here

@jsmith-bdai
Copy link
Collaborator

I'll leave this open in case there's an easier way to do this

@jsmith-bdai jsmith-bdai self-assigned this Oct 28, 2024
@meghbhalerao
Copy link
Author

Thanks!
Could this be added somewhere in the documentation, for example, potentially here https://isaac-sim.github.io/IsaacLab/main/source/how-to/import_new_asset.html, since I don't think I could find this info in the docs -
Screenshot 2024-10-28 at 2 16 49 PM
Thanks again for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants