← Back to Modules

Diagnose the camera

Verify USB connectivity, test the generic usb_cam node and inspect hardware.

If the camera isn’t producing images, run these diagnostics. They help confirm that the USB device is detected and allow you to test with a generic usb_cam driver.

bash
lsusb | grep -i camera
bash
ls /dev/video*
bash
ros2 run usb_cam usb_cam_node --ros-args -p video_device:=/dev/video0
bash
cam -l

Subscribe to our newsletter

The latest educational robotics news and articles, sent to your inbox weekly.