Camera Driver

What does a camera driver actually do?

Using Cameras in ROS2

https://github.com/ros-drivers/usb_cam/tree/ros2

Install

sudo apt-get install ros-$ROS_DISTRO-usb-cam

Then, to start the camera node, run

ros2 run usb_cam usb_cam_node_exe

The live feed should be published to /image_raw. Note that there might be a huge latency depending on how much bandwith your network can support.