ros2 run v4l2_camera v4l2_camera_node --ros-args --remap image_raw:=image_raw/upperright_cam 软件包的依赖项 软件包image_transport可以设置图像的压缩传输,因此,需要在您的工作空间中安装image_common存储库中image_transport软件包的ROS 2分支。命令如下: git clone --branch ros2 https://github.com/...
cd ~/ros2_commons_ws/src git clone https://gitlab.com/boldhearts/ros2_v4l2_camera cd .. colcon build 测试: ros2 run v4l2_camera v4l2_camera_node 查看图像 ros2 run rqt_image_view rqt_image_view 选择对应的话题/image_raw 效果图:...
Docker image for https://gitlab.com/boldhearts/ros2_v4l2_camera Quick Start List cameras $ v4l2-ctl --list-devices Logitech Webcam C930e (usb-0000:00:14.0-1): /dev/video2 /dev/video3 /dev/media1 Integrated Camera: Integrated C (usb-0000:00:14.0-6): /dev/video0 /dev/video1 /...