Probe-commit control transfer failed with error: RS2_USB_STATUS_IO
-
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
- Consider checking out SDK examples.
- Have you looked in our documentations?
- Is you question a frequently asked one?
- Try searching our GitHub Issues (open and closed) for a similar issue.
-
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
| Required Info | |
|---|---|
| Camera Model | { D456} |
| Firmware Version | (5.16.0.1 |
| Operating System & Version | Ubuntu20.04 |
| Kernel Version (Linux Only) | (L4T 5.10.192) |
| Platform | NVIDIA Jetson orin nano |
| SDK Version | { legacy / 2.5.0 } |
| realsense-ros Version | { 2.3.2 } |
| Language | {C/C#/labview/nodejs/opencv/pcl/python/unity } |
| Segment | {Robot} |
Issue Description
After I use the RSUSB backend without the kernel patching and build the SDK using the RSUSB method it still have error when i lanuch the rs_d435_camera_with_model.launch ERROR [281472375587184] (uvc-device.cpp:862) Probe-commit control transfer failed with error: RS2_USB_STATUS_IO [ERROR] [1721367780.707439652]: An exception has been thrown: Failed to resolve the request: Format: RGB8, width: 640, height: 480
Into: Formats: YUYV
[ERROR] [1721367780.709325917]: Exception: Failed to resolve the request: Format: RGB8, width: 640, height: 480
Into: Formats: YUYV
Hi @LQ0212 Have you defined a custom FPS speed for the 640x480 resolution, please? The Failed to resolve the request error usually occurs because a stream configuration has been requested that the camera is not able to provide.
For example, if a custom FPS of 6 was set on a D455 or D456 then this error would occur because these particular camera models have a minimum FPS of 5.
Thank you for your attention, @MartyG-RealSense i did't modify the launch file. I think the fps is be set correctly. And i can run this correctly on my latop with ubuntu 20.04 X86_64 LTS 5.15.0-113. There is the my launch info. roslaunch realsense2_camera rs_d435_camera_with_model.launch ... logging to /home/cc/.ros/log/28ecf2e4-45a5-11ef-bdbb-488f4cff0b90/roslaunch-ubuntu-64174.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.
xacro: in-order processing became default in ROS Melodic. You can drop the option. started roslaunch server http://ubuntu:35177/
SUMMARY
PARAMETERS
- /camera/realsense2_camera/accel_fps: 250
- /camera/realsense2_camera/accel_frame_id: camera_accel_frame
- /camera/realsense2_camera/accel_optical_frame_id: camera_accel_opti...
- /camera/realsense2_camera/align_depth: False
- /camera/realsense2_camera/aligned_depth_to_color_frame_id: camera_aligned_de...
- /camera/realsense2_camera/aligned_depth_to_fisheye1_frame_id: camera_aligned_de...
- /camera/realsense2_camera/aligned_depth_to_fisheye2_frame_id: camera_aligned_de...
- /camera/realsense2_camera/aligned_depth_to_fisheye_frame_id: camera_aligned_de...
- /camera/realsense2_camera/aligned_depth_to_infra1_frame_id: camera_aligned_de...
- /camera/realsense2_camera/aligned_depth_to_infra2_frame_id: camera_aligned_de...
- /camera/realsense2_camera/allow_no_texture_points: False
- /camera/realsense2_camera/base_frame_id: camera_link
- /camera/realsense2_camera/calib_odom_file:
- /camera/realsense2_camera/clip_distance: -2.0
- /camera/realsense2_camera/color_fps: 30
- /camera/realsense2_camera/color_frame_id: camera_color_frame
- /camera/realsense2_camera/color_height: 480
- /camera/realsense2_camera/color_optical_frame_id: camera_color_opti...
- /camera/realsense2_camera/color_width: 640
- /camera/realsense2_camera/confidence_fps: 30
- /camera/realsense2_camera/confidence_height: 480
- /camera/realsense2_camera/confidence_width: 640
- /camera/realsense2_camera/depth_fps: 30
- /camera/realsense2_camera/depth_frame_id: camera_depth_frame
- /camera/realsense2_camera/depth_height: 480
- /camera/realsense2_camera/depth_optical_frame_id: camera_depth_opti...
- /camera/realsense2_camera/depth_width: 640
- /camera/realsense2_camera/device_type:
- /camera/realsense2_camera/enable_accel: True
- /camera/realsense2_camera/enable_color: True
- /camera/realsense2_camera/enable_confidence: True
- /camera/realsense2_camera/enable_depth: True
- /camera/realsense2_camera/enable_fisheye1: False
- /camera/realsense2_camera/enable_fisheye2: False
- /camera/realsense2_camera/enable_fisheye: False
- /camera/realsense2_camera/enable_gyro: True
- /camera/realsense2_camera/enable_infra1: True
- /camera/realsense2_camera/enable_infra2: True
- /camera/realsense2_camera/enable_infra: False
- /camera/realsense2_camera/enable_pointcloud: False
- /camera/realsense2_camera/enable_pose: False
- /camera/realsense2_camera/enable_sync: False
- /camera/realsense2_camera/filters: pointcloud
- /camera/realsense2_camera/fisheye1_frame_id: camera_fisheye1_f...
- /camera/realsense2_camera/fisheye1_optical_frame_id: camera_fisheye1_o...
- /camera/realsense2_camera/fisheye2_frame_id: camera_fisheye2_f...
- /camera/realsense2_camera/fisheye2_optical_frame_id: camera_fisheye2_o...
- /camera/realsense2_camera/fisheye_fps: 30
- /camera/realsense2_camera/fisheye_frame_id: camera_fisheye_frame
- /camera/realsense2_camera/fisheye_height: 480
- /camera/realsense2_camera/fisheye_optical_frame_id: camera_fisheye_op...
- /camera/realsense2_camera/fisheye_width: 640
- /camera/realsense2_camera/gyro_fps: 400
- /camera/realsense2_camera/gyro_frame_id: camera_gyro_frame
- /camera/realsense2_camera/gyro_optical_frame_id: camera_gyro_optic...
- /camera/realsense2_camera/imu_optical_frame_id: camera_imu_optica...
- /camera/realsense2_camera/infra1_frame_id: camera_infra1_frame
- /camera/realsense2_camera/infra1_optical_frame_id: camera_infra1_opt...
- /camera/realsense2_camera/infra2_frame_id: camera_infra2_frame
- /camera/realsense2_camera/infra2_optical_frame_id: camera_infra2_opt...
- /camera/realsense2_camera/infra_fps: 30
- /camera/realsense2_camera/infra_height: 480
- /camera/realsense2_camera/infra_rgb: False
- /camera/realsense2_camera/infra_width: 640
- /camera/realsense2_camera/initial_reset: False
- /camera/realsense2_camera/json_file_path:
- /camera/realsense2_camera/linear_accel_cov: 0.01
- /camera/realsense2_camera/odom_frame_id: camera_odom_frame
- /camera/realsense2_camera/ordered_pc: False
- /camera/realsense2_camera/pointcloud_texture_index: 0
- /camera/realsense2_camera/pointcloud_texture_stream: RS2_STREAM_COLOR
- /camera/realsense2_camera/pose_frame_id: camera_pose_frame
- /camera/realsense2_camera/pose_optical_frame_id: camera_pose_optic...
- /camera/realsense2_camera/publish_odom_tf: True
- /camera/realsense2_camera/publish_tf: True
- /camera/realsense2_camera/reconnect_timeout: 6.0
- /camera/realsense2_camera/rosbag_filename:
- /camera/realsense2_camera/serial_no:
- /camera/realsense2_camera/stereo_module/exposure/1: 7500
- /camera/realsense2_camera/stereo_module/exposure/2: 1
- /camera/realsense2_camera/stereo_module/gain/1: 16
- /camera/realsense2_camera/stereo_module/gain/2: 16
- /camera/realsense2_camera/tf_publish_rate: 0.0
- /camera/realsense2_camera/topic_odom_in: odom_in
- /camera/realsense2_camera/unite_imu_method:
- /camera/realsense2_camera/usb_port_id:
- /camera/realsense2_camera/wait_for_device_timeout: -1.0
- /robot_description: <?xml version="1....
- /rosdistro: noetic
- /rosversion: 1.16.0
NODES / robot_state_publisher (robot_state_publisher/robot_state_publisher) rviz (rviz/rviz) /camera/ realsense2_camera (nodelet/nodelet) realsense2_camera_manager (nodelet/nodelet)
auto-starting new master process[master]: started with pid [64198] ROS_MASTER_URI=http://localhost:11311
setting /run_id to 28ecf2e4-45a5-11ef-bdbb-488f4cff0b90
process[rosout-1]: started with pid [64215]
started core service [/rosout]
process[camera/realsense2_camera_manager-2]: started with pid [64222]
process[camera/realsense2_camera-3]: started with pid [64223]
process[robot_state_publisher-4]: started with pid [64224]
process[rviz-5]: started with pid [64225]
[ INFO] [1721376114.393385207]: Initializing nodelet with 8 worker threads.
[ INFO] [1721376114.560917941]: RealSense ROS v2.3.2
[ INFO] [1721376114.561154619]: Built with LibRealSense v2.50.0
[ INFO] [1721376114.561290335]: Running with LibRealSense v2.50.0
[ INFO] [1721376114.614467111]:
[ INFO] [1721376114.806712075]: Device with serial number 308222300506 was found.
[ INFO] [1721376114.807599905]: Device with physical ID 2-1.3-13 was found. [ INFO] [1721376114.807958154]: Device with name Intel RealSense D455 was found. [ INFO] [1721376114.808961027]: Device with port number 2-1.3 was found. [ INFO] [1721376114.809182280]: Device USB type: 3.2 [ INFO] [1721376114.812278421]: getParameters... [ INFO] [1721376114.889602612]: setupDevice... [ INFO] [1721376114.889665654]: JSON file is not provided [ INFO] [1721376114.889685750]: ROS Node Namespace: camera [ INFO] [1721376114.889706679]: Device Name: Intel RealSense D455 [ INFO] [1721376114.889723255]: Device Serial No: 308222300506 [ INFO] [1721376114.889741144]: Device physical port: 2-1.3-13 [ INFO] [1721376114.889755384]: Device FW version: 05.16.00.01 [ INFO] [1721376114.889769688]: Device Product ID: 0x0B5C [ INFO] [1721376114.889782489]: Enable PointCloud: On [ INFO] [1721376114.889794809]: Align Depth: Off [ INFO] [1721376114.889806809]: Sync Mode: On [ INFO] [1721376114.889892699]: Device Sensors: [ INFO] [1721376115.021968458]: Stereo Module was found. [ INFO] [1721376115.062943651]: RGB Camera was found. [ INFO] [1721376115.064753904]: Motion Module was found. [ INFO] [1721376115.065141657]: (Confidence, 0) sensor isn't supported by current device! -- Skipping... [ INFO] [1721376115.065314845]: Add Filter: pointcloud [ INFO] [1721376115.066024879]: num_filters: 1 [ INFO] [1721376115.066736737]: Setting Dynamic reconfig parameters. hwmon command 0x80( 5 0 0 0 ) failed (response -7= HW not ready) hwmon command 0x80( 5 0 0 0 ) failed (response -7= HW not ready) hwmon command 0x80( 5 0 0 0 ) failed (response -7= HW not ready) hwmon command 0x80( 5 0 0 0 ) failed (response -7= HW not ready) [ INFO] [1721376120.961467782]: Done Setting Dynamic reconfig parameters. [ INFO] [1721376120.962220120]: depth stream is enabled - width: 640, height: 480, fps: 30, Format: Z16 [ INFO] [1721376120.962471326]: infra1 stream is enabled - width: 640, height: 480, fps: 30, Format: Y8 [ INFO] [1721376120.962693700]: infra2 stream is enabled - width: 640, height: 480, fps: 30, Format: Y8 [ INFO] [1721376120.963107502]: color stream is enabled - width: 640, height: 480, fps: 30, Format: RGB8 [ INFO] [1721376120.963151599]: gyro stream is enabled - fps: 400 [ WARN] [1721376120.963175376]: No mathcing profile found for accel with fps=250 [ WARN] [1721376120.963193072]: Using default profile instead. [ INFO] [1721376120.963207857]: accel stream is enabled - fps: 100 [ INFO] [1721376120.963231281]: setupPublishers... [ INFO] [1721376120.967409465]: Expected frequency for depth = 30.00000 [ INFO] [1721376121.021746811]: Expected frequency for infra1 = 30.00000 [ INFO] [1721376121.052392882]: Expected frequency for infra2 = 30.00000 [ INFO] [1721376121.095670977]: Expected frequency for color = 30.00000 [ INFO] [1721376121.145150635]: setupStreams... 19/07 16:02:01,591 WARNING [281472448123248] (ds5-motion.cpp:473) IMU Calibration is not available, default intrinsic and extrinsic will be used. 19/07 16:02:01,905 WARNING [281472216850800] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b 19/07 16:02:01,909 WARNING [281472023916912] (messenger-libusb.cpp:42) control_transfer returned error, index: 4, error: Resource temporarily unavailable, number: b 19/07 16:02:01,911 WARNING [281472023916912] (messenger-libusb.cpp:42) control_transfer returned error, index: 4, error: Resource temporarily unavailable, number: b 19/07 16:02:01,914 WARNING [281472023916912] (messenger-libusb.cpp:42) control_transfer returned error, index: 4, error: Resource temporarily unavailable, number: b 19/07 16:02:01,917 WARNING [281472023916912] (messenger-libusb.cpp:42) control_transfer returned error, index: 4, error: Resource temporarily unavailable, number: b 19/07 16:02:01,919 WARNING [281472023916912] (messenger-libusb.cpp:42) control_transfer returned error, index: 4, error: Resource temporarily unavailable, number: b 19/07 16:02:01,922 WARNING [281472023916912] (messenger-libusb.cpp:42) control_transfer returned error, index: 4, error: Resource temporarily unavailable, number: b 19/07 16:02:01,922 ERROR [281472448123248] (uvc-device.cpp:862) Probe-commit control transfer failed with error: RS2_USB_STATUS_IO [ERROR] [1721376122.115376196]: An exception has been thrown: Failed to resolve the request: Format: RGB8, width: 640, height: 480
Into: Formats: YUYV
[ERROR] [1721376122.115534120]: Exception: Failed to resolve the request: Format: RGB8, width: 640, height: 480
Into: Formats: YUYV
Thank you very much for the log.
The recommended firmware to use with librealsense 2.50.0 is 5.13.0.50 rather than 5.16.0.1, which is designed for librealsense 2.55.1.
The launch file rs_d435_camera_with_model.launch is typically only used when performing robot simulation with Gazebo. Do you experience the error if you use the rs_camera launch file?
roslaunch realsense2_camera rs_camera.launch
yes, if i modify the launch file like below it also has the same error. the origin rs_camera.launch can run without error but i can't get the topic /camera/depth/color/points which is necessary to my project @MartyG-RealSense .So may i reduce firmware version, or upgrade the librealsense?
<arg name="enable_pointcloud" value="$(arg enable_pointcloud)"/>
<arg name="pointcloud_texture_stream" value="$(arg pointcloud_texture_stream)"/>
<arg name="pointcloud_texture_index" value="$(arg pointcloud_texture_index)"/>
<arg name="enable_sync" value="$(arg enable_sync)"/>
<arg name="align_depth" value="$(arg align_depth)"/>
<arg name="fisheye_width" value="$(arg fisheye_width)"/>
<arg name="fisheye_height" value="$(arg fisheye_height)"/>
<arg name="enable_fisheye" value="$(arg enable_fisheye)"/>
<arg name="depth_width" value="$(arg depth_width)"/>
<arg name="depth_height" value="$(arg depth_height)"/>
<arg name="enable_depth" value="$(arg enable_depth)"/>
<arg name="confidence_width" value="$(arg confidence_width)"/>
<arg name="confidence_height" value="$(arg confidence_height)"/>
<arg name="enable_confidence" value="$(arg enable_confidence)"/>
<arg name="confidence_fps" value="$(arg confidence_fps)"/>
<arg name="color_width" value="$(arg color_width)"/>
<arg name="color_height" value="$(arg color_height)"/>
<arg name="enable_color" value="$(arg enable_color)"/>
<arg name="infra_width" value="$(arg infra_width)"/>
<arg name="infra_height" value="$(arg infra_height)"/>
<arg name="enable_infra" value="$(arg enable_infra)"/>
<arg name="enable_infra1" value="$(arg enable_infra1)"/>
<arg name="enable_infra2" value="$(arg enable_infra2)"/>
<arg name="infra_rgb" value="$(arg infra_rgb)"/>
<arg name="fisheye_fps" value="$(arg fisheye_fps)"/>
<arg name="depth_fps" value="$(arg depth_fps)"/>
<arg name="infra_fps" value="$(arg infra_fps)"/>
<arg name="color_fps" value="$(arg color_fps)"/>
<arg name="gyro_fps" value="$(arg gyro_fps)"/>
<arg name="accel_fps" value="$(arg accel_fps)"/>
<arg name="enable_gyro" value="$(arg enable_gyro)"/>
<arg name="enable_accel" value="$(arg enable_accel)"/>
<arg name="publish_tf" value="$(arg publish_tf)"/>
<arg name="tf_publish_rate" value="$(arg tf_publish_rate)"/>
<arg name="filters" value="$(arg filters)"/>
<arg name="clip_distance" value="$(arg clip_distance)"/>
<arg name="linear_accel_cov" value="$(arg linear_accel_cov)"/>
<arg name="initial_reset" value="$(arg initial_reset)"/>
<arg name="reconnect_timeout" value="$(arg reconnect_timeout)"/>
<arg name="wait_for_device_timeout" value="$(arg wait_for_device_timeout)"/>
<arg name="unite_imu_method" value="$(arg unite_imu_method)"/>
<arg name="topic_odom_in" value="$(arg topic_odom_in)"/>
<arg name="calib_odom_file" value="$(arg calib_odom_file)"/>
<arg name="publish_odom_tf" value="$(arg publish_odom_tf)"/>
<arg name="stereo_module/exposure/1" value="$(arg stereo_module/exposure/1)"/>
<arg name="stereo_module/gain/1" value="$(arg stereo_module/gain/1)"/>
<arg name="stereo_module/exposure/2" value="$(arg stereo_module/exposure/2)"/>
<arg name="stereo_module/gain/2" value="$(arg stereo_module/gain/2)"/>
<arg name="allow_no_texture_points" value="$(arg allow_no_texture_points)"/>
<arg name="ordered_pc" value="$(arg ordered_pc)"/>
</include>
The pointcloud is disabled by default in the launch file. It can be enabled using the launch command below.
roslaunch realsense2_camera rs_camera.launch filters:=pointcloud
https://github.com/IntelRealSense/realsense-ros/tree/ros1-legacy?tab=readme-ov-file#point-cloud
I also try this, it can run. However, when i try to echo the topic /camera/depth/color/points there are the log about [ INFO] [1721380215.120778310]: publishing unordered pointcloud. [ WARN] [1721380215.346897315]: No stream match for pointcloud chosen texture Process - Color and there is no output in the rostopic echo. And all these phenomenons only appear when i run on the jetson, when i run on the laptop never appear these errors
No stream match for pointcloud chosen texture Process - Color means that color frames are missing because they are being dropped.
You can publish an ordered pointcloud instead of an unordered one by adding ordered_pc:=true to your roslaunch instruction.
If this does not make a difference then you could try texturing the pointcloud with the infrared image instead of the RGB color image.
roslaunch realsense2_camera rs_camera.launch filters:=pointcloud pointcloud_texture_stream:="RS2_STREAM_INFRARED"
Sometimes the pointcloud filter of the ROS1 wrapper will not work with Jetson boards. A workaround is to perform an RGBD launch instead of rs_camera.
- Install support for an RGBD launch with the command below.
sudo apt-get install ros-noetic-rgbd-launch
- Use the rs_rgbd.launch file.
roslaunch realsense2_camera rs_camera.launch
You do not need to enable the pointcloud filter on this launch file as it is already enabled by default.
The pointcloud will be published to depth_image_proc instead of /camera/depth/color/points
thanks for your help. I will try it on Monday and update the results @MartyG-RealSense
You are very welcome. I look forward to your next update. Good luck!
Thank you for help @MartyG-RealSense . I try the method which use orderd_pc doesn't make any difference. And when I use infrared image the log output as below. [ INFO] [1721609567.428119131]: publishing unordered pointcloud. [ WARN] [1721609567.745491636]: No stream match for pointcloud chosen texture Process - Infrared
I try to use rs_rgbd.launch file
roslaunch realsense2_camera rs_rgbd.launch
I succeed to get the pointcloud data.
You're very welcome. I'm pleased to hear that rs_rgbd worked for you!
Hi @LQ0212 Do you require further assistance with this case, please? Thanks!
Hi @MartyG-RealSense thanks for your assistance, I have no further issue. I will close this issue.
Thanks very much @LQ0212 for the update!