1

I am trying to integrate a raspberry pi camera into my robotic platform running on ROS2 Humble Hawksbill on Ubuntu 22.04. It works fine with all of the built in libraries on the default raspberry pi OS - but I have Ubuntu 22.04 running on the raspberry pi in order for the ROS2 Humble platform to control the robot - and none of the camera libraries are recognized.

Is there any way I can still use the raspberry Pi Camera on Ubuntu 22.04 (Jammy Jellyfish) with ROS2 humble installed and have the camera functional on this OS. Ideally I am looking to setup livestreaming functionality from the camera to the local network. I'm new to working with this kind of software and haven't worked with Raspberry Pi Cameras before so I appreciate any help I can get!

  • I am using a Raspberry Pi 4B and a Raspberry pi camera model 3 NOIR

If you need me to clarify on something or if you need information please ask!

1 Answers1

2

Just done this today, but on Ubuntu 24.04+Jazzy using the camera-ros package from https://github.com/christianrauch/camera_ros

Install:

sudo apt install ros-$ROS_DISTRO-camera-ros

Run the node:

ros2 run camera_ros camera_node

View the image in rviz

ros2 run rviz2 rviz2

Topic selection panel in rviz showing the image topic is selected

Craig
  • 121
  • 3