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

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
0

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: https://docs.opencv.org/3.0-beta/doc/... ): https://docs.opencv.org/3.0-beta/modu...

The interesting part for you is: https://github.com/ros2/demos/blob/71...

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

Question Tools

2 followers

Stats

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

Seen: 1,471 times

Last updated: Jul 24 '18