Webcam Foxy 20210322 Notes and Logs
From wikidb
March 22, 2021 https://linuxconfig.org/how-to-test-webcam-on-ubuntu-20-04-focal-fossa reboot without cameral eepp@hood:~$ dmesg | grep -i "Camera" eepp@hood:~$ ls -ltrh /dev/video* ls: cannot access '/dev/video*': No such file or directory plug in camera epp@hood:~$ eepp@hood:~$ dmesg | grep -i "Camera" [ 245.857696] input: UVC Camera (046d:0825) as /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/input/input12 eepp@hood:~$ ls -ltrh /dev/video* crw-rw----+ 1 root video 81, 0 Mar 18 17:10 /dev/video0 crw-rw----+ 1 root video 81, 1 Mar 18 17:10 /dev/video1 eepp@hood:~$ eepp@hood:~$ cheese e logi C270 with ros 2 https://github.com/klintan/ros2_usb_camera https://discourse.ros.org/t/ros2-usb-cam-imgui-image-manipulation-nodes/6894 https://www.youtube.com/watch?v=s-S5mQp9i1Y --- 3/22/21 https://index.ros.org/p/image_pipeline/ https://index.ros.org/r/image_pipeline/github-ros-perception-image_pipeline/#foxy https://github.com/ros-perception/image_pipeline/releases/tag/2.1.1 https://index.ros.org/p/image_view/ eepp@hood:~$ find /opt/ros/foxy/ -name image_pipeline /opt/ros/foxy/include/image_pipeline eepp@hood:~$ find /opt/ros/foxy/ -name image_publisher /opt/ros/foxy/lib/rqt_image_view/image_publisher epp@hood:share$ ls -r | grep image rqt_image_view image_transport image_tools image_geometry depthimage_to_laserscan eepp@hood:share$ pwd /opt/ros/foxy/share ??? eepp@hood:bin$ ros2 run rqt_image_view rqt_image_view eepp@hood:Pictures$ ros2 run rqt_image_view rqt_image_view /dev/video0 eepp@hood:Pictures$ ros2 run rqt_image_view rqt_image_view /dev/video1 eepp@hood:Pictures$ ros2 run rqt_image_view rqt_image_view /dev/video1 --------------------------------------- eepp@hood:~$ mkdir -p image_ws/src eepp@hood:~$ cd image_ws/src/ eepp@hood:src$ ls eepp@hood:src$ git clone -b 2.1.1 https://github.com/ros-perception/image_pipeline Cloning into 'image_pipeline'... remote: Enumerating objects: 5, done. remote: Counting objects: 100% (5/5), done. remote: Compressing objects: 100% (5/5), done. remote: Total 10000 (delta 0), reused 0 (delta 0), pack-reused 9995 Receiving objects: 100% (10000/10000), 19.86 MiB | 5.35 MiB/s, done. Resolving deltas: 100% (6309/6309), done. Note: switching to '26f89ab695b2d5d3b45709d65f87455568058a2f'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c <new-branch-name> Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false -- epp@hood:src$ ls image_pipeline eepp@hood:src$ ls image_pipeline/ camera_calibration image_proc LICENSE wiki_files CONTRIBUTING.md image_publisher README.md depth_image_proc image_rotate stereo_image_proc image_pipeline image_view tools eepp@hood:src$ ls image_pipeline/image_publisher/ cfg CHANGELOG.rst CMakeLists.txt include launch package.xml src eepp@hood:src$ ls image_pipeline/image_publisher/src eepp@hood:src$ eepp@hood:src$ cd .. eepp@hood:image_ws$ colcon build --symlink-install --parallel-workers 1 Starting >>> image_proc --- stderr: image_proc CMake Deprecation Warning at /opt/ros/foxy/share/ament_cmake_export_interfaces/cmake/ament_export_interfaces.cmake:37 (message): ament_export_interfaces() is deprecated, use ament_export_targets() instead Call Stack (most recent call first): CMakeLists.txt:203 (ament_export_interfaces) In file included from /home/eepp/image_ws/src/image_pipeline/image_proc/include/image_proc/crop_non_zero.hpp:37, from /home/eepp/image_ws/src/image_pipeline/image_proc/src/crop_non_zero.cpp:36: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/image_proc/include/image_proc/crop_decimate.hpp:37, from /home/eepp/image_ws/src/image_pipeline/image_proc/src/crop_decimate.cpp:33: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/image_proc/src/rectify.cpp:36: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/image_proc/include/image_proc/debayer.hpp:37, from /home/eepp/image_ws/src/image_pipeline/image_proc/src/debayer.cpp:43: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | This header is deprecated. Use 'image_transport.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/image_proc/src/resize.cpp:35: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/image_proc/include/image_proc/debayer.hpp:37, from /home/eepp/image_ws/src/image_pipeline/image_proc/src/image_proc.cpp:43: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | This header is deprecated. Use 'image_transport.hpp' instead") | ^ --- Finished <<< image_proc [18.2s] Starting >>> camera_calibration Finished <<< camera_calibration [0.99s] Starting >>> depth_image_proc [Processing: depth_image_proc] --- stderr: depth_image_proc In file included from /home/eepp/image_ws/src/image_pipeline/depth_image_proc/src/convert_metric.cpp:33: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | This header is deprecated. Use 'image_transport.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/depth_image_proc/src/crop_foremost.cpp:33: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/depth_image_proc/src/point_cloud_xyz.cpp:33: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/depth_image_proc/src/disparity.cpp:33: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/depth_image_proc/src/disparity.cpp:34: /opt/ros/foxy/include/image_transport/subscriber_filter.h:41:91: note: #pragma message: Warning: This header is deprecated. Use 'subscriber_filter.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'subscriber_filter.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/depth_image_proc/src/point_cloud_xyzrgb.cpp:33: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | This header is deprecated. Use 'image_transport.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/depth_image_proc/src/point_cloud_xyzrgb.cpp:34: /opt/ros/foxy/include/image_transport/subscriber_filter.h:41:91: note: #pragma message: Warning: This header is deprecated. Use 'subscriber_filter.hpp' instead 41 | is header is deprecated. Use 'subscriber_filter.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/depth_image_proc/src/point_cloud_xyzi.cpp:33: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/depth_image_proc/src/point_cloud_xyzi.cpp:34: /opt/ros/foxy/include/image_transport/subscriber_filter.h:41:91: note: #pragma message: Warning: This header is deprecated. Use 'subscriber_filter.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'subscriber_filter.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/depth_image_proc/src/point_cloud_xyz_radial.cpp:33: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/depth_image_proc/src/point_cloud_xyzi_radial.cpp:33: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/depth_image_proc/src/point_cloud_xyzi_radial.cpp:35: /opt/ros/foxy/include/image_transport/subscriber_filter.h:41:91: note: #pragma message: Warning: This header is deprecated. Use 'subscriber_filter.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'subscriber_filter.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/depth_image_proc/src/register.cpp:33: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/depth_image_proc/src/register.cpp:34: /opt/ros/foxy/include/image_transport/subscriber_filter.h:41:91: note: #pragma message: Warning: This header is deprecated. Use 'subscriber_filter.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'subscriber_filter.hpp' instead") | ^ --- Finished <<< depth_image_proc [45.5s] Starting >>> image_publisher --- stderr: image_publisher In file included from /home/eepp/image_ws/src/image_pipeline/image_publisher/src/image_publisher.cpp:34: /opt/ros/foxy/include/camera_info_manager/camera_info_manager.h:41:93: note: #pragma message: Warning: This header is deprecated. Use 'camera_info_manager.hpp' instead 41 | header is deprecated. Use 'camera_info_manager.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/image_publisher/include/image_publisher/image_publisher.hpp:37, from /home/eepp/image_ws/src/image_pipeline/image_publisher/src/image_publisher.cpp:41: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | This header is deprecated. Use 'image_transport.hpp' instead") | ^ /home/eepp/image_ws/src/image_pipeline/image_publisher/src/image_publisher.cpp: In constructor ‘image_publisher::ImagePublisher::ImagePublisher(const rclcpp::NodeOptions&)’: /home/eepp/image_ws/src/image_pipeline/image_publisher/src/image_publisher.cpp:96:61: warning: ‘rclcpp::Node::OnParametersSetCallbackType rclcpp::Node::set_on_parameters_set_callback(rclcpp::Node::OnParametersSetCallbackType)’ is deprecated: use add_on_set_parameters_callback(OnParametersSetCallbackType callback) instead [-Wdeprecated-declarations] 96 | this->set_on_parameters_set_callback(param_change_callback); | ^ In file included from /opt/ros/foxy/include/camera_info_manager/camera_info_manager.hpp:45, from /opt/ros/foxy/include/camera_info_manager/camera_info_manager.h:43, from /home/eepp/image_ws/src/image_pipeline/image_publisher/src/image_publisher.cpp:34: /opt/ros/foxy/include/rclcpp/node.hpp:866:3: note: declared here 866 | set_on_parameters_set_callback(rclcpp::Node::OnParametersSetCallbackType callback); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/eepp/image_ws/src/image_pipeline/image_publisher/include/image_publisher/image_publisher.hpp:37, from /home/eepp/image_ws/src/image_pipeline/image_publisher/src/image_publisher_node.cpp:33: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | This header is deprecated. Use 'image_transport.hpp' instead") | ^ --- Finished <<< image_publisher [11.5s] Starting >>> image_rotate --- stderr: image_rotate In file included from /home/eepp/image_ws/src/image_pipeline/image_rotate/include/image_rotate/image_rotate_node.hpp:39, from /home/eepp/image_ws/src/image_pipeline/image_rotate/src/image_rotate_node.cpp:42: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | This header is deprecated. Use 'image_transport.hpp' instead") | ^ /home/eepp/image_ws/src/image_pipeline/image_rotate/src/image_rotate_node.cpp: In constructor ‘image_rotate::ImageRotateNode::ImageRotateNode()’: /home/eepp/image_ws/src/image_pipeline/image_rotate/src/image_rotate_node.cpp:116:59: warning: ‘rclcpp::Node::OnParametersSetCallbackType rclcpp::Node::set_on_parameters_set_callback(rclcpp::Node::OnParametersSetCallbackType)’ is deprecated: use add_on_set_parameters_callback(OnParametersSetCallbackType callback) instead [-Wdeprecated-declarations] 116 | this->set_on_parameters_set_callback(reconfigureCallback); | ^ In file included from /opt/ros/foxy/include/rclcpp/executors/single_threaded_executor.hpp:28, from /opt/ros/foxy/include/rclcpp/executors.hpp:22, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/eepp/image_ws/src/image_pipeline/image_rotate/include/image_rotate/image_rotate_node.hpp:35, from /home/eepp/image_ws/src/image_pipeline/image_rotate/src/image_rotate_node.cpp:42: /opt/ros/foxy/include/rclcpp/node.hpp:866:3: note: declared here 866 | set_on_parameters_set_callback(rclcpp::Node::OnParametersSetCallbackType callback); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/eepp/image_ws/src/image_pipeline/image_rotate/include/image_rotate/image_rotate_node.hpp:39, from /home/eepp/image_ws/src/image_pipeline/image_rotate/src/image_rotate.cpp:33: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | This header is deprecated. Use 'image_transport.hpp' instead") | ^ --- Finished <<< image_rotate [13.1s] Starting >>> image_view [Processing: image_view] --- stderr: image_view CMake Warning at CMakeLists.txt:36 (find_package): By not providing "FindGTK3.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "GTK3", but CMake did not find one. Could not find a package configuration file provided by "GTK3" with any of the following names: GTK3Config.cmake gtk3-config.cmake Add the installation prefix of "GTK3" to CMAKE_PREFIX_PATH or set "GTK3_DIR" to a directory containing one of the above files. If "GTK3" provides a separate development package or SDK, be sure it has been installed. CMake Deprecation Warning at /opt/ros/foxy/share/ament_cmake_export_interfaces/cmake/ament_export_interfaces.cmake:37 (message): ament_export_interfaces() is deprecated, use ament_export_targets() instead Call Stack (most recent call first): CMakeLists.txt:85 (ament_export_interfaces) In file included from /home/eepp/image_ws/src/image_pipeline/image_view/include/image_view/image_saver_node.hpp:55, from /home/eepp/image_ws/src/image_pipeline/image_view/src/image_saver_node.cpp:49: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/image_view/include/image_view/image_view_node.hpp:21, from /home/eepp/image_ws/src/image_pipeline/image_view/src/image_view_node.cpp:49: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/image_view/src/extract_images_node.cpp:53: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") | ^ /home/eepp/image_ws/src/image_pipeline/image_view/src/image_view_node.cpp: In constructor ‘image_view::ImageViewNode::ImageViewNode(const rclcpp::NodeOptions&)’: /home/eepp/image_ws/src/image_pipeline/image_view/src/image_view_node.cpp:146:74: warning: ‘rclcpp::Node::OnParametersSetCallbackType rclcpp::Node::set_on_parameters_set_callback(rclcpp::Node::OnParametersSetCallbackType)’ is deprecated: use add_on_set_parameters_callback(OnParametersSetCallbackType callback) instead [-Wdeprecated-declarations] 146 | std::bind(&ImageViewNode::paramCallback, this, std::placeholders::_1)); | ^ In file included from /opt/ros/foxy/include/rclcpp/executors/single_threaded_executor.hpp:28, from /opt/ros/foxy/include/rclcpp/executors.hpp:22, from /opt/ros/foxy/include/rclcpp/rclcpp.hpp:146, from /home/eepp/image_ws/src/image_pipeline/image_view/include/image_view/image_view_node.hpp:18, from /home/eepp/image_ws/src/image_pipeline/image_view/src/image_view_node.cpp:49: /opt/ros/foxy/include/rclcpp/node.hpp:866:3: note: declared here 866 | set_on_parameters_set_callback(rclcpp::Node::OnParametersSetCallbackType callback); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/eepp/image_ws/src/image_pipeline/image_view/src/extract_images_node.cpp: In member function ‘void image_view::ExtractImagesNode::image_cb(const ConstSharedPtr&)’: /home/eepp/image_ws/src/image_pipeline/image_view/src/extract_images_node.cpp:114:23: warning: catching polymorphic type ‘class cv_bridge::Exception’ by value [-Wcatch-value=] 114 | } catch (cv_bridge::Exception) { | ^~~~~~~~~ In file included from /home/eepp/image_ws/src/image_pipeline/image_view/src/image_saver_node.cpp:55: /opt/ros/foxy/include/camera_calibration_parsers/parse.h:41:79: note: #pragma message: Warning: This header is deprecated. Use 'parse.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'parse.hpp' instead") | ^ /home/eepp/image_ws/src/image_pipeline/image_view/src/image_saver_node.cpp: In member function ‘bool image_view::ImageSaverNode::saveImage(const ConstSharedPtr&, std::string&)’: /home/eepp/image_ws/src/image_pipeline/image_view/src/image_saver_node.cpp:112:23: warning: catching polymorphic type ‘class cv_bridge::Exception’ by value [-Wcatch-value=] 112 | } catch (cv_bridge::Exception) { | ^~~~~~~~~ In file included from /home/eepp/image_ws/src/image_pipeline/image_view/include/image_view/stereo_view_node.hpp:55, from /home/eepp/image_ws/src/image_pipeline/image_view/src/stereo_view_node.cpp:49: /opt/ros/foxy/include/image_transport/subscriber_filter.h:41:91: note: #pragma message: Warning: This header is deprecated. Use 'subscriber_filter.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'subscriber_filter.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/image_view/include/image_view/video_recorder_node.hpp:19, from /home/eepp/image_ws/src/image_pipeline/image_view/src/video_recorder_node.cpp:15: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/image_view/src/video_recorder_node.cpp:21: /opt/ros/foxy/include/camera_calibration_parsers/parse.h:41:79: note: #pragma message: Warning: This header is deprecated. Use 'parse.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'parse.hpp' instead") | ^ /home/eepp/image_ws/src/image_pipeline/image_view/src/video_recorder_node.cpp: In member function ‘void image_view::VideoRecorderNode::callback(const ConstSharedPtr&)’: /home/eepp/image_ws/src/image_pipeline/image_view/src/video_recorder_node.cpp:137:23: warning: catching polymorphic type ‘class cv_bridge::Exception’ by value [-Wcatch-value=] 137 | } catch (cv_bridge::Exception) { | ^~~~~~~~~ In file included from /home/eepp/image_ws/src/image_pipeline/image_view/include/image_view/extract_images_node.hpp:53, from /home/eepp/image_ws/src/image_pipeline/image_view/src/extract_images.cpp:49: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/image_view/include/image_view/stereo_view_node.hpp:55, from /home/eepp/image_ws/src/image_pipeline/image_view/src/stereo_view.cpp:53: /opt/ros/foxy/include/image_transport/subscriber_filter.h:41:91: note: #pragma message: Warning: This header is deprecated. Use 'subscriber_filter.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'subscriber_filter.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/image_view/include/image_view/image_view_node.hpp:21, from /home/eepp/image_ws/src/image_pipeline/image_view/src/image_view.cpp:53: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/image_view/include/image_view/image_saver_node.hpp:55, from /home/eepp/image_ws/src/image_pipeline/image_view/src/image_saver.cpp:53: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/image_view/include/image_view/video_recorder_node.hpp:19, from /home/eepp/image_ws/src/image_pipeline/image_view/src/video_recorder.cpp:19: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | This header is deprecated. Use 'image_transport.hpp' instead") | ^ --- Finished <<< image_view [41.0s] Starting >>> image_pipeline Finished <<< image_pipeline [1.45s] Starting >>> stereo_image_proc --- stderr: stereo_image_proc CMake Deprecation Warning at /opt/ros/foxy/share/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake:103 (message): Package image_proc is exporting the variable image_proc_INTERFACES which is deprecated, it should export image_proc_TARGETS instead Call Stack (most recent call first): CMakeLists.txt:39 (ament_target_dependencies) In file included from /home/eepp/image_ws/src/image_pipeline/stereo_image_proc/src/stereo_image_proc/disparity_node.cpp:36: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/stereo_image_proc/src/stereo_image_proc/disparity_node.cpp:37: /opt/ros/foxy/include/image_transport/subscriber_filter.h:41:91: note: #pragma message: Warning: This header is deprecated. Use 'subscriber_filter.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'subscriber_filter.hpp' instead") | ^ In file included from /home/eepp/image_ws/src/image_pipeline/stereo_image_proc/src/stereo_image_proc/point_cloud_node.cpp:33: /opt/ros/foxy/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") | ^ /home/eepp/image_ws/src/image_pipeline/stereo_image_proc/src/stereo_image_proc/disparity_node.cpp: In constructor ‘stereo_image_proc::DisparityNode::DisparityNode(const rclcpp::NodeOptions&)’: /home/eepp/image_ws/src/image_pipeline/stereo_image_proc/src/stereo_image_proc/disparity_node.cpp:178:91: warning: ‘rclcpp::Node::OnParametersSetCallbackType rclcpp::Node::set_on_parameters_set_callback(rclcpp::Node::OnParametersSetCallbackType)’ is deprecated: use add_on_set_parameters_callback(OnParametersSetCallbackType callback) instead [-Wdeprecated-declarations] 178 | this->set_on_parameters_set_callback(std::bind(&DisparityNode::parameterSetCb, this, _1)); | ^ In file included from /opt/ros/foxy/include/image_transport/image_transport.hpp:43, from /opt/ros/foxy/include/image_transport/image_transport.h:43, from /home/eepp/image_ws/src/image_pipeline/stereo_image_proc/src/stereo_image_proc/disparity_node.cpp:36: /opt/ros/foxy/include/rclcpp/node.hpp:866:3: note: declared here 866 | set_on_parameters_set_callback(rclcpp::Node::OnParametersSetCallbackType callback); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/eepp/image_ws/src/image_pipeline/stereo_image_proc/src/stereo_image_proc/point_cloud_node.cpp:34: /opt/ros/foxy/include/image_transport/subscriber_filter.h:41:91: note: #pragma message: Warning: This header is deprecated. Use 'subscriber_filter.hpp' instead 41 | #pragma message ("Warning: This header is deprecated. Use 'subscriber_filter.hpp' instead") | ^ --- Finished <<< stereo_image_proc [25.8s] Summary: 8 packages finished [2min 38s] 6 packages had stderr output: depth_image_proc image_proc image_publisher image_rotate image_view stereo_image_proc eepp@hood:image_ws$ -------------------- eepp@hood:image_ws$ ls build install log src eepp@hood:image_ws$ ls install/ camera_calibration image_view setup.bash COLCON_IGNORE local_setup.bash setup.ps1 depth_image_proc local_setup.ps1 setup.sh image_pipeline local_setup.sh setup.zsh image_proc _local_setup_util_ps1.py stereo_image_proc image_publisher _local_setup_util_sh.py image_rotate local_setup.zsh eepp@hood:image_ws$ eepp@hood:image_ws$ eepp@hood:image_ws$ eepp@hood:image_ws$ source ~/image_ws/install/setup.bash eepp@hood:image_ws$ eepp@hood:image_ws$ eepp@hood:image_ws$ eepp@hood:image_ws$ ros2 run image_view disparity_view image_saver --prefix video_recorder extract_images image_view stereo_view eepp@hood:image_ws$ ros2 run image_view image_view [INFO] [1616441361.984954701] [image_view_node]: Using transport "raw" [WARN] [1616441361.989971028] [image_view_node]: Topic 'image' has not been remapped! Typical command-line usage: $ rosrun image_view image_view image:=<image topic> [transport] ------------ eepp@hood:image_ws$ ros2 run image_publisher image_publisher_node /dev/video0 [INFO] [1616441671.591549339] [ImagePublisher]: param_change_callback [INFO] [1616441671.591776544] [ImagePublisher]: Reset filename as '/dev/video0' [INFO] [1616441671.591806982] [ImagePublisher]: File name for publishing image is : /dev/video0 [ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (1758) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module source reported: Could not read from resource. [ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (888) open OpenCV | GStreamer warning: unable to start pipeline [ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (480) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created [INFO] [1616441674.281073344] [ImagePublisher]: Flip horizontal image is : false [INFO] [1616441674.281211873] [ImagePublisher]: Flip flip_vertical image is : false TERMINAl 2 eepp@hood:share$ ros2 topic list /camera_info /image_raw /parameter_events /rosout eepp@hood:share$ ros2 run image_view image_view image_raw Package 'image_view' not found eepp@hood:share$ source ~/image_ws/install/setup.bash eepp@hood:share$ ros2 run image_view image_view image_raw [INFO] [1616441953.023248183] [image_view_node]: Using transport "raw" [WARN] [1616441953.028574047] [image_view_node]: Topic 'image' has not been remapped! Typical command-line usage: $ rosrun image_view image_view image:=<image topic> [transport] ^C[INFO] [1616441973.500892849] [rclcpp]: signal_handler(signal_value=2) eepp@hood:share$ ros2 run image_view image_view image:=image_raw [WARN] [1616441985.806375357] [rcl]: Found remap rule 'image:=image_raw'. This syntax is deprecated. Use '--ros-args --remap image:=image_raw' instead. [INFO] [1616441986.166382331] [image_view_node]: Using transport "raw" Holly shit - I see myself (camera was plugged in) eepp@hood:share$ ros2 run image_view image_view --ros-args --remap image:=image_raw [INFO] [1616442210.204704498] [image_view_node]: Using transport "raw" TERMINAL 3 $ ros2 topic echo camera_info --- header: stamp: sec: 1616442345 nanosec: 367744435 frame_id: camera height: 480 width: 640 distortion_model: plumb_bob d: - 0.0 - 0.0 - 0.0 - 0.0 - 0.0 k: - 1.0 - 0.0 - 320.0 - 0.0 - 1.0 - 240.0 - 0.0 - 0.0 - 1.0 r: - 1.0 - 0.0 - 0.0 - 0.0 - 1.0 - 0.0 - 0.0 - 0.0 - 1.0 p: - 1.0 - 0.0 - 320.0 - 0.0 - 0.0 - 1.0 - 240.0 - 0.0 - 0.0 - 0.0 - 1.0 - 0.0 binning_x: 0 binning_y: 0 roi: x_offset: 0 y_offset: 0 height: 0 width: 0 do_rectify: false ---