ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Camera Nodes for ROS Melodic and Raspberry Pi

asked 2020-02-12 09:03:28 -0500

terrylboro gravatar image

I'm trying to display the output of a camera connected to my Raspberry Pi on using rqt_image_view. I have tried installing the following nodes: raspicam_node (preferred as it would allow me to use my PiCamera) and usb_cam (which would allow me to use a USB camera connected to the RPi, which would also be fine).

I tried to install raspicam_node using these instructions on the GitHub page link text, however when running

rosdep install --from-paths src --ignore-src --rosdistro=melodic -y

I was met with this error:

ERROR: The following packages/stacks could not have their rosdep keys resolved to system dependencies:
raspicam_node: No definition of [camera_info_manager] for OS version [buster]

Attempting to install usb_cam in the same way resulted in the same error.

Both these nodes were made for Kinetic- would there be a way to make these work with Melodic? Or is there another node which does definitely work with Melodic (I have looked but was unable to find any)?

Thanks for any help.

edit retag flag offensive close merge delete

Comments

Dear Terry,

Which branch did you use for the pi4/Melodic setup? There does not seem to be one specifically for Melodic.

Thanks, Mark

rgbmuc gravatar image rgbmuc  ( 2020-06-19 12:04:02 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-02-21 14:53:58 -0500

flynneva gravatar image

hey terry,

I ran into the same problem after following these instructions for installing ros melodic on a rpi4.

the error just means you are missing the camera_info_manager package.

clone it into your local catkin_ws and compile and you should be ok.

https://github.com/ros-perception/ima...

edit flag offensive delete link more

Comments

Dear flynneva, Which one do you clone? There does not seem to be a branch for melodic and the master does not compile in melodic. -Mark

rgbmuc gravatar image rgbmuc  ( 2020-06-22 03:49:33 -0500 )edit

found it... the hydro-devel branch works with melodic.

-Mark

rgbmuc gravatar image rgbmuc  ( 2020-06-24 06:27:16 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-02-12 09:03:28 -0500

Seen: 2,981 times

Last updated: Feb 21 '20