USB Camera - Kraft2k/py_info_inv GitHub Wiki

Quickstart

sudo apt install ros-foxy-usb-cam

sudo apt install ros-humble-usb-cam

Path to parameters file: params.yaml

/opt/ros/foxy/share/usb_cam/config

ros2 run usb_cam usb_cam_node_exe --ros-args --params-file /opt/ros/humble/share/usb_cam/config/params.yaml

For Humble avalable params-files:

params_1.yaml params_2.yaml

Change dev video in params_1.yaml

ros2 run usb_cam usb_cam_node_exe --ros-args --params-file /opt/ros/humble/share/usb_cam/config/params_1.yaml

Launch with params.yaml

ros2 launch usb_cam demo_launch.py

Run IMAGE VIEWER on Desktop

ros2 run usb_cam show_image.py