00 · Setup¶
Goal. Install Isaac Sim 6.2, start the ROS 2 Jazzy container, and check that the two can talk to each other.
What you will install¶
flowchart LR
subgraph PC["Your PC (Ubuntu 24.04)"]
subgraph venv[".venv (Python 3.12)"]
IS["Isaac Sim 6.2<br/>(pip package)<br/>+ bundled ROS 2 Jazzy libs"]
end
subgraph docker["Docker container: lime_ros_jazzy"]
ROS["ROS 2 Jazzy<br/>RViz · Nav2 · MoveIt 2 · YOLO"]
end
end
IS <-- "DDS over the host network<br/>/clock /cmd_vel /tf /scan ..." --> ROS
- Isaac Sim runs directly on your PC, from a Python virtual environment inside this repository. It brings its own copy of the ROS 2 Jazzy libraries, so its ROS 2 bridge works without a ROS install.
- ROS 2 Jazzy runs in a Docker container: RViz, Nav2, MoveIt 2, ros2_control, the YOLO node and the TurtleBot3 Lime packages. It shares your PC's network, so ROS 2 nodes on both sides find each other.
Requirements¶
| OS | Ubuntu 24.04 (22.04 is not tested) |
| GPU | NVIDIA RTX with 12 GB of VRAM or more (tested: RTX 5080 with 16 GB) |
| Driver | a recent NVIDIA driver (tested: 580.178) |
| Disk | ~40 GB (Isaac Sim ≈ 24 GB, ROS container image ≈ 9 GB) |
| Software | git, curl, Docker (run without sudo) |
Why 12 GB, when NVIDIA asks for 16? NVIDIA's
Isaac Sim requirements list
16 GB as the minimum for Isaac Sim in general, including much bigger scenes. The scenes here are small: one room,
one camera, one LiDAR. On the test PC, Isaac Sim used at most about 3.5 GB of VRAM in the heaviest tutorials
(13, 14 and 16, measured with nvidia-smi), so 12 GB leaves room for your desktop, a browser and RViz. It has not
been tried on a 12 GB card yet; if you have one, please
open an issue and say how it went.
1. Get the repository¶
2. Install Isaac Sim 6.2¶
The script:
- creates a Python 3.12 virtual environment in
.venv/(using uv); - runs
pip install "isaacsim[all,extscache]==6.2.0.0" --extra-index-url https://pypi.nvidia.com(several GB); - installs
imageio-ffmpeg, which the tutorials use to save videos; - adds a small fix for the GUI app (see Troubleshooting).
Prefer the official zip / workstation install? (not tested here)
It should work, but these tutorials were verified only with the pip install. Wherever these tutorials say python isaac/xx.py, use ~/isaacsim/python.sh isaac/xx.py.
isaac-sim.sh sets up the bundled ROS 2 libraries by itself, so you can skip scripts/isaac_env.sh.
You still need the DDS variables from that file (ROS_DOMAIN_ID, RMW_IMPLEMENTATION, Fast DDS profile).
3. Prepare a terminal for Isaac Sim¶
Do this in every new terminal in which you start Isaac Sim:
It activates .venv and sets four things:
| Variable | Why |
|---|---|
ROS_DISTRO=jazzy, LD_LIBRARY_PATH=…/isaacsim.ros2.core/jazzy/lib |
Isaac Sim loads its bundled ROS 2 Jazzy libraries. A pip install has no isaac-sim.sh launcher to do this, and it must happen before Isaac Sim starts. |
RMW_IMPLEMENTATION=rmw_fastrtps_cpp, FASTDDS_DEFAULT_PROFILES_FILE |
The same DDS settings as the container (UDP only), so topics flow between them. |
ROS_DOMAIN_ID (default 0) |
Must match the container. |
It also removes any ROS environment you sourced before (for example /opt/ros/jazzy), so Isaac Sim never mixes a system ROS with its own libraries.
Start the Isaac Sim GUI with:
The first start takes a few minutes while shaders compile. Later starts take seconds.

World and Environment in the Stage panel. Tutorial 01 explains the window. You can close it again for now.4. Start the ROS 2 Jazzy container¶
The first call builds the image lime_ros_jazzy from docker/ros_jazzy/Dockerfile (10–20 min), then opens a shell
inside the container with ROS 2 sourced. Later calls reuse the running container named lime_ros.
Slow apt downloads while building?
Choose an Ubuntu mirror close to you from the official mirror list
and give its full URL. It replaces both archive.ubuntu.com and security.ubuntu.com:
UBUNTU_MIRROR=http://ftp.udx.icscoe.jp/Linux/ubuntu/. This only matters the first
time, while the image is built.
Want ROS 2 natively instead of Docker? (not tested here)
These tutorials were verified only with the container. On Ubuntu 24.04 you can install the same packages the Dockerfile installs:
sudo apt install ros-jazzy-desktop ros-jazzy-navigation2 ros-jazzy-nav2-bringup ros-jazzy-slam-toolbox ros-jazzy-moveit ros-jazzy-ros2-control ros-jazzy-ros2-controllers ros-jazzy-gripper-controllers ros-jazzy-joint-state-topic-hardware-interface ros-jazzy-xacro ros-jazzy-realsense2-description ros-jazzy-vision-msgs ros-jazzy-cv-bridge ros-jazzy-teleop-twist-keyboard ros-jazzy-py-trees ros-jazzy-py-trees-ros.
Then use the same ROS_DOMAIN_ID, RMW_IMPLEMENTATION and Fast DDS profile as scripts/isaac_env.sh.
Never source /opt/ros/jazzy in the terminal that runs Isaac Sim.
5. Check that everything talks¶
Terminal 1, Isaac Sim (headless, no window needed):
Terminal 2, ROS 2 container:
You should see:
That message was produced by an Action Graph in Isaac Sim and received by ROS 2 in the container. 🎉
The script: isaac/00_check_setup.py
# SPDX-FileCopyrightText: 2026 An (an-robotics)
# SPDX-License-Identifier: Apache-2.0
"""Tutorial 00 - Check the setup: Isaac Sim starts, the ROS 2 bridge loads, /clock reaches ROS 2.
source scripts/isaac_env.sh
python isaac/00_check_setup.py --headless
# while it runs, in another terminal:
./docker/run_ros.sh ros2 topic echo /clock --once
The script publishes the simulation time on /clock for 60 seconds (or until you close the window).
If the container prints a clock message, Isaac Sim and ROS 2 can talk to each other.
"""
import sys
from common.cli import parse_args
args = parse_args(__doc__.splitlines()[0])
from isaacsim import SimulationApp
simulation_app = SimulationApp({"headless": args.headless})
import carb
import isaacsim.core.experimental.utils.app as app_utils
import isaacsim.core.experimental.utils.stage as stage_utils
from isaacsim.core.simulation_manager import SimulationManager
# 1. Enable the ROS 2 bridge. If the bundled ROS 2 libraries cannot be loaded, Isaac Sim logs
# "ROS2 Bridge startup failed" - see the Troubleshooting page.
app_utils.enable_extension("isaacsim.ros2.bridge")
settings = carb.settings.get_settings()
settings.set("/app/runLoops/main/rateLimitEnabled", True) # run in real time (60 Hz)
settings.set("/app/runLoops/main/rateLimitFrequency", 60)
simulation_app.update()
import omni.graph.core as og
# 2. A minimal Action Graph: every frame, publish the simulation time on /clock.
stage_utils.create_new_stage(template="empty")
keys = og.Controller.Keys
og.Controller.edit(
{"graph_path": "/World/ClockGraph", "evaluator_name": "execution"},
{
keys.CREATE_NODES: [
("OnPlaybackTick", "omni.graph.action.OnPlaybackTick"),
("ReadSimTime", "isaacsim.core.nodes.IsaacReadSimulationTime"),
("PublishClock", "isaacsim.ros2.bridge.ROS2PublishClock"),
],
keys.CONNECT: [
("OnPlaybackTick.outputs:tick", "PublishClock.inputs:execIn"),
("ReadSimTime.outputs:simulationTime", "PublishClock.inputs:timeStamp"),
],
},
)
# 3. Press Play - ROS 2 topics are only published while the simulation is playing.
SimulationManager.setup_simulation(dt=1.0 / 60.0)
app_utils.play()
print("[00] publishing /clock - run: ./docker/run_ros.sh ros2 topic echo /clock --once", flush=True)
received = []
if args.test:
# Self-check: listen to /clock with the rclpy that ships with Isaac Sim (loaded by the bridge).
import rclpy
from rosgraph_msgs.msg import Clock
rclpy.init()
node = rclpy.create_node("lime_setup_check")
node.create_subscription(Clock, "/clock", lambda msg: received.append(msg.clock.sec + msg.clock.nanosec * 1e-9), 10)
frames = 0
while simulation_app.is_running() and frames < 60 * 60:
simulation_app.update()
frames += 1
if args.test:
rclpy.spin_once(node, timeout_sec=0.0)
if len(received) > 10 or frames > 600:
break
ok = True
if args.test:
ok = len(received) > 10
last = f"{received[-1]:.2f} s" if received else "-"
print(f"[00][test] received {len(received)} /clock messages (last: {last}) -> {'PASS' if ok else 'FAIL'}")
node.destroy_node()
rclpy.shutdown()
app_utils.stop()
simulation_app.close(exit_code=0 if ok else 1)
sys.exit(0 if ok else 1)
Automatic check
python isaac/00_check_setup.py --headless --test subscribes to /clock from inside Isaac Sim
and prints [00][test] ... PASS.
Troubleshooting¶
| Symptom | Fix |
|---|---|
ROS2 Bridge startup failed … libament_index_cpp.so |
You did not source scripts/isaac_env.sh in this terminal, or you sourced /opt/ros/... after it. |
ros2 topic list shows /clock but echo prints nothing |
DDS mismatch: same ROS_DOMAIN_ID on both sides? Firewall blocking UDP? |
| Isaac Sim window is black for a long time | The first start compiles shaders (several minutes). Wait. |
More in Troubleshooting.