Hello,
I am using a Clearpath robot (Jackal platform) running Ubuntu 22.04.5 and ROS2 Humble with a preinstalled ZED SDK and zed-ros2-wrapper. The system is headless and accessed via SSH and Discovery Server from an offboard computer.
I am trying to integrate a YOLO-based custom object detection model following the official documentation:
https://www.stereolabs.com/docs/ros2/custom-object-detection
When launching the ZED node with:
ros2 launch zed_wrapper zed_camera.launch.py camera_model:=<camera_model> custom_object_detection_config_path:='<path_to_custom_object_detection.yaml>'
I get the following error:
[zed.zed_node]: ZED SDK Version: 5.0.3
[zed.zed_node]: CAMERA OPENING
[WARNING] Error opening camera: CAMERA STREAM FAILED TO START
sl::Camera::open() returned: CAMERA STREAM FAILED TO START
Please verify the camera connection
I already checked that the camera is detected via lsusb, The device appears to be connected properly at USB level. I tried rebooting the camera using:
/usr/local/zed/tools/ZED_Explorer --reboot
but it fails with:
can't claim interface 0: -6
Unable to access camera
When launching the node, multiple ZED-related nodes and topics are created successfully, including:
/zed/zed_node
/zed/zed_state_publisher
/tf
/tf_static
/joint_states
/robot_description
However, the camera stream fails to initialize, so I cannot proceed with object detection.
Does the combination of:
-
CAMERA STREAM FAILED TO START -
can't claim interface 0: -6
indicate that the camera is locked by another process or a USB permission issue?
Any guidance would be appreciated.