ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

That definitely seems like an error related to the settings at the bottom of your launch file. If the height, width, frame_rate, video_mode, etc. that you specify are not supported by your webcam, then the camera_node will crash with the error you pasted.

As mentioned in the documentation you linked, you should run the v4l2-ctl --list-formats-ext command to determine the acceptable values for each of those parameters. If adjusting the parameters doesn't fix the issue, please post the output of this command. Note that you may need to use --device along with v4l2-ctl to specify which camera to provide parameters for. For more help run v4l2-ctl --help