Closed ghost closed 1 year ago
So, I've just found out firewall was enabled and active on my RPi, and that was causing the whole issue. I was able to ping
both machines but then, I tried to use netcat
to establish communication between both of them over a specified port and nothing happened. After some time, I was able to find the root of the problem, and once the firewall was deactivated, video_stream_opencv
completed initialization and started publishing correctly on the corresponding topics.
Somehow, image is all black, so there's still something I'm missing, but I'm going to continue on my own, close this issue and open a new one if necessary lol.
Hello everyone!
I'm trying to use the
video_stream_opencv
package (installed usingsudo apt-get install ros-noetic-video-stream-opencv
) on my Raspberry Pi 4B running Ubuntu Mate 20.04 64-bit and ROS noetic.I'm using a Raspberry Pi Camera Module V2 that appears as
/dev/video0
. Input test using test_video_resource.py works perfectly fine.Now, I'm having trouble when I run the
webcam.launch
file (as default with no modifications), as it seems to stop at some point of the initialization, and because there is no timeout error, I can't properly understand what's going on. It always stops at the same line. The following code is what I get in the terminal:Because the launch file never completes the initialization, it never publishes data into the topics and
image_view
never loads, so I'm not able toecho
any of the package topics. There was one random time it completed the initialization and theimage_view
window popped up, but it was all black with no image and nothing was being published.I also tried
camera.launch
andvideo_file.launch
with no positive results.