Getting the following error when launching multiple cameras:
[component_container_isolated-2] [2025-01-28 23:36:40 UTC][ZED][INFO] Logging level INFO
[component_container_isolated-2] [2025-01-28 23:36:40 UTC][ZED][ERROR] [ZED] sl::Camera::Open has not been called, no Camera instance running.
[component_container_isolated-2] [2025-01-28 23:36:40 UTC][ZED][ERROR] [ZED] sl::Camera::Open has not been called, no Camera instance running.
[component_container_isolated-2] [WARN] [1738107400.041873084] [camera_front.zed_node_0]: Error opening camera: CAMERA NOT DETECTED
[component_container_isolated-2] [INFO] [1738107400.041958971] [camera_front.zed_node_0]: Please verify the camera connection
[component_container_isolated-2] [2025-01-28 23:36:40 UTC][ZED][WARNING] CAMERA NOT DETECTED in sl::ERROR_CODE sl::Camera::open(sl::InitParameters)
[component_container_isolated-2] [2025-01-28 23:36:45 UTC][ZED][INFO] Logging level INFO
[component_container_isolated-2] [2025-01-28 23:36:45 UTC][ZED][ERROR] [ZED] sl::Camera::Open has not been called, no Camera instance running.
[component_container_isolated-2] [2025-01-28 23:36:45 UTC][ZED][ERROR] [ZED] sl::Camera::Open has not been called, no Camera instance running.
[component_container_isolated-2] [WARN] [1738107405.542829394] [camera_front.zed_node_0]: Error opening camera: CAMERA NOT DETECTED
[component_container_isolated-2] [INFO] [1738107405.542923921] [camera_front.zed_node_0]: Please verify the camera connection
[component_container_isolated-2] [2025-01-28 23:36:45 UTC][ZED][WARNING] CAMERA NOT DETECTED in sl::ERROR_CODE sl::Camera::open(sl::InitParameters)
[component_container_isolated-2] [2025-01-28 23:36:51 UTC][ZED][INFO] Logging level INFO
[component_container_isolated-2] [2025-01-28 23:36:51 UTC][ZED][ERROR] [ZED] sl::Camera::Open has not been called, no Camera instance running.
[component_container_isolated-2] [2025-01-28 23:36:51 UTC][ZED][ERROR] [ZED] sl::Camera::Open has not been called, no Camera instance running.
[component_container_isolated-2] [WARN] [1738107411.043618478] [camera_front.zed_node_0]: Error opening camera: CAMERA NOT DETECTED
[component_container_isolated-2] [INFO] [1738107411.043717741] [camera_front.zed_node_0]: Please verify the camera connection
[component_container_isolated-2] [2025-01-28 23:36:51 UTC][ZED][WARNING] CAMERA NOT DETECTED in sl::ERROR_CODE sl::Camera::open(sl::InitParameters)
[component_container_isolated-2] [2025-01-28 23:36:56 UTC][ZED][INFO] Logging level INFO
[component_container_isolated-2] [2025-01-28 23:36:56 UTC][ZED][ERROR] [ZED] sl::Camera::Open has not been called, no Camera instance running.
[component_container_isolated-2] [2025-01-28 23:36:56 UTC][ZED][ERROR] [ZED] sl::Camera::Open has not been called, no Camera instance running.
[component_container_isolated-2] [2025-01-28 23:36:56 UTC][ZED][WARNING] CAMERA NOT DETECTED in sl::ERROR_CODE sl::Camera::open(sl::InitParameters)
[component_container_isolated-2] [WARN] [1738107416.544449005] [camera_front.zed_node_0]: Error opening camera: CAMERA NOT DETECTED
[component_container_isolated-2] [INFO] [1738107416.544607211] [camera_front.zed_node_0]: Please verify the camera connection
Context:
- Running the multi-camera launch from here: zed-ros2-examples/tutorials/zed_multi_camera at master · stereolabs/zed-ros2-examples · GitHub
- Launching
zed_wrapper
separately for each camera works - Launching individual
zed_wrapper
for all cameras in multiple terminal sessions in parallel works also, though the second camera launch starts logging the following warning:[component_container_isolated-2] [ZED-X][Warning] Failed to connect to zed_x_daemon.
- Restarting
zed_daemon
doesn’t change this - Setup uses 3 cameras (one ZED X + two monocular)
- ZED SDK 4.2, Jetpack 6.0 / L4T 36.3.0, latest Quad link drivers
- ROS2 Humble
ZED_Explorer
also detects and runs all cameras- Already did the Middleware + Network tuning
EDIT 1:
It seems there must be some race condition → small edits to the launch file to add a 1s delay for each additional launch (using TimerAction
) works. It’s not an actual fix, rather a workaround.