This is a snapshot of my zed2 ros humble container. It uses the zed image and allows you to set the parameters of the cameras before starting the containers. You will need to do the following:
1. Select Docker Image
export ZED_IMAGE=husarion/zed-desktop:humble2. Select the appropriate camera model
export CAMERA_MODEL=<camera_model>Replace <camera_model> with appropriate camera model from below table.
| Product Name | Camera Model |
|---|---|
| ZED | zed |
| ZED Mini | zedm |
| ZED 2 | zed2 |
| ZED 2i | zed2i |
| ZED X | zedx |
| ZED X Mini | zedxm |
3. Change parameters These can be found in docker/params. They will be copied into the container on start.
4. Change compose parameters Ensure you've checked that the device addresses are correct, and the IP is unique. If using multiple cameras, also ensure that a unique container name is given. You can check the device IDs by:
ls /dev | grep video5. All set Run
cd docker
docker-compose -f compose.yaml run zed