- Edited
Hi @Luxonis-Adam, @jakaskerl, @erik,
I added another file image_publisher_ros.cpp
in the MRE folder for comparison.
root@0b6870f3b150:/workspaces/depthai_catkin_ws/src/station_depthai/minimum_image_publisher# tree .
.
├── CMakeLists.txt
├── README.md
├── config
│ └── yolov6n.yaml
├── include
│ └── minimum_image_publisher
├── models
│ └── yolov6n_openvino_2022.1_6shave.blob
├── package.xml
└── src
├── image_publisher.cpp
└── image_publisher_ros.cpp
In image_publisher_ros
, it doesn't try to get the image from the queues directly but use dai::rosBridge::BridgePublisher
to publish the image data. And the blocking issue is much worse than image_publisher.cpp
, almost half of the times are failure. I attached here the screen recording of 10 of my run.
The depthai library I am using is 2.24.0, which is the latest depthai-ros noetic is using. Let me know what else I can provide to help figure out the issue.
Library information - version: 2.24.0, commit: 6628488ef8956f73f1c7bf4c8f1da218ad327a6f from 2023-12-13 14:45:09 +0100, build: 2023-12-13 23:26:25 +0000, libusb enabled: true
Thanks!
Lincoln