stereolabs / zed-ros-wrapper

ROS wrapper for the ZED SDK
https://www.stereolabs.com/docs/ros/
MIT License
447 stars 391 forks source link

Zed Wrapper crashes when od_enabled set to true #907

Closed jamesheatonrdm closed 1 year ago

jamesheatonrdm commented 1 year ago

Preliminary Checks

Description

Zed2i works as intended when od_enabled in common.yaml is set to false. However, when setting od_enabled to true and launching the wrapper with roslaunch zed_wrapper zed2i.launch, the node crashes.

Steps to Reproduce

  1. Install ZED SDK 4.0 and zed_ros_wrapper
  2. Set od_enabled: true in common.yaml
  3. Launch the ZED wrapper ...

Expected Result

Camera runs without error

Actual Result

REQUIRED process [zed2i/zed_node-3] has died! process has died [pid 31565, exit code -11, cmd /home/aurrigo-ai/catkin_ws/devel/lib/zed_wrapper/zed_wrapper_node __name:=zed_node __log:=/home/aurrigo-ai/.ros/log/db2ec354-3117-11ee-bc4a-75f137f17f54/zed2i-zed_node-3.log]. log file: /home/aurrigo-ai/.ros/log/db2ec354-3117-11ee-bc4a-75f137f17f54/zed2i-zed_node-3*.log Initiating shutdown! master.log

ZED Camera model

ZED2i

Environment

Ubuntu 20.04
NVIDIA A2000
ZED SDK 4.0
ROS Noetic

Anything else?

No response

jamesheatonrdm commented 1 year ago

It should also be noted that this error does not occur when I run roslaunch zed_display_rviz display_zed2i.launch and have od_enabled: true. I can visualise the detected objects in RVIZ, however I do have another issue with this which I will describe separately.

jamesheatonrdm commented 1 year ago

I have attempted to find what has causing the error by analysing the display_zed2i.launch file:

This launch file launches the zed wrapper and then launches the rviz display. If I remove the lines launching rviz and run the launch file, I get the original error described above. Keeping the rviz section I do not get this error and the camera appears to be functioning correctly.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days