Summary
Keywords
Full Transcript
#ros2 #ros #robotics #controltheory #controlengineering #controlsystems #robotics #computervision #opencv #opencvpython #mechatronics The step-by-step manual, ROS2, and Python files are given here (fee is required): https://ko-fi.com/s/6c5510ea01 Professional ROS1/ROS2 courses and training: https://cyberneticsstemacademy.com/course-category/all-ros-courses/?tutor-course-filter-category=40 It takes a significant amount of time and energy to create these free video tutorials. You can support my efforts in this way: - Buy me a Coffee: https://www.buymeacoffee.com/AleksandarHaber - PayPal: https://www.paypal.me/AleksandarHaber - Patreon: https://www.patreon.com/user?u=32080176&fan_landing=true - You Can also press the Thanks YouTube Dollar button In this ROS2 tutorial, we explain how to interface a camera with ROS2 and OpenCV. We explain how to write publisher and subscriber nodes that will capture the image and display the image on the computer screen. The technique presented in this tutorial is very important for the development of robotic computer vision systems and for integrating computer vision systems with the ROS2 ecosystem. The publisher node is running OpenCV. We use OpenCV to capture camera frames. The captured camera frames are resized and converted to the ROS2 image format. Images in ROS2 format become ROS2 messages. The messages are sent through an appropriate topic to the subscriber node. The subscriber node receives the messages and converts them to OpenCV image format. Then, the subscriber node shows the images on the computer screen.
