|
| 1 | +.. _isaac-lab-quick-installation: |
| 2 | + |
| 3 | +Quick Installation |
| 4 | +======================= |
| 5 | + |
| 6 | +``./isaaclab.sh -i`` installs everything needed to run with Newton Physics out of the box. |
| 7 | + |
| 8 | +.. code-block:: bash |
| 9 | + |
| 10 | + # Install uv |
| 11 | + curl -LsSf https://astral.sh/uv/install.sh | sh |
| 12 | + |
| 13 | + # Clone Isaac Lab |
| 14 | + git clone https://github.com/isaac-sim/IsaacLab.git |
| 15 | + cd IsaacLab |
| 16 | + |
| 17 | + # Create environment and install |
| 18 | + uv venv .venv --python 3.12 |
| 19 | + source .venv/bin/activate |
| 20 | + ./isaaclab.sh -i |
| 21 | + |
| 22 | + # Run training (Newton backend, 16 envs) |
| 23 | + ./isaaclab.sh -p scripts/reinforcement_learning/rsl_rl/train.py \ |
| 24 | + --task=Isaac-Cartpole-Direct-v0 \ |
| 25 | + --num_envs=16 --max_iterations=10 \ |
| 26 | + presets=newton --visualizer newton |
| 27 | + |
| 28 | + |
| 29 | +Running Tasks |
| 30 | +------------------- |
| 31 | + |
| 32 | +The ``presets=`` Hydra override selects the physics backend and renderer at runtime: |
| 33 | + |
| 34 | +.. code-block:: bash |
| 35 | + |
| 36 | + # Newton (Kit-less) |
| 37 | + ./isaaclab.sh -p scripts/reinforcement_learning/rsl_rl/train.py \ |
| 38 | + --task Isaac-Cartpole-Direct-v0 \ |
| 39 | + --num_envs 4096 \ |
| 40 | + presets=newton \ |
| 41 | + --visualizer newton |
| 42 | + |
| 43 | + # PhysX (Kit — requires Isaac Sim) |
| 44 | + ./isaaclab.sh -p scripts/reinforcement_learning/rsl_rl/train.py \ |
| 45 | + --task Isaac-Cartpole-Direct-v0 \ |
| 46 | + --num_envs 4096 \ |
| 47 | + presets=physx |
| 48 | + |
| 49 | + # Newton with a specific visualizer |
| 50 | + ./isaaclab.sh -p scripts/reinforcement_learning/rsl_rl/train.py \ |
| 51 | + --task Isaac-Cartpole-Direct-v0 \ |
| 52 | + --num_envs 4096 \ |
| 53 | + presets=newton \ |
| 54 | + --visualizer viser |
| 55 | + |
| 56 | +Kit-less visualizer options: ``newton``, ``rerun``, ``viser``. Multiple can be |
| 57 | +combined: ``--visualizer newton,rerun``. |
| 58 | + |
| 59 | +.. seealso:: |
| 60 | + |
| 61 | + - :doc:`/source/features/hydra` — Hydra presets and configuration overrides |
| 62 | + - :doc:`/source/features/visualization` — Visualizer backends and configuration |
| 63 | + - :doc:`/source/how-to/configure_rendering` — Rendering mode presets and settings |
| 64 | + - :ref:`isaaclab-installation-root` — Full installation guide with all methods |
| 65 | + |
| 66 | +Available Presets |
| 67 | +^^^^^^^^^^^^^^^^^ |
| 68 | + |
| 69 | +Presets are combined with commas: ``presets=newton,newton_renderer,depth``. |
| 70 | + |
| 71 | +.. code-block:: bash |
| 72 | + |
| 73 | + presets=newton,newton_renderer,rgb # presets=physics,renderer,render mode |
| 74 | + presets=newton,newton_renderer,depth |
| 75 | + presets=physx,isaacsim_rtx_renderer,rgb |
| 76 | + presets=physx,isaacsim_rtx_renderer,depth |
| 77 | + presets=physx,isaacsim_rtx_renderer,albedo |
| 78 | + presets=physx,isaacsim_rtx_renderer,simple_shading_constant_diffuse |
| 79 | + presets=physx,isaacsim_rtx_renderer,simple_shading_diffuse_mdl |
| 80 | + presets=physx,isaacsim_rtx_renderer,simple_shading_full_mdl |
| 81 | + presets=newton,ovrtx_renderer,rgb |
| 82 | + presets=newton,ovrtx_renderer,depth |
| 83 | + presets=newton,ovrtx_renderer,albedo |
| 84 | + presets=newton,ovrtx_renderer,simple_shading_constant_diffuse |
| 85 | + presets=newton,ovrtx_renderer,simple_shading_diffuse_mdl |
| 86 | + presets=newton,ovrtx_renderer,simple_shading_full_mdl |
0 commit comments