Reading Output from a USB Camera on ROS Windows

asked 2019-10-03 13:57:18 -0600

Unperceivable gravatar image

updated 2020-02-04 04:14:37 -0600

gvdhoorn gravatar image

I am a ROS beginner so I apologize if this is an extremely elementary question.

I am using Allied Vision Mako U-130b cameras for capturing a live video feed and trying to integrate it in ROS Melodic on Windows. I think what I want to do is publish my video on image_pipeline as an image_raw topic. I went crazy digging through tutorials and have tried installing three different packages (libuvc_ros, usb_cam, and cv_camera), while only seeing success in building cv_camera and launching its nodes. usb_cam will, as an example, not build due to several issues such as

No package 'libavcodec' found'.

My basic question is this: What is a good way to obtain an image or video from my usb cameras in a way that I can see it and send it to other nodes for processing, on ROS for Windows?

Thanks for the help.

Edit: I am using a ROS Melodic for Windows 10 build

edit retag flag offensive close merge delete


Could you please be specific which approach you're using for "ROS on Windows"? Are you using WSL, or an actual ROS Melodic for Windows10 build from MS?

gvdhoorn gravatar image gvdhoorn  ( 2019-10-04 06:12:44 -0600 )edit

I am using a ROS Melodic for Windows 10 build that I got by following the instructions on

Unperceivable gravatar image Unperceivable  ( 2019-10-04 08:09:36 -0600 )edit

Hello, I have the same problem, could somebody give us a hint regarding this topic.

estebanvel gravatar image estebanvel  ( 2020-02-04 03:38:25 -0600 )edit

I'm interested too!

Kaiman gravatar image Kaiman  ( 2020-02-12 09:29:35 -0600 )edit

same issue, did someone solved the problem with No package 'libavcodec' found ?

MarioM gravatar image MarioM  ( 2021-05-21 01:14:39 -0600 )edit