Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 23 additions & 5 deletions docs/source/how-to/multi_asset_spawning.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,18 +95,36 @@ For USD assets, assign :class:`~sim.spawners.wrappers.MultiUsdFileCfg` to the
:end-before: ##
:dedent: 4

To spawn SimReady props found by a search, assign :class:`~sim.spawners.wrappers.SimReadyUsdFileCfg`, a
:class:`~sim.spawners.wrappers.MultiUsdFileCfg` whose USD paths come from
:func:`~utils.assets.search_simready_usd_paths`. The search result is cached in a JSON file, and each prop's
rigid body is moved onto the spawned prim so that all props share one rigid-body layout. The ``simready``
object preset of the lift environments uses it, for example in the Kuka-Allegro lift environment:
SimReady assets
~~~~~~~~~~~~~~~

`SimReady <https://docs.omniverse.nvidia.com/simready/latest/index.html>`__ assets are USD assets prepared for
simulation, with metadata such as their mass and the SimReady features they pass. The SimReady deployment of the
`USD Search API <https://github.com/NVIDIA-Omniverse/usd-search>`__ finds them by description, size, mass and
feature; its request fields are listed in its `API reference <https://search.simready.omniverse.nvidia.com/docs/>`__.

In Isaac Lab, :func:`~utils.assets.search_simready_usd_paths` runs such a search and returns the matching USD
paths. To spawn the found assets as variants of one scene asset, assign
:class:`~sim.spawners.wrappers.SimReadyUsdFileCfg`, a :class:`~sim.spawners.wrappers.MultiUsdFileCfg` whose USD
paths come from that search. The search result is cached in a JSON file, and each asset's rigid body is moved onto
the spawned prim so that all assets share one rigid-body layout.

The Kuka-Allegro lift environment uses it in its ``simready`` object preset:

.. literalinclude:: ../../../source/isaaclab_tasks/isaaclab_tasks/core/lift/lift_env_cfg.py
:language: python
:start-at: simready = sim_utils.SimReadyUsdFileCfg(
:end-before: default = shapes
:dedent: 4

To train the Kuka-Allegro lift environment with SimReady assets, or play its published policy:

.. code-block:: bash

uv run isaaclab train --rl_library rsl_rl --task Isaac-Lift-KukaAllegro presets=simready
uv run isaaclab play --rl_library rsl_rl --task Isaac-Lift-KukaAllegro \
--checkpoint pretrained presets=simready

Variant compatibility
~~~~~~~~~~~~~~~~~~~~~

Expand Down
Loading