Isaac ROS ZED Setup
ZED cameras require the following to be able to publish data to ROS 2 topics:
ZED SDK (Installed by
Dockerfile.zed
)zed-ros2-wrapper
(Cloned in Step 1 of Setup Instructions)ZED X driver (Installed by user on host machine in Step 3 of Setup Instructions)
Camera Compatibility
All cameras supported by the zed ros2 wrapper work with Isaac ROS.
ZED Model |
SQA Testing? |
---|---|
ZED 2i |
✓ |
ZED X |
✓ |
ZED 2 |
✗ |
ZED |
✗ |
ZED Mini |
✗ |
ZED X Mini |
✗ |
Setup Instructions
Note
This tutorial assumes that you have set up your development environment by following the instructions here.
Clone the
isaac_ros_common
andzed-ros2-wrapper
repositories:
cd ${ISAAC_ROS_WS}/src && \ git clone https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_common.git && \ git clone --recurse-submodules https://github.com/stereolabs/zed-ros2-wrapperNote
${ISAAC_ROS_WS}
is defined to point to/ssd/workspaces/isaac_ros-dev/
or~/workspaces/isaac_ros-dev/
.
If you are using ZED X or ZED X Mini refer to the appropriate stereolabs setup guide.
Note
You do not need to install the
ZED SDK
because this is done byDockerfile.zed
.Note
You must install the
ZED driver
.
Plug in the USB cable of your ZED camera before launching the Docker container in the next step.
Configure the container created by
isaac_ros_common/scripts/run_dev.sh
to includeDockerfile.zed
. Create the.isaac_ros_common-config
file in theisaac_ros_common/scripts
directory:
cd ${ISAAC_ROS_WS}/src/isaac_ros_common/scripts && \ touch .isaac_ros_common-config && \ echo CONFIG_IMAGE_KEY=ros2_humble.user.zed >> .isaac_ros_common-config
Launch the Docker container.
cd ${ISAAC_ROS_WS}/src/isaac_ros_common && \ ./scripts/run_dev.sh ${ISAAC_ROS_WS}This rebuilds the container image using
Dockerfile.zed
in one of its layered stage. It takes some time for rebuilding.
After the container image is rebuilt and you are inside the container, you can run
/usr/local/zed/tools/ZED_Explorer
to check that the ZED camera is connected.
/usr/local/zed/tools/ZED_ExplorerIf everything is working as expected, you should see something similar to the following: