I am currently using the Zed mini camera on my robot with a Jetson Orin Nano with Jetpack 6.0 along with ROS2 Humble.
The ros2 wrapper process keeps on randomly dying with exit codes 6 or 11 most of the times. Here is the error I got during my recent testing:
[ERROR] [zed_wrapper-5]: process has died [pid 6971, exit code -6, cmd '/home/mesa/ros2_ws/install/zed_wrapper/lib/zed_wrapper/zed_wrapper --ros-args -r __node:=zed_node -r __ns:=/zed --params-file /home/mesa/ros2_ws/install/zed_wrapper/share/zed_wrapper/config/common.yaml --params-file /home/mesa/ros2_ws/install/zed_wrapper/share/zed_wrapper/config/zedm.yaml --params-file /tmp/launch_params_elln_nr7'].
[ERROR] [zed_wrapper-4]: process has died [pid 57007, exit code -11, cmd '/home/dbot/ros2_ws/install/zed_wrapper/lib/zed_wrapper/zed_wrapper --ros-args -r __node:=zed_node -r __ns:=/zed --params-file /home/dbot/ros2_ws/install/zed_wrapper/share/zed_wrapper/config/common.yaml --params-file /home/dbot/ros2_ws/install/zed_wrapper/share/zed_wrapper/config/zedm.yaml --params-file /tmp/launch_params_te5lj_4x'].
This issue seems to be random and sometimes happens after 5 minutes of running or sometimes runs a lot longer without dying. I have gotten around it by restarting the ros node when it dies, however we want to use the IMU data from the camera and also use the camera for visual odometry which resets every time the node is restarted.
What could be done to fix this issue ?
Thanks in advance.