Ask Your Question
0

Using camera on Raspberry Pi 3 running ROS::Kinetic

asked 2016-12-23 11:10:38 -0500

Nasher128 gravatar image

updated 2016-12-24 05:31:23 -0500

gvdhoorn gravatar image

Hi all.

Could somebody please point me in the right direction to where I can find instructions on how I can get the pi's camera to work with ROS:Kinetic. I'm struggling to find how to get this to work


Edit: I've just started using ROS and I want to start play around using it with cameras and lidar sensors. I've seen a lot of interesting projects using ROS and cameras, hence I want to use ROS with my raspberry pi. Is there a way to tap into the camera feed using a separate program and send the feeds to a ROS node for processing?

edit retag flag offensive close merge delete

Comments

1

First things first: can you use the camera with any 'regular' (as far as ROS is non-regular) Linux programs? If not, putting ROS in the mix isn't going to be productive, so please figure that out first.

gvdhoorn gravatar imagegvdhoorn ( 2016-12-23 12:04:02 -0500 )edit
2

I'm suggesting to first get the camera work without ROS involved at all. If you can't do that, it doesn't help to complicate things by introducing nodes and drivers.

If you can use the camera (say with guvcview), then we can suggest how you could proceed.

gvdhoorn gravatar imagegvdhoorn ( 2016-12-24 05:32:47 -0500 )edit

Not sure you're still interested in this, but at UbiquityRobotics/raspicam_node looks related.

gvdhoorn gravatar imagegvdhoorn ( 2017-01-15 04:28:08 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted
1

answered 2018-01-11 23:00:38 -0500

DrDave gravatar image

Well you could use the Raspberry Pi Camera node that is found here:

https://github.com/UbiquityRobotics/r...

Or if you want to make life really easy for yourself you could just download a raspberry pi image that has the camera node, and all the drivers, and ROS already set up. That's available from here:

https://downloads.ubiquityrobotics.com

as always please report any bugs, issues or feature enhancements ideas at github.com/UbiquityRobotics. PRs with enhancements are particularly welcome and a friendly email to contact@ubiquityrobotics.com is always nice if something that our little project produced is useful for you.

edit flag offensive delete link more
1

answered 2018-01-13 16:15:49 -0500

dpoiesz gravatar image

I use the Raspberry PI camera with ROS kinetic and Ubuntu Mate. First, download raspi-config to enable the camera. I used these directions:

https://larrylisky.com/2016/11/24/ena...

Next, download the usb_cam package:

sudo apt-get install ros-kinetic-usb-cam

Finally, launch the usb_cam

roslaunch usb_cam usb_cam-test.launch

If you PI is not connected to a display and your are using SSH you can use the web_video_server package to view the image in your web browser.

edit flag offensive delete link more

Comments

Hi, I have Logitech camera with Raspberry pi 3 B ,Ubuntu Mate OS. I tried it to connect it with ros package usb_cam and command rosrun usb_cam usb_cam_node. And through ssh I tried it to view through rqt_image_view. But it is showing video device busy and it terminates the node. So what shall I do to resolve this issue.

Thanks &Regards, Rutuja

rutujaharidas gravatar imagerutujaharidas ( 2019-09-10 07:47:42 -0500 )edit
0

answered 2018-01-12 05:26:04 -0500

To add to Dave's suggestions I've also managed to use the pi camera on a pi 3 using the Raspicam node. This was setup using Ubuntu Mate and ROS Kinetic

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-12-23 11:10:38 -0500

Seen: 5,296 times

Last updated: Jan 12 '18