How to Install a USB Camera in diffential robot
sudo apt update
sudo apt install ros-noetic-cv-camera
Once you have this installed in your raspberry pi, you can plug it in a USB port and test it running this node:
source /opt/ros/noetic/setup.bash
rosrun cv_camera cv_camera_node
Type rostopic list in terminal