ZED X Advanced Topics

You will find here advanced topics for developing and testing the ZED X.

ZED X with Docker #

In order to use the ZED X and the ZED X Mini in a Docker container, a certain number of options and volumes are required when running the container.

To run an interactive container using docker run:

docker run --runtime nvidia -it --privileged -e DISPLAY \
  --network host \
  -v /dev/:/dev/ \
  -v /tmp/:/tmp/ \
  -v /var/nvidia/nvcam/settings/:/var/nvidia/nvcam/settings/ \
  -v /etc/systemd/system/zed_x_daemon.service:/etc/systemd/system/zed_x_daemon.service \
  <docker_image> sh

Please note that the ZED X driver must be only installed on the host machine, and not in the container

Please ensure that the L4T (Linux for Tegra) version of your host system matches the L4T version of the container you are using.

Configuration for other GMSL2 cameras #

The compiled driver (deb file) is provided with a DTS that enumerates the ZED X camera on i2c30 and i2c31. It will override any other configuration for cameras in custom DTS.

To create a custom DTS, use the diff file provided by Stereolabs to merge both DTS together.

Contact us for more information and support at support@stereolabs.com