Connecting a camera to a Raspberry Pi running ROS2 Foxy
I am a beginner looking to get into ROS. I've been trying to set up a very simple system with a Raspberry Pi 4, a webcam, and ROS2 Foxy. My initial goal is to just capture camera data into rosbags, but I've been struggling to do so.
I've set up ROS2 on top of Ubuntu 20.04 according to the provided information on this website: https://docs.ros.org/en/foxy/Installa...
I've been trying to set up the camera through OpenCV using this guide: https://automaticaddison.com/getting-...
When I run the publisher node, the camera lights up to indicate it is streaming, but no window pops up with camera images. Furthermore, the subscriber node doesn't work. Instead, it returns "no executable found."
Is OpenCV the best way to achieve my goal or is there some other library or method I should be using? I'm just looking for any guidance to figure out what I need to do.