Module 5: Leveraging ROS 2 and Hardware-in-the-Loop (notes for Isaac Sim 6.1)#
You will learn to
- Explain hardware-in-the-loop (HIL)
- Prepare the Isaac Sim side for a Jetson

Concepts#
HIL vs SIL. In SIL the robot software runs on your workstation; in HIL it runs on the robot's real computer (Jetson), so you also test its timing, GPU load and networking — without risking the robot.
Simulated time. The simulator may run slower or faster than real time. Publishing /clock and
setting use_sim_time: true on the Jetson keeps every node on the simulator's clock.
Course pages: Leveraging ROS 2 and HIL in Isaac Sim: HIL fundamentals, Jetson overview, Jetson environment setup, deploying Isaac ROS on Jetson.
This module is mostly about the NVIDIA Jetson board (JetPack, Isaac ROS containers). Isaac Sim
plays the same role it did in Module 4: it publishes sensor topics and subscribes to /cmd_vel.
You need Jetson hardware to do it hands-on, so there's no checkpoint script.
Isaac Sim side: what to keep in mind with 6.1#
- Network: the Jetson and this PC must share a network, the same
ROS_DOMAIN_IDand the same RMW (rmw_fastrtps_cppby default). Test withros2 topic liston the Jetson while Isaac Sim is playing. - ROS distro: JetPack/Isaac ROS images are often Humble. If Jazzy (Isaac Sim) ↔ Humble (Jetson)
messages don't arrive, start Isaac Sim with
export ROS_DISTRO=humble(bundled libs for both distros are inexts/isaacsim.ros2.core/). - Sim time: add a clock publisher (Tools > Robotics > ROS 2 OmniGraphs > Clock, or
standalone_examples/api/isaacsim.ros2.bridge/clock.py) and setuse_sim_time: trueon the Jetson nodes. - Graphs: reuse lesson 4.1 (
/cmd_vel), lesson 1.4 (lidar) and lesson 4.3 (camera). The menu paths are all under Tools > Robotics > ROS 2 OmniGraphs in 6.1. - Navigation (Nav2): 6.1 ships ready-made scenes: Window > Examples > Robotics Examples →
ROS2 > Navigation, e.g.
carter_warehouse_navigation.usd.
Follow the course pages for the Jetson setup itself (JetPack, Docker, Isaac ROS).
Check your result#
| Do this | You should see |
|---|---|
On the Jetson: ros2 topic list |
Isaac Sim's topics (clock, scan, rgb) |
On the Jetson: ros2 topic hz /clock |
steady rate while Isaac Sim plays |
Exercises#
- Without a Jetson: run the 'Jetson side' in a second terminal (or Docker) on the same PC with
use_sim_time:=trueand check it follows/clock.
Quiz#
-
What does
use_sim_time: truedo?
Answer
Nodes use the /clock topic instead of the wall clock. -
Two settings that must match on both machines?
Answer
ROS_DOMAIN_ID and the RMW implementation.