Skip to content
Snippets Groups Projects
Commit 09a21ab2 authored by Furushchev's avatar Furushchev
Browse files

[libuvc_camera] add detail error message if no image format support

parent 257ccb75
No related branches found
No related tags found
No related merge requests found
......@@ -366,6 +366,8 @@ void CameraDriver::OpenCamera(UVCCameraConfig &new_config) {
uvc_perror(mode_err, "uvc_get_stream_ctrl_format_size");
uvc_close(devh_);
uvc_unref_device(dev_);
ROS_ERROR("check video_mode/width/height/frame_rate are available");
uvc_print_diag(devh_, NULL);
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment