Skip to content

Power-Stow/zed-isaac-sim

 
 

Repository files navigation

zed-isaac-sim

ISAAC Sim integration for ZED SDK.

The ZED camera extension streams your virtual ZED camera data to the ZED SDK.

Getting Started

Requirements

Installation

  1. Clone the repository
  2. Run ./build.bat on Windows or ./build.sh on Linux to build the extension.

Usage

  1. Launch Isaac Sim
  2. Open Window -> Extensions from the top menu
  3. In the Extensions manager window (hamburger button near search field), open Settings.
  4. Click the "+" button and add the path to your cloned repo + /exts



  1. Enable the ZED Camera extension in the Third-Party tab.



Then, In your scene,

  1. Add a ZED Camera (mono or stereo)



  1. Create a new Action Graph similar to this :



  • To stream a monocular camera (ZED X One cameras), use the ZED One Camera Helper Node instead: Note : the serial number input is only used for Virtual stereo cameras

Using IPC

It is now possible to stream images to the ZED SDK using IPC instead of RTSP. This feature is only available on Linux and only when streaming to the same machine.

To use IPC:

  • In the action graph, enable the "IPC" option in the ZED Camera Helper node. It is enabled by default.

Once streaming has started, you should see the following message in the console window:



Important:

To receive a stream using IPC, the IP address must be set to 127.0.0.1 or localhost.

For example, in ZED Explorer:

  • Set the IP to 127.0.0.1



  • On the top-left corner, the streaming mode will be displayed:

Create a Virtual stereo Camera

It is also possible to create what we call "Virtual stereo cameras" by pairing two ZED X One cameras together. In order to do that, a calibration step is required.

  • First, open the Extension windows and enable the ZED Calibration Exporter extension in the Third-Party tab.
  • In the top Menu bar, Click ZED -> ZED Calibration Exporter. A new window will open.
  • Set the left and right cameras by selecting each prim in the Stage and click Select.
  • Select the Camera model.
  • Change the Serial Number if necessary.
  • Click on Generate. A calibration file (.conf) will be generated and saved on your machine.





  • Then, in your action graph, add a ZED Camera One Helper and set the left and right cameras.
  • You also need to set the serial number chosen during the calibration process.

Colcon Integration

When built as the ROS 2 package zed_isaac_sim, the CMake wrapper only runs build.sh if a git-based fingerprint has changed. The fingerprint is based on:

  • current HEAD commit hash (git rev-parse HEAD)
  • hash of tracked file changes (git diff --binary HEAD)
  • hash of untracked file contents (git ls-files --others --exclude-standard + git hash-object)

During the same colcon build step, .conf files from:

  • exts/sl.sensor.camera/data/config

are copied to:

  • /usr/local/zed/settings

About

NVIDIA Isaac Sim integration for ZED SDK

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • Python 56.9%
  • C++ 17.4%
  • PowerShell 10.1%
  • Batchfile 6.7%
  • Shell 4.8%
  • CMake 2.6%
  • Lua 1.5%