ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

ros2 video device

asked 2018-07-14 08:10:43 -0500

tobinfinity gravatar image

updated 2018-07-14 08:11:53 -0500

For the image_tools package in ROS2, how do I set the video device if I have a usb cam for example.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-07-24 10:28:59 -0500

This package is using OpenCV to get the input of the camera (check this link for a more detailed example: ):

The interesting part for you is:

Where the example does the init of the video capture stream if the boolean burger_mode is false.

You will need to know the device ID of the camera which should be related to the USB port number the camera is connected to.

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



Asked: 2018-07-14 08:10:43 -0500

Seen: 1,084 times

Last updated: Jul 24 '18