IntelRealSense / realsense-ros

ROS Wrapper for Intel(R) RealSense(TM) Cameras
http://wiki.ros.org/RealSense
Apache License 2.0
2.6k stars 1.76k forks source link

(messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 #2386

Closed hugoyvrn closed 2 years ago

hugoyvrn commented 2 years ago

Hello,

Camera: Realsense depth camera D455 OS: Linux (Ubutuntu 20.04, same issue in Ubuntu 18.04) ROS distribution: ros1 noetic (same issue on ros1 with melodic and ros2 with galactic)

No problem seen with realsense-viewer (neither on Windows 10 nor Ubuntu 20.04).

I changed the USB port and the USB C cable, tested on different computers and reset the camera with realsense-viewer.

I am want to do localization with the camera roslaunch realsense2_camera rs_camera.launch or roslaunch realsense2_camera rs_rgbd.launch, whatever the parameters used I never get Pose, odom nor tf publication.

Two errors seem to be the problem :

control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11

and

(messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0

Does anyone have any idea what is causing this problem?

Thanks in advance.

Some terminal outputs:

$ roslaunch realsense2_camera rs_camera.launch
... logging to /home/hugo/.ros/log/6193d680-f07f-11ec-bc70-611a233072b6/roslaunch-hugo-victus-pc-50095.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.

started roslaunch server http://hugo-victus-pc:38211/

SUMMARY
========

PARAMETERS
* /camera/realsense2_camera/accel_fps: -1
* /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: -1
* /camera/realsense2_camera/color_frame_id: camera_color_frame
* /camera/realsense2_camera/color_height: -1
* /camera/realsense2_camera/color_optical_frame_id: camera_color_opti...
* /camera/realsense2_camera/color_width: -1
* /camera/realsense2_camera/confidence_fps: -1
* /camera/realsense2_camera/confidence_height: -1
* /camera/realsense2_camera/confidence_width: -1
* /camera/realsense2_camera/depth_fps: -1
* /camera/realsense2_camera/depth_frame_id: camera_depth_frame
* /camera/realsense2_camera/depth_height: -1
* /camera/realsense2_camera/depth_optical_frame_id: camera_depth_opti...
* /camera/realsense2_camera/depth_width: -1
* /camera/realsense2_camera/device_type: 
* /camera/realsense2_camera/enable_accel: False
* /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: False
* /camera/realsense2_camera/enable_infra1: False
* /camera/realsense2_camera/enable_infra2: False
* /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: 
* /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: -1
* /camera/realsense2_camera/fisheye_frame_id: camera_fisheye_frame
* /camera/realsense2_camera/fisheye_height: -1
* /camera/realsense2_camera/fisheye_optical_frame_id: camera_fisheye_op...
* /camera/realsense2_camera/fisheye_width: -1
* /camera/realsense2_camera/gyro_fps: -1
* /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: 848
* /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
* /rosdistro: noetic
* /rosversion: 1.15.14

NODES
 /camera/
   realsense2_camera (nodelet/nodelet)
   realsense2_camera_manager (nodelet/nodelet)

auto-starting new master
process[master]: started with pid [50103]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 6193d680-f07f-11ec-bc70-611a233072b6
process[rosout-1]: started with pid [50113]
started core service [/rosout]
process[camera/realsense2_camera_manager-2]: started with pid [50120]
process[camera/realsense2_camera-3]: started with pid [50121]
[ INFO] [1655719043.618976587]: Initializing nodelet with 12 worker threads.
[ INFO] [1655719043.697765201]: RealSense ROS v2.3.2
[ INFO] [1655719043.697793064]: Built with LibRealSense v2.50.0
[ INFO] [1655719043.697804124]: Running with LibRealSense v2.50.0
[ INFO] [1655719043.721419188]:  
[ INFO] [1655719043.813751303]: Device with serial number 146222254421 was found.

[ INFO] [1655719043.813779576]: Device with physical ID 4-2-8 was found.
[ INFO] [1655719043.813790968]: Device with name Intel RealSense D455 was found.
[ INFO] [1655719043.814196131]: Device with port number 4-2 was found.
[ INFO] [1655719043.814233491]: Device USB type: 3.2
[ INFO] [1655719043.815413134]: getParameters...
[ INFO] [1655719043.839399186]: setupDevice...
[ INFO] [1655719043.839434553]: JSON file is not provided
[ INFO] [1655719043.839444772]: ROS Node Namespace: camera
[ INFO] [1655719043.839458798]: Device Name: Intel RealSense D455
[ INFO] [1655719043.839468517]: Device Serial No: 146222254421
[ INFO] [1655719043.839478556]: Device physical port: 4-2-8
[ INFO] [1655719043.839493504]: Device FW version: 05.13.00.50
[ INFO] [1655719043.839506108]: Device Product ID: 0x0B5C
[ INFO] [1655719043.839522138]: Enable PointCloud: Off
[ INFO] [1655719043.839535663]: Align Depth: Off
[ INFO] [1655719043.839548938]: Sync Mode: Off
[ INFO] [1655719043.839586249]: Device Sensors: 
[ INFO] [1655719043.949740456]: Stereo Module was found.
[ INFO] [1655719043.958216042]: RGB Camera was found.
[ INFO] [1655719043.958368679]: Motion Module was found.
[ INFO] [1655719043.958437729]: (Confidence, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1655719043.958491771]: num_filters: 0
[ INFO] [1655719043.958518682]: Setting Dynamic reconfig parameters.
[ INFO] [1655719046.892749434]: Done Setting Dynamic reconfig parameters.
[ INFO] [1655719046.893254876]: depth stream is enabled - width: 848, height: 480, fps: 30, Format: Z16
[ INFO] [1655719046.894264638]: color stream is enabled - width: 1280, height: 720, fps: 30, Format: RGB8
[ INFO] [1655719046.894295607]: setupPublishers...
[ INFO] [1655719046.895967526]: Expected frequency for depth = 30.00000
[ INFO] [1655719046.916838180]: Expected frequency for color = 30.00000
[ INFO] [1655719046.930221941]: setupStreams...
20/06 11:57:27,183 WARNING [140600822843136] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 11:57:27,243 WARNING [140600822843136] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 11:57:27,294 WARNING [140600822843136] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 11:57:27,344 WARNING [140600822843136] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[ INFO] [1655719047.394704697]: SELECTED BASE:Depth, 0
20/06 11:57:27,394 WARNING [140600822843136] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[ INFO] [1655719047.400798075]: RealSense Node Is Up!
[ WARN] [1655719047.561433373]: 
20/06 11:57:27,562 WARNING [140600822843136] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 11:57:27,612 WARNING [140600822843136] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 11:57:27,662 WARNING [140600822843136] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 11:57:27,713 WARNING [140600822843136] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 11:57:27,763 WARNING [140600822843136] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 11:57:27,814 WARNING [140600822843136] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 11:57:27,964 WARNING [140600822843136] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 11:57:28,015 WARNING [140600822843136] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 11:57:28,266 WARNING [140600822843136] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 11:57:28,617 WARNING [140600822843136] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
$ rostopic list
/camera/color/camera_info
/camera/color/image_raw
/camera/color/image_raw/compressed
/camera/color/image_raw/compressed/parameter_descriptions
/camera/color/image_raw/compressed/parameter_updates
/camera/color/image_raw/compressedDepth
/camera/color/image_raw/compressedDepth/parameter_descriptions
/camera/color/image_raw/compressedDepth/parameter_updates
/camera/color/image_raw/theora
/camera/color/image_raw/theora/parameter_descriptions
/camera/color/image_raw/theora/parameter_updates
/camera/color/metadata
/camera/depth/camera_info
/camera/depth/image_rect_raw
/camera/depth/image_rect_raw/compressed
/camera/depth/image_rect_raw/compressed/parameter_descriptions
/camera/depth/image_rect_raw/compressed/parameter_updates
/camera/depth/image_rect_raw/compressedDepth
/camera/depth/image_rect_raw/compressedDepth/parameter_descriptions
/camera/depth/image_rect_raw/compressedDepth/parameter_updates
/camera/depth/image_rect_raw/theora
/camera/depth/image_rect_raw/theora/parameter_descriptions
/camera/depth/image_rect_raw/theora/parameter_updates
/camera/depth/metadata
/camera/extrinsics/depth_to_color
/camera/motion_module/parameter_descriptions
/camera/motion_module/parameter_updates
/camera/realsense2_camera_manager/bond
/camera/rgb_camera/auto_exposure_roi/parameter_descriptions
/camera/rgb_camera/auto_exposure_roi/parameter_updates
/camera/rgb_camera/parameter_descriptions
/camera/rgb_camera/parameter_updates
/camera/stereo_module/auto_exposure_roi/parameter_descriptions
/camera/stereo_module/auto_exposure_roi/parameter_updates
/camera/stereo_module/parameter_descriptions
/camera/stereo_module/parameter_updates
/diagnostics
/rosout
/rosout_agg
/tf
/tf_static
$ roslaunch realsense2_camera rs_rgbd.launch
... logging to /home/hugo/.ros/log/a106dcb8-f07f-11ec-bc70-611a233072b6/roslaunch-hugo-victus-pc-51666.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.

started roslaunch server http://hugo-victus-pc:33301/

SUMMARY
========

PARAMETERS
* /camera/realsense2_camera/accel_fps: -1
* /camera/realsense2_camera/accel_frame_id: camera_accel_frame
* /camera/realsense2_camera/accel_optical_frame_id: camera_accel_opti...
* /camera/realsense2_camera/align_depth: True
* /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: -1.0
* /camera/realsense2_camera/color_fps: -1
* /camera/realsense2_camera/color_frame_id: camera_color_frame
* /camera/realsense2_camera/color_height: -1
* /camera/realsense2_camera/color_optical_frame_id: camera_color_opti...
* /camera/realsense2_camera/color_width: -1
* /camera/realsense2_camera/confidence_fps: 30
* /camera/realsense2_camera/confidence_height: 480
* /camera/realsense2_camera/confidence_width: 640
* /camera/realsense2_camera/depth_fps: -1
* /camera/realsense2_camera/depth_frame_id: camera_depth_frame
* /camera/realsense2_camera/depth_height: -1
* /camera/realsense2_camera/depth_optical_frame_id: camera_depth_opti...
* /camera/realsense2_camera/depth_width: -1
* /camera/realsense2_camera/device_type: 
* /camera/realsense2_camera/enable_accel: False
* /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: False
* /camera/realsense2_camera/enable_infra1: False
* /camera/realsense2_camera/enable_infra2: False
* /camera/realsense2_camera/enable_infra: False
* /camera/realsense2_camera/enable_pointcloud: False
* /camera/realsense2_camera/enable_pose: False
* /camera/realsense2_camera/enable_sync: True
* /camera/realsense2_camera/filters: 
* /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: -1
* /camera/realsense2_camera/fisheye_frame_id: camera_fisheye_frame
* /camera/realsense2_camera/fisheye_height: -1
* /camera/realsense2_camera/fisheye_optical_frame_id: camera_fisheye_op...
* /camera/realsense2_camera/fisheye_width: -1
* /camera/realsense2_camera/gyro_fps: -1
* /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: -1
* /camera/realsense2_camera/infra_height: -1
* /camera/realsense2_camera/infra_rgb: False
* /camera/realsense2_camera/infra_width: -1
* /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: camera/odom_in
* /camera/realsense2_camera/unite_imu_method: none
* /camera/realsense2_camera/usb_port_id: 
* /camera/realsense2_camera/wait_for_device_timeout: -1.0
* /rosdistro: noetic
* /rosversion: 1.15.14

NODES
 /camera/
   color_rectify_color (nodelet/nodelet)
   points_xyzrgb_hw_registered (nodelet/nodelet)
   realsense2_camera (nodelet/nodelet)
   realsense2_camera_manager (nodelet/nodelet)

ROS_MASTER_URI=http://localhost:11311

process[camera/realsense2_camera_manager-1]: started with pid [51680]
process[camera/realsense2_camera-2]: started with pid [51681]
process[camera/color_rectify_color-3]: started with pid [51682]
process[camera/points_xyzrgb_hw_registered-4]: started with pid [51683]
[ INFO] [1655719232.773097383]: Initializing nodelet with 12 worker threads.
[ INFO] [1655719232.857057027]: RealSense ROS v2.3.2
[ INFO] [1655719232.857086743]: Built with LibRealSense v2.50.0
[ INFO] [1655719232.857097854]: Running with LibRealSense v2.50.0
[ INFO] [1655719232.887910396]:  
20/06 12:00:32,950 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Success, number: 0
[ INFO] [1655719233.022537081]: Device with serial number 146222254421 was found.

[ INFO] [1655719233.022571526]: Device with physical ID 4-2-8 was found.
[ INFO] [1655719233.022581365]: Device with name Intel RealSense D455 was found.
[ INFO] [1655719233.022808112]: Device with port number 4-2 was found.
[ INFO] [1655719233.022833650]: Device USB type: 3.2
[ INFO] [1655719233.023957187]: getParameters...
[ INFO] [1655719233.049798574]: setupDevice...
[ INFO] [1655719233.049828110]: JSON file is not provided
[ INFO] [1655719233.049839321]: ROS Node Namespace: camera
[ INFO] [1655719233.049864588]: Device Name: Intel RealSense D455
[ INFO] [1655719233.049921355]: Device Serial No: 146222254421
[ INFO] [1655719233.049946112]: Device physical port: 4-2-8
[ INFO] [1655719233.049966270]: Device FW version: 05.13.00.50
[ INFO] [1655719233.050112716]: Device Product ID: 0x0B5C
[ INFO] [1655719233.050155236]: Enable PointCloud: Off
[ INFO] [1655719233.050173240]: Align Depth: On
[ INFO] [1655719233.050192927]: Sync Mode: On
[ INFO] [1655719233.050368327]: Device Sensors: 
[ INFO] [1655719233.145114190]: Stereo Module was found.
[ INFO] [1655719233.152365018]: RGB Camera was found.
[ INFO] [1655719233.152504281]: Motion Module was found.
[ INFO] [1655719233.152549145]: (Confidence, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1655719233.152814084]: num_filters: 1
[ INFO] [1655719233.152830876]: Setting Dynamic reconfig parameters.
20/06 12:00:34,906 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b
20/06 12:00:35,502 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b
20/06 12:00:35,934 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b
20/06 12:00:36,054 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b
[ INFO] [1655719236.199447079]: Done Setting Dynamic reconfig parameters.
[ INFO] [1655719236.200029285]: depth stream is enabled - width: 848, height: 480, fps: 30, Format: Z16
[ INFO] [1655719236.201069274]: color stream is enabled - width: 1280, height: 720, fps: 30, Format: RGB8
[ INFO] [1655719236.202189244]: setupPublishers...
[ INFO] [1655719236.203874108]: Expected frequency for depth = 30.00000
[ INFO] [1655719236.218644561]: Expected frequency for color = 30.00000
[ INFO] [1655719236.232832827]: Expected frequency for aligned_depth_to_color = 30.00000
[ INFO] [1655719236.247574666]: setupStreams...
20/06 12:00:36,450 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[ INFO] [1655719236.510626917]: SELECTED BASE:Depth, 0
[ INFO] [1655719236.516470936]: RealSense Node Is Up!
20/06 12:00:36,601 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b
20/06 12:00:36,651 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b
20/06 12:00:36,802 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b
[ WARN] [1655719236.831714639]: 
20/06 12:00:36,852 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 12:00:36,903 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 12:00:36,953 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b
20/06 12:00:37,004 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 12:00:37,054 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b
20/06 12:00:37,105 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 12:00:37,356 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b
20/06 12:00:38,109 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 12:00:38,360 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 12:00:40,411 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 12:00:47,464 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 12:00:49,514 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 12:00:55,567 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 12:01:00,619 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 12:01:01,670 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
20/06 12:01:03,721 WARNING [140685741999872] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
$ roslaunch realsense2_camera rs_rgbd.launch
... logging to /home/hugo/.ros/log/a106dcb8-f07f-11ec-bc70-611a233072b6/roslaunch-hugo-victus-pc-52216.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.

started roslaunch server http://hugo-victus-pc:41133/

SUMMARY
========

PARAMETERS
* /camera/realsense2_camera/accel_fps: -1
* /camera/realsense2_camera/accel_frame_id: camera_accel_frame
* /camera/realsense2_camera/accel_optical_frame_id: camera_accel_opti...
* /camera/realsense2_camera/align_depth: True
* /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: -1.0
* /camera/realsense2_camera/color_fps: -1
* /camera/realsense2_camera/color_frame_id: camera_color_frame
* /camera/realsense2_camera/color_height: -1
* /camera/realsense2_camera/color_optical_frame_id: camera_color_opti...
* /camera/realsense2_camera/color_width: -1
* /camera/realsense2_camera/confidence_fps: 30
* /camera/realsense2_camera/confidence_height: 480
* /camera/realsense2_camera/confidence_width: 640
* /camera/realsense2_camera/depth_fps: -1
* /camera/realsense2_camera/depth_frame_id: camera_depth_frame
* /camera/realsense2_camera/depth_height: -1
* /camera/realsense2_camera/depth_optical_frame_id: camera_depth_opti...
* /camera/realsense2_camera/depth_width: -1
* /camera/realsense2_camera/device_type: 
* /camera/realsense2_camera/enable_accel: False
* /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: False
* /camera/realsense2_camera/enable_infra1: False
* /camera/realsense2_camera/enable_infra2: False
* /camera/realsense2_camera/enable_infra: False
* /camera/realsense2_camera/enable_pointcloud: False
* /camera/realsense2_camera/enable_pose: False
* /camera/realsense2_camera/enable_sync: True
* /camera/realsense2_camera/filters: 
* /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: -1
* /camera/realsense2_camera/fisheye_frame_id: camera_fisheye_frame
* /camera/realsense2_camera/fisheye_height: -1
* /camera/realsense2_camera/fisheye_optical_frame_id: camera_fisheye_op...
* /camera/realsense2_camera/fisheye_width: -1
* /camera/realsense2_camera/gyro_fps: -1
* /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: -1
* /camera/realsense2_camera/infra_height: -1
* /camera/realsense2_camera/infra_rgb: False
* /camera/realsense2_camera/infra_width: -1
* /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: camera/odom_in
* /camera/realsense2_camera/unite_imu_method: none
* /camera/realsense2_camera/usb_port_id: 
* /camera/realsense2_camera/wait_for_device_timeout: -1.0
* /rosdistro: noetic
* /rosversion: 1.15.14

NODES
 /camera/
   color_rectify_color (nodelet/nodelet)
   points_xyzrgb_hw_registered (nodelet/nodelet)
   realsense2_camera (nodelet/nodelet)
   realsense2_camera_manager (nodelet/nodelet)

ROS_MASTER_URI=http://localhost:11311

process[camera/realsense2_camera_manager-1]: started with pid [52230]
process[camera/realsense2_camera-2]: started with pid [52231]
process[camera/color_rectify_color-3]: started with pid [52232]
process[camera/points_xyzrgb_hw_registered-4]: started with pid [52233]
[ INFO] [1655719357.713582827]: Initializing nodelet with 12 worker threads.
[ INFO] [1655719357.797301898]: RealSense ROS v2.3.2
[ INFO] [1655719357.797330432]: Built with LibRealSense v2.50.0
[ INFO] [1655719357.797341182]: Running with LibRealSense v2.50.0
[ INFO] [1655719357.823514144]:  
20/06 12:02:37,894 WARNING [139763623151360] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Success, number: 0
[ INFO] [1655719357.969311322]: Device with serial number 146222254421 was found.

[ INFO] [1655719357.969352961]: Device with physical ID 4-2-8 was found.
[ INFO] [1655719357.969365114]: Device with name Intel RealSense D455 was found.
[ INFO] [1655719357.969620094]: Device with port number 4-2 was found.
[ INFO] [1655719357.969641053]: Device USB type: 3.2
[ INFO] [1655719357.971709960]: getParameters...
[ INFO] [1655719358.001388085]: setupDevice...
[ INFO] [1655719358.001423652]: JSON file is not provided
[ INFO] [1655719358.001451484]: ROS Node Namespace: camera
[ INFO] [1655719358.001466302]: Device Name: Intel RealSense D455
[ INFO] [1655719358.001479627]: Device Serial No: 146222254421
[ INFO] [1655719358.001493674]: Device physical port: 4-2-8
[ INFO] [1655719358.001508382]: Device FW version: 05.13.00.50
[ INFO] [1655719358.001523811]: Device Product ID: 0x0B5C
[ INFO] [1655719358.001539240]: Enable PointCloud: Off
[ INFO] [1655719358.001562213]: Align Depth: On
[ INFO] [1655719358.001576831]: Sync Mode: On
[ INFO] [1655719358.001672170]: Device Sensors: 
[ INFO] [1655719358.069747033]: Stereo Module was found.
[ INFO] [1655719358.076997270]: RGB Camera was found.
[ INFO] [1655719358.077154977]: Motion Module was found.
[ INFO] [1655719358.077214429]: (Confidence, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1655719358.077528180]: num_filters: 1
[ INFO] [1655719358.077548017]: Setting Dynamic reconfig parameters.
20/06 12:02:40,658 WARNING [139763623151360] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Success, number: 0
20/06 12:02:40,886 WARNING [139763623151360] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Success, number: 0
[ INFO] [1655719361.034560985]: Done Setting Dynamic reconfig parameters.
[ INFO] [1655719361.035223343]: depth stream is enabled - width: 848, height: 480, fps: 30, Format: Z16
[ INFO] [1655719361.036286215]: color stream is enabled - width: 1280, height: 720, fps: 30, Format: RGB8
[ INFO] [1655719361.037466729]: setupPublishers...
[ INFO] [1655719361.039351048]: Expected frequency for depth = 30.00000
[ INFO] [1655719361.054745647]: Expected frequency for color = 30.00000
[ INFO] [1655719361.069088985]: Expected frequency for aligned_depth_to_color = 30.00000
[ INFO] [1655719361.085369122]: setupStreams...
20/06 12:02:41,142 WARNING [139763623151360] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Success, number: 0
20/06 12:02:41,254 WARNING [139763623151360] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Success, number: 0
20/06 12:02:41,394 WARNING [139763623151360] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
20/06 12:02:41,453 WARNING [139763623151360] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
20/06 12:02:41,504 WARNING [139763623151360] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
20/06 12:02:41,554 WARNING [139763623151360] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
[ INFO] [1655719361.604797989]: SELECTED BASE:Depth, 0
20/06 12:02:41,604 WARNING [139763623151360] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
[ INFO] [1655719361.611420584]: RealSense Node Is Up!
[ WARN] [1655719361.773317819]: 
20/06 12:02:41,774 WARNING [139763623151360] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
20/06 12:02:41,824 WARNING [139763623151360] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
20/06 12:02:41,874 WARNING [139763623151360] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
20/06 12:02:41,925 WARNING [139763623151360] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
20/06 12:02:41,975 WARNING [139763623151360] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
20/06 12:02:42,026 WARNING [139763623151360] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
20/06 12:02:42,177 WARNING [139763623151360] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
20/06 12:02:42,227 WARNING [139763623151360] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Success, number: 0

With roslaunch realsense2_camera opensource_tracking.launch I get good publications in \tf during a few seconds, then I only get completely wrong publication publication. Here is the terminal output:

[ INFO] [1655716881.541122980]: Odom: quality=223, std dev=0.007723m|0.059663rad, update time=0.073466s
[ INFO] [1655716881.633912988]: Odom: quality=219, std dev=0.005451m|0.043116rad, update time=0.083607s
[ INFO] [1655716881.636205547]: rtabmap (17): Rate=1.00s, Limit=0.000s, Conversion=0.0024s, RTAB-Map=0.0923s, Maps update=0.0001s pub=0.0000s (local map=9, WM=9)
[ INFO] [1655716881.715021101]: Odom: quality=247, std dev=0.007634m|0.046331rad, update time=0.079402s
[ INFO] [1655716881.787832155]: Odom: quality=243, std dev=0.005919m|0.047716rad, update time=0.069998s
[ INFO] [1655716881.867734818]: Odom: quality=233, std dev=0.005909m|0.041195rad, update time=0.078300s
[ INFO] [1655716881.940044086]: Odom: quality=251, std dev=0.005565m|0.043116rad, update time=0.070582s
[ INFO] [1655716882.016142643]: Odom: quality=263, std dev=0.007160m|0.059663rad, update time=0.074729s
[ INFO] [1655716882.105024539]: Odom: quality=257, std dev=0.006092m|0.038960rad, update time=0.086667s
[ INFO] [1655716882.184952770]: Odom: quality=220, std dev=0.008399m|0.048989rad, update time=0.078436s
[ INFO] [1655716882.269464154]: Odom: quality=222, std dev=0.008890m|0.051274rad, update time=0.083031s
[ INFO] [1655716882.351976643]: Odom: quality=209, std dev=0.009655m|0.059663rad, update time=0.081362s
[ INFO] [1655716882.437525541]: Odom: quality=201, std dev=0.007615m|0.055097rad, update time=0.083349s
[ INFO] [1655716882.516818214]: Odom: quality=168, std dev=0.009176m|0.071745rad, update time=0.076736s
[ INFO] [1655716882.600764534]: Odom: quality=199, std dev=0.010326m|0.057516rad, update time=0.081679s
[ INFO] [1655716882.687249045]: Odom: quality=192, std dev=0.008734m|0.056744rad, update time=0.083682s
[ INFO] [1655716882.708794379]: rtabmap (18): Rate=1.00s, Limit=0.000s, Conversion=0.0029s, RTAB-Map=0.1046s, Maps update=0.0001s pub=0.0000s (local map=10, WM=10)
[ INFO] [1655716882.771998417]: Odom: quality=187, std dev=0.010102m|0.055097rad, update time=0.083160s
[ INFO] [1655716882.854897453]: Odom: quality=196, std dev=0.008572m|0.053288rad, update time=0.081562s
[ INFO] [1655716882.935566830]: Odom: quality=210, std dev=0.009652m|0.053288rad, update time=0.079059s
[ INFO] [1655716883.018423627]: Odom: quality=186, std dev=0.008817m|0.051274rad, update time=0.080251s
[ INFO] [1655716883.100368927]: Odom: quality=192, std dev=0.009802m|0.054216rad, update time=0.080279s
[ INFO] [1655716883.177848725]: Odom: quality=168, std dev=0.010775m|0.065522rad, update time=0.076022s
[ INFO] [1655716883.266737586]: Odom: quality=162, std dev=0.008985m|0.060330rad, update time=0.087199s
[ INFO] [1655716883.347113419]: Odom: quality=132, std dev=0.009735m|0.063929rad, update time=0.078926s
[ INFO] [1655716883.432341864]: Odom: quality=148, std dev=0.009752m|0.058258rad, update time=0.082856s
[ INFO] [1655716883.499896446]: Odom: quality=54, std dev=0.015196m|0.068844rad, update time=0.066040s
[ INFO] [1655716883.581964117]: Odom: quality=29, std dev=0.017413m|0.070545rad, update time=0.080086s
[ INFO] [1655716883.669493876]: Odom: quality=45, std dev=0.023501m|0.067480rad, update time=0.085069s
[ WARN] (2022-06-20 11:21:23.739) OdometryF2M.cpp:529::computeTransform() Registration failed: "Not enough inliers 18/20 (matches=266) between -1 and 229" (guess=xyz=0.007288,0.016034,-0.040770 rpy=-0.036146,0.048548,-0.059732)
[ WARN] (2022-06-20 11:21:23.739) OdometryF2M.cpp:290::computeTransform() Failed to find a transformation with the provided guess (xyz=0.007288,0.016034,-0.040770 rpy=-0.036146,0.048548,-0.059732), trying again without a guess.
[ INFO] [1655716883.797431693]: rtabmap (19): Rate=1.00s, Limit=0.000s, Conversion=0.0027s, RTAB-Map=0.1249s, Maps update=0.0001s pub=0.0000s (local map=11, WM=11)
[ WARN] (2022-06-20 11:21:23.817) OdometryF2M.cpp:519::computeTransform() Trial with no guess still fail.
[ WARN] (2022-06-20 11:21:23.817) OdometryF2M.cpp:529::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=100) between -1 and 229" (guess=xyz=0.007288,0.016034,-0.040770 rpy=-0.036146,0.048548,-0.059732)
[ INFO] [1655716883.819452954]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.148276s
[ WARN] (2022-06-20 11:21:23.918) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=128) between -1 and 230"
[ INFO] [1655716883.919374977]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.098378s
[ WARN] (2022-06-20 11:21:24.013) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=110) between -1 and 231"
[ INFO] [1655716884.014773549]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.093892s
[ WARN] (2022-06-20 11:21:24.107) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=112) between -1 and 232"
[ INFO] [1655716884.107737405]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.091086s
[ WARN] (2022-06-20 11:21:24.201) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=111) between -1 and 233"
[ INFO] [1655716884.202253946]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.093437s
[ WARN] (2022-06-20 11:21:24.287) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=96) between -1 and 234"
[ INFO] [1655716884.287855292]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.083892s
[ WARN] (2022-06-20 11:21:24.384) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=94) between -1 and 235"
[ INFO] [1655716884.385659897]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.096478s
[ WARN] (2022-06-20 11:21:24.481) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=82) between -1 and 236"
[ INFO] [1655716884.482607256]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.095535s
[ WARN] (2022-06-20 11:21:24.581) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=96) between -1 and 237"
[ INFO] [1655716884.582290459]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.097877s
[ WARN] (2022-06-20 11:21:24.676) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=92) between -1 and 238"
[ INFO] [1655716884.677128425]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.093180s
[ WARN] (2022-06-20 11:21:24.770) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=87) between -1 and 239"
[ INFO] [1655716884.771422667]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.092631s
[ERROR] (2022-06-20 11:21:24.773) Rtabmap.cpp:1277::process() RGB-D SLAM mode is enabled, memory is incremental but no odometry is provided. Image 607 is ignored!
[ INFO] [1655716884.773435338]: rtabmap (19): Rate=1.00s, Limit=0.000s, Conversion=0.0016s, RTAB-Map=0.0002s, Maps update=0.0000s pub=0.0000s (local map=11, WM=11)
[ WARN] (2022-06-20 11:21:24.867) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=86) between -1 and 240"
[ INFO] [1655716884.869162048]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.095756s
[ WARN] (2022-06-20 11:21:24.963) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=81) between -1 and 241"
[ INFO] [1655716884.966205499]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.095124s
[ WARN] (2022-06-20 11:21:25.056) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=93) between -1 and 242"
[ INFO] [1655716885.056710213]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.088823s
[ WARN] (2022-06-20 11:21:25.149) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=98) between -1 and 243"
[ INFO] [1655716885.149890075]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.091411s
[ WARN] (2022-06-20 11:21:25.241) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=110) between -1 and 244"
[ INFO] [1655716885.241869196]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.090804s
[ WARN] (2022-06-20 11:21:25.340) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=105) between -1 and 245"
[ INFO] [1655716885.341199164]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.097723s
[ WARN] (2022-06-20 11:21:25.436) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=92) between -1 and 246"
[ INFO] [1655716885.437088340]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.093939s
[ WARN] (2022-06-20 11:21:25.534) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=95) between -1 and 247"
[ INFO] [1655716885.535575840]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.097187s
[ WARN] (2022-06-20 11:21:25.624) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=89) between -1 and 248"
[ INFO] [1655716885.625547620]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.088747s
[ WARN] (2022-06-20 11:21:25.733) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=95) between -1 and 249"
[ INFO] [1655716885.734145576]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.100148s
[ WARN] (2022-06-20 11:21:25.835) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=85) between -1 and 250"
[ INFO] [1655716885.836490613]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.100000s
[ERROR] (2022-06-20 11:21:25.838) Rtabmap.cpp:1277::process() RGB-D SLAM mode is enabled, memory is incremental but no odometry is provided. Image 639 is ignored!
[ INFO] [1655716885.838836772]: rtabmap (19): Rate=1.00s, Limit=0.000s, Conversion=0.0020s, RTAB-Map=0.0001s, Maps update=0.0000s pub=0.0000s (local map=11, WM=11)
[ WARN] (2022-06-20 11:21:25.936) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=84) between -1 and 251"
[ INFO] [1655716885.936707641]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.098461s
[ WARN] (2022-06-20 11:21:26.038) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=84) between -1 and 252"
[ INFO] [1655716886.038966847]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.101214s
[ WARN] (2022-06-20 11:21:26.135) OdometryF2M.cpp:525::computeTransform() Registration failed: "Not enough inliers 0/20 (matches=81) between -1 and 253"
[ INFO] [1655716886.136475223]: Odom: quality=0, std dev=0.000000m|0.000000rad, update time=0.096497s
MartyG-RealSense commented 2 years ago

Hi @hugoyvrn Does the warning still occur if you reset the camera in the ROS wrapper by including the command initial_reset:=true in your roslaunch instruction, please?

roslaunch realsense2_camera rs_camera.launch initial_reset:=true

hugoyvrn commented 2 years ago

Thanks @MartyG-RealSense for your quick response.

This is the first thing I tried, it doesn't seem to change anything.

$ roslaunch realsense2_camera rs_camera.launch initial_reset:=true
... logging to /home/hugo/.ros/log/a106dcb8-f07f-11ec-bc70-611a233072b6/roslaunch-hugo-victus-pc-58553.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.

started roslaunch server http://hugo-victus-pc:41301/

SUMMARY
========

PARAMETERS
 * /camera/realsense2_camera/accel_fps: -1
 * /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: -1
 * /camera/realsense2_camera/color_frame_id: camera_color_frame
 * /camera/realsense2_camera/color_height: -1
 * /camera/realsense2_camera/color_optical_frame_id: camera_color_opti...
 * /camera/realsense2_camera/color_width: -1
 * /camera/realsense2_camera/confidence_fps: -1
 * /camera/realsense2_camera/confidence_height: -1
 * /camera/realsense2_camera/confidence_width: -1
 * /camera/realsense2_camera/depth_fps: -1
 * /camera/realsense2_camera/depth_frame_id: camera_depth_frame
 * /camera/realsense2_camera/depth_height: -1
 * /camera/realsense2_camera/depth_optical_frame_id: camera_depth_opti...
 * /camera/realsense2_camera/depth_width: -1
 * /camera/realsense2_camera/device_type: 
 * /camera/realsense2_camera/enable_accel: False
 * /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: False
 * /camera/realsense2_camera/enable_infra1: False
 * /camera/realsense2_camera/enable_infra2: False
 * /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: 
 * /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: -1
 * /camera/realsense2_camera/fisheye_frame_id: camera_fisheye_frame
 * /camera/realsense2_camera/fisheye_height: -1
 * /camera/realsense2_camera/fisheye_optical_frame_id: camera_fisheye_op...
 * /camera/realsense2_camera/fisheye_width: -1
 * /camera/realsense2_camera/gyro_fps: -1
 * /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: 848
 * /camera/realsense2_camera/initial_reset: True
 * /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
 * /rosdistro: noetic
 * /rosversion: 1.15.14

NODES
  /camera/
    realsense2_camera (nodelet/nodelet)
    realsense2_camera_manager (nodelet/nodelet)

ROS_MASTER_URI=http://localhost:11311

process[camera/realsense2_camera_manager-1]: started with pid [58567]
process[camera/realsense2_camera-2]: started with pid [58568]
[ INFO] [1655731385.680638651]: Initializing nodelet with 12 worker threads.
[ INFO] [1655731385.754289811]: RealSense ROS v2.3.2
[ INFO] [1655731385.754319878]: Built with LibRealSense v2.50.0
[ INFO] [1655731385.754329657]: Running with LibRealSense v2.50.0
[ INFO] [1655731385.778337614]:  
[ INFO] [1655731385.883844192]: Device with serial number 146222254421 was found.

[ INFO] [1655731385.883877255]: Device with physical ID 4-1-9 was found.
[ INFO] [1655731385.883888216]: Device with name Intel RealSense D455 was found.
[ INFO] [1655731385.884233015]: Device with port number 4-1 was found.
[ INFO] [1655731385.884249807]: Device USB type: 3.2
[ INFO] [1655731385.884265858]: Resetting device...
[ INFO] [1655731391.961025976]:  
[ INFO] [1655731392.062878063]: Device with serial number 146222254421 was found.

[ INFO] [1655731392.062910835]: Device with physical ID 4-1-9 was found.
[ INFO] [1655731392.062919903]: Device with name Intel RealSense D455 was found.
[ INFO] [1655731392.063215247]: Device with port number 4-1 was found.
[ INFO] [1655731392.063236558]: Device USB type: 3.2
[ INFO] [1655731392.064862915]: getParameters...
[ INFO] [1655731392.094779740]: setupDevice...
[ INFO] [1655731392.094808085]: JSON file is not provided
[ INFO] [1655731392.094816080]: ROS Node Namespace: camera
[ INFO] [1655731392.094824616]: Device Name: Intel RealSense D455
[ INFO] [1655731392.094830618]: Device Serial No: 146222254421
[ INFO] [1655731392.094837401]: Device physical port: 4-1-9
[ INFO] [1655731392.094843132]: Device FW version: 05.13.00.50
[ INFO] [1655731392.094850395]: Device Product ID: 0x0B5C
[ INFO] [1655731392.094855976]: Enable PointCloud: Off
[ INFO] [1655731392.094861607]: Align Depth: Off
[ INFO] [1655731392.094869251]: Sync Mode: Off
[ INFO] [1655731392.094896203]: Device Sensors: 
[ INFO] [1655731392.190691378]: Stereo Module was found.
[ INFO] [1655731392.197778718]: RGB Camera was found.
[ INFO] [1655731392.197887306]: Motion Module was found.
[ INFO] [1655731392.197919868]: (Confidence, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1655731392.197945948]: num_filters: 0
[ INFO] [1655731392.197961457]: Setting Dynamic reconfig parameters.
[ INFO] [1655731395.240527707]: Done Setting Dynamic reconfig parameters.
[ INFO] [1655731395.240949643]: depth stream is enabled - width: 848, height: 480, fps: 30, Format: Z16
[ INFO] [1655731395.241797553]: color stream is enabled - width: 1280, height: 720, fps: 30, Format: RGB8
[ INFO] [1655731395.241821919]: setupPublishers...
[ INFO] [1655731395.243467794]: Expected frequency for depth = 30.00000
[ INFO] [1655731395.264402819]: Expected frequency for color = 30.00000
[ INFO] [1655731395.278194679]: setupStreams...
 20/06 15:23:15,526 WARNING [139947239515904] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 20/06 15:23:15,577 WARNING [139947239515904] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 20/06 15:23:15,627 WARNING [139947239515904] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[ INFO] [1655731395.677900580]: SELECTED BASE:Depth, 0
[ INFO] [1655731395.685538742]: RealSense Node Is Up!
[ WARN] [1655731395.740031650]: 
 20/06 15:23:15,740 WARNING [139947239515904] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 20/06 15:23:15,791 WARNING [139947239515904] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 20/06 15:23:15,841 WARNING [139947239515904] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 20/06 15:23:15,891 WARNING [139947239515904] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
MartyG-RealSense commented 2 years ago

Thank you. Next, let's test whether the problem is related to the ROS wrapper having difficulty with processing the volume of data by using a lower stream configuration (depth only, 640x480, 15 FPS).

roslaunch realsense2_camera rs_camera.launch depth_width:=640 depth_height:=480 depth_fps:=15

Do the control_transfer_returned warnings still occur with this launch?

hugoyvrn commented 2 years ago

Okay, do you have any idea how I can fix this? To me, it seems to be a camera software issue.

There is no change with these settings (I've already tested a lot of configurations from what you gave in the other github issues).

$ roslaunch realsense2_camera rs_camera.launch depth_width:=640 depth_height:=480 depth_fps:=15
... logging to /home/hugo/.ros/log/a106dcb8-f07f-11ec-bc70-611a233072b6/roslaunch-hugo-victus-pc-70981.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.

started roslaunch server http://hugo-victus-pc:46029/

SUMMARY
========

PARAMETERS
 * /camera/realsense2_camera/accel_fps: -1
 * /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: -1
 * /camera/realsense2_camera/color_frame_id: camera_color_frame
 * /camera/realsense2_camera/color_height: -1
 * /camera/realsense2_camera/color_optical_frame_id: camera_color_opti...
 * /camera/realsense2_camera/color_width: -1
 * /camera/realsense2_camera/confidence_fps: -1
 * /camera/realsense2_camera/confidence_height: -1
 * /camera/realsense2_camera/confidence_width: -1
 * /camera/realsense2_camera/depth_fps: 15
 * /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: False
 * /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: False
 * /camera/realsense2_camera/enable_infra1: False
 * /camera/realsense2_camera/enable_infra2: False
 * /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: 
 * /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: -1
 * /camera/realsense2_camera/fisheye_frame_id: camera_fisheye_frame
 * /camera/realsense2_camera/fisheye_height: -1
 * /camera/realsense2_camera/fisheye_optical_frame_id: camera_fisheye_op...
 * /camera/realsense2_camera/fisheye_width: -1
 * /camera/realsense2_camera/gyro_fps: -1
 * /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: 848
 * /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
 * /rosdistro: noetic
 * /rosversion: 1.15.14

NODES
  /camera/
    realsense2_camera (nodelet/nodelet)
    realsense2_camera_manager (nodelet/nodelet)

ROS_MASTER_URI=http://localhost:11311

process[camera/realsense2_camera_manager-1]: started with pid [70995]
process[camera/realsense2_camera-2]: started with pid [70996]
[ INFO] [1655754316.965389729]: Initializing nodelet with 12 worker threads.
[ INFO] [1655754317.033177845]: RealSense ROS v2.3.2
[ INFO] [1655754317.033209716]: Built with LibRealSense v2.50.0
[ INFO] [1655754317.033223492]: Running with LibRealSense v2.50.0
[ INFO] [1655754317.055527793]:  
[ INFO] [1655754317.153544439]: Device with serial number 146222254421 was found.

[ INFO] [1655754317.153572362]: Device with physical ID 4-1-10 was found.
[ INFO] [1655754317.153580107]: Device with name Intel RealSense D455 was found.
[ INFO] [1655754317.153941709]: Device with port number 4-1 was found.
[ INFO] [1655754317.153980684]: Device USB type: 3.2
[ INFO] [1655754317.155082431]: getParameters...
[ INFO] [1655754317.185069871]: setupDevice...
[ INFO] [1655754317.185106611]: JSON file is not provided
[ INFO] [1655754317.185117341]: ROS Node Namespace: camera
[ INFO] [1655754317.185131088]: Device Name: Intel RealSense D455
[ INFO] [1655754317.185140415]: Device Serial No: 146222254421
[ INFO] [1655754317.185149292]: Device physical port: 4-1-10
[ INFO] [1655754317.185157658]: Device FW version: 05.13.00.50
[ INFO] [1655754317.185166275]: Device Product ID: 0x0B5C
[ INFO] [1655754317.185174370]: Enable PointCloud: Off
[ INFO] [1655754317.185182316]: Align Depth: Off
[ INFO] [1655754317.185190271]: Sync Mode: Off
[ INFO] [1655754317.185228394]: Device Sensors: 
[ INFO] [1655754317.281893534]: Stereo Module was found.
[ INFO] [1655754317.289269696]: RGB Camera was found.
[ INFO] [1655754317.289403632]: Motion Module was found.
[ INFO] [1655754317.289432978]: (Confidence, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1655754317.289458627]: num_filters: 0
[ INFO] [1655754317.289473045]: Setting Dynamic reconfig parameters.
 20/06 21:45:19,730 WARNING [140378555541248] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b
 20/06 21:45:19,994 WARNING [140378555541248] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b
[ INFO] [1655754320.442757916]: Done Setting Dynamic reconfig parameters.
[ INFO] [1655754320.443154305]: depth stream is enabled - width: 640, height: 480, fps: 15, Format: Z16
[ INFO] [1655754320.443989392]: color stream is enabled - width: 1280, height: 720, fps: 30, Format: RGB8
[ INFO] [1655754320.444064356]: setupPublishers...
[ INFO] [1655754320.445538586]: Expected frequency for depth = 15.00000
[ INFO] [1655754320.474307173]: Expected frequency for color = 30.00000
[ INFO] [1655754320.488904340]: setupStreams...
 20/06 21:45:20,704 WARNING [140378555541248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 20/06 21:45:20,754 WARNING [140378555541248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 20/06 21:45:20,804 WARNING [140378555541248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[ INFO] [1655754320.854922430]: SELECTED BASE:Depth, 0
 20/06 21:45:20,854 WARNING [140378555541248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[ INFO] [1655754320.860755640]: RealSense Node Is Up!
[ WARN] [1655754321.025031797]: 
 20/06 21:45:21,025 WARNING [140378555541248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 20/06 21:45:21,075 WARNING [140378555541248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 20/06 21:45:21,125 WARNING [140378555541248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 20/06 21:45:21,176 WARNING [140378555541248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 20/06 21:45:21,226 WARNING [140378555541248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 20/06 21:45:21,277 WARNING [140378555541248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 20/06 21:45:21,327 WARNING [140378555541248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 20/06 21:45:21,377 WARNING [140378555541248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 20/06 21:45:21,528 WARNING [140378555541248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 20/06 21:45:21,679 WARNING [140378555541248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 20/06 21:45:21,729 WARNING [140378555541248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 20/06 21:45:21,879 WARNING [140378555541248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 20/06 21:45:21,930 WARNING [140378555541248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 20/06 21:45:22,080 WARNING [140378555541248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 20/06 21:45:22,130 WARNING [140378555541248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
MartyG-RealSense commented 2 years ago

Can you confirm that you do not have any other RealSense programs, such as realsense-viewer, already streaming with the camera before you perform the ROS launch?

Do the warnings reduce if you add enable_color:=false to your roslaunch instruction to disable the color stream?

hugoyvrn commented 2 years ago

I can confirm you that I do not have any other RealSense programs lunch at the same time.

Today, even after rebooting my computer, I have the other issue (the error (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0). But with another computer I still get the same issue (the error (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11). Anyway enable_color:=false does not change a thing.

$ roslaunch realsense2_camera rs_camera.launch depth_width:=640 depth_height:=480 depth_fps:=15 enable_color:=false
... logging to /home/hugo/.ros/log/27819598-f144-11ec-afad-a598d86d1557/roslaunch-hugo-victus-pc-19792.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.started roslaunch server http://hugo-victus-pc:40621/SUMMARY
========PARAMETERS
 * /camera/realsense2_camera/accel_fps: -1
 * /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: -1
 * /camera/realsense2_camera/color_frame_id: camera_color_frame
 * /camera/realsense2_camera/color_height: -1
 * /camera/realsense2_camera/color_optical_frame_id: camera_color_opti...
 * /camera/realsense2_camera/color_width: -1
 * /camera/realsense2_camera/confidence_fps: -1
 * /camera/realsense2_camera/confidence_height: -1
 * /camera/realsense2_camera/confidence_width: -1
 * /camera/realsense2_camera/depth_fps: 15
 * /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: False
 * /camera/realsense2_camera/enable_color: False
 * /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: False
 * /camera/realsense2_camera/enable_infra1: False
 * /camera/realsense2_camera/enable_infra2: False
 * /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:
 * /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: -1
 * /camera/realsense2_camera/fisheye_frame_id: camera_fisheye_frame
 * /camera/realsense2_camera/fisheye_height: -1
 * /camera/realsense2_camera/fisheye_optical_frame_id: camera_fisheye_op...
 * /camera/realsense2_camera/fisheye_width: -1
 * /camera/realsense2_camera/gyro_fps: -1
 * /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: 848
 * /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
 * /rosdistro: noetic
 * /rosversion: 1.15.14NODES
  /camera/
    realsense2_camera (nodelet/nodelet)
    realsense2_camera_manager (nodelet/nodelet)auto-starting new master
process[master]: started with pid [19802]
ROS_MASTER_URI=http://localhost:11311/setting /run_id to 27819598-f144-11ec-afad-a598d86d1557
process[rosout-1]: started with pid [19812]
started core service [/rosout]
process[camera/realsense2_camera_manager-2]: started with pid [19819]
process[camera/realsense2_camera-3]: started with pid [19820]
[ INFO] [1655803556.994129924]: Initializing nodelet with 12 worker threads.
[ INFO] [1655803557.145261805]: RealSense ROS v2.3.2
[ INFO] [1655803557.145290499]: Built with LibRealSense v2.50.0
[ INFO] [1655803557.145301720]: Running with LibRealSense v2.50.0
[ INFO] [1655803557.171811271]:
 21/06 11:25:57,240 WARNING [139883889760000] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Success, number: 0
[ INFO] [1655803557.314491730]: Device with serial number 146222254421 was found.[ INFO] [1655803557.314540332]: Device with physical ID 4-1-2 was found.
[ INFO] [1655803557.314548577]: Device with name Intel RealSense D455 was found.
[ INFO] [1655803557.314832361]: Device with port number 4-1 was found.
[ INFO] [1655803557.314845897]: Device USB type: 3.2
[ INFO] [1655803557.319521224]: getParameters...
[ INFO] [1655803557.352628068]: setupDevice...
[ INFO] [1655803557.352658926]: JSON file is not provided
[ INFO] [1655803557.352669015]: ROS Node Namespace: camera
[ INFO] [1655803557.352678944]: Device Name: Intel RealSense D455
[ INFO] [1655803557.352686408]: Device Serial No: 146222254421
[ INFO] [1655803557.352697158]: Device physical port: 4-1-2
[ INFO] [1655803557.352708820]: Device FW version: 05.13.00.50
[ INFO] [1655803557.352716725]: Device Product ID: 0x0B5C
[ INFO] [1655803557.352724559]: Enable PointCloud: Off
[ INFO] [1655803557.352731402]: Align Depth: Off
[ INFO] [1655803557.352745339]: Sync Mode: Off
[ INFO] [1655803557.352794321]: Device Sensors:
[ INFO] [1655803557.450333421]: Stereo Module was found.
[ INFO] [1655803557.458155269]: RGB Camera was found.
[ INFO] [1655803557.458299671]: Motion Module was found.
[ INFO] [1655803557.458519815]: (Confidence, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1655803557.458566593]: num_filters: 0
[ INFO] [1655803557.458583134]: Setting Dynamic reconfig parameters.
[ INFO] [1655803560.507607341]: Done Setting Dynamic reconfig parameters.
[ INFO] [1655803560.508549523]: depth stream is enabled - width: 640, height: 480, fps: 15, Format: Z16
[ INFO] [1655803560.508571014]: setupPublishers...
[ INFO] [1655803560.510506325]: Expected frequency for depth = 15.00000
[ INFO] [1655803560.532981084]: setupStreams...
 21/06 11:26:00,704 WARNING [139883889760000] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:26:00,754 WARNING [139883889760000] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:26:00,805 WARNING [139883889760000] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
[ INFO] [1655803560.855627359]: SELECTED BASE:Depth, 0
 21/06 11:26:00,855 WARNING [139883889760000] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
[ INFO] [1655803560.859860123]: RealSense Node Is Up!
[ WARN] [1655803561.026046151]:
 21/06 11:26:01,027 WARNING [139883889760000] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:26:01,077 WARNING [139883889760000] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:26:01,128 WARNING [139883889760000] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:26:01,179 WARNING [139883889760000] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:26:01,431 WARNING [139883889760000] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:26:01,482 WARNING [139883889760000] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:26:01,532 WARNING [139883889760000] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:26:01,683 WARNING [139883889760000] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:26:01,734 WARNING [139883889760000] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:26:01,885 WARNING [139883889760000] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:26:01,936 WARNING [139883889760000] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:26:02,087 WARNING [139883889760000] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:26:02,138 WARNING [139883889760000] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:26:02,289 WARNING [139883889760000] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:26:02,340 WARNING [139883889760000] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
$ roslaunch realsense2_camera rs_camera.launch depth_width:=640 depth_height:=480 depth_fps:=15
... logging to /home/hugo/.ros/log/50f927ba-f144-11ec-afad-a598d86d1557/roslaunch-hugo-victus-pc-22369.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.started roslaunch server http://hugo-victus-pc:44689/SUMMARY
========PARAMETERS
 * /camera/realsense2_camera/accel_fps: -1
 * /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: -1
 * /camera/realsense2_camera/color_frame_id: camera_color_frame
 * /camera/realsense2_camera/color_height: -1
 * /camera/realsense2_camera/color_optical_frame_id: camera_color_opti...
 * /camera/realsense2_camera/color_width: -1
 * /camera/realsense2_camera/confidence_fps: -1
 * /camera/realsense2_camera/confidence_height: -1
 * /camera/realsense2_camera/confidence_width: -1
 * /camera/realsense2_camera/depth_fps: 15
 * /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: False
 * /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: False
 * /camera/realsense2_camera/enable_infra1: False
 * /camera/realsense2_camera/enable_infra2: False
 * /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:
 * /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: -1
 * /camera/realsense2_camera/fisheye_frame_id: camera_fisheye_frame
 * /camera/realsense2_camera/fisheye_height: -1
 * /camera/realsense2_camera/fisheye_optical_frame_id: camera_fisheye_op...
 * /camera/realsense2_camera/fisheye_width: -1
 * /camera/realsense2_camera/gyro_fps: -1
 * /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: 848
 * /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
 * /rosdistro: noetic
 * /rosversion: 1.15.14NODES
  /camera/
    realsense2_camera (nodelet/nodelet)
    realsense2_camera_manager (nodelet/nodelet)auto-starting new master
process[master]: started with pid [22377]
ROS_MASTER_URI=http://localhost:11311/setting /run_id to 50f927ba-f144-11ec-afad-a598d86d1557
process[rosout-1]: started with pid [22387]
started core service [/rosout]
process[camera/realsense2_camera_manager-2]: started with pid [22394]
process[camera/realsense2_camera-3]: started with pid [22395]
[ INFO] [1655803626.516595368]: Initializing nodelet with 12 worker threads.
[ INFO] [1655803626.596673103]: RealSense ROS v2.3.2
[ INFO] [1655803626.596704362]: Built with LibRealSense v2.50.0
[ INFO] [1655803626.596717216]: Running with LibRealSense v2.50.0
[ INFO] [1655803626.621408736]:
 21/06 11:27:06,679 WARNING [139873453336320] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Success, number: 0
[ INFO] [1655803626.759661624]: Device with serial number 146222254421 was found.[ INFO] [1655803626.759705296]: Device with physical ID 4-1-2 was found.
[ INFO] [1655803626.759763306]: Device with name Intel RealSense D455 was found.
[ INFO] [1655803626.760122361]: Device with port number 4-1 was found.
[ INFO] [1655803626.760152718]: Device USB type: 3.2
[ INFO] [1655803626.761551821]: getParameters...
[ INFO] [1655803626.790724603]: setupDevice...
[ INFO] [1655803626.790796277]: JSON file is not provided
[ INFO] [1655803626.790811556]: ROS Node Namespace: camera
[ INFO] [1655803626.790823789]: Device Name: Intel RealSense D455
[ INFO] [1655803626.790833067]: Device Serial No: 146222254421
[ INFO] [1655803626.790844669]: Device physical port: 4-1-2
[ INFO] [1655803626.790854287]: Device FW version: 05.13.00.50
[ INFO] [1655803626.790862823]: Device Product ID: 0x0B5C
[ INFO] [1655803626.790870597]: Enable PointCloud: Off
[ INFO] [1655803626.790878592]: Align Depth: Off
[ INFO] [1655803626.790887489]: Sync Mode: Off
[ INFO] [1655803626.790952732]: Device Sensors:
[ INFO] [1655803626.924101316]: Stereo Module was found.
[ INFO] [1655803626.930684012]: RGB Camera was found.
[ INFO] [1655803626.930842149]: Motion Module was found.
[ INFO] [1655803626.930883607]: (Confidence, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1655803626.930921839]: num_filters: 0
[ INFO] [1655803626.930934253]: Setting Dynamic reconfig parameters.
 21/06 11:27:08,863 WARNING [139873453336320] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Success, number: 0
 21/06 11:27:08,976 WARNING [139873453336320] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Success, number: 0
 21/06 11:27:09,435 WARNING [139873453336320] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Success, number: 0
[ INFO] [1655803630.179653227]: Done Setting Dynamic reconfig parameters.
[ INFO] [1655803630.180024576]: depth stream is enabled - width: 640, height: 480, fps: 15, Format: Z16
[ INFO] [1655803630.180831464]: color stream is enabled - width: 1280, height: 720, fps: 30, Format: RGB8
[ INFO] [1655803630.180855680]: setupPublishers...
[ INFO] [1655803630.182247599]: Expected frequency for depth = 15.00000
[ INFO] [1655803630.202186356]: Expected frequency for color = 30.00000
[ INFO] [1655803630.215359592]: setupStreams...
 21/06 11:27:10,291 WARNING [139873453336320] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Success, number: 0
 21/06 11:27:10,528 WARNING [139873453336320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:27:10,579 WARNING [139873453336320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:27:10,629 WARNING [139873453336320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
[ INFO] [1655803630.679950141]: SELECTED BASE:Depth, 0
[ INFO] [1655803630.694779554]: RealSense Node Is Up!
 21/06 11:27:10,781 WARNING [139873453336320] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Success, number: 0
[ WARN] [1655803630.849835960]:
 21/06 11:27:10,850 WARNING [139873453336320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:27:10,901 WARNING [139873453336320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:27:10,951 WARNING [139873453336320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:27:11,002 WARNING [139873453336320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:27:11,054 WARNING [139873453336320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:27:11,104 WARNING [139873453336320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
 21/06 11:27:11,256 WARNING [139873453336320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Success, number: 0
$ roslaunch realsense2_camera rs_camera.launch depth_width:=640 depth_height:=480 depth_fps:=15 enable_color:=false
... logging to /home/ras/.ros/log/9a8d5f8a-f145-11ec-9cd1-b764e565c950/roslaunch-ras-ThinkPad-P40-Yoga-140785.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.started roslaunch server http://ras-thinkpad-p40-yoga:35871/SUMMARY
========PARAMETERS
 * /camera/realsense2_camera/accel_fps: -1
 * /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: -1
 * /camera/realsense2_camera/color_frame_id: camera_color_frame
 * /camera/realsense2_camera/color_height: -1
 * /camera/realsense2_camera/color_optical_frame_id: camera_color_opti...
 * /camera/realsense2_camera/color_width: -1
 * /camera/realsense2_camera/confidence_fps: -1
 * /camera/realsense2_camera/confidence_height: -1
 * /camera/realsense2_camera/confidence_width: -1
 * /camera/realsense2_camera/depth_fps: 15
 * /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: False
 * /camera/realsense2_camera/enable_color: False
 * /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: False
 * /camera/realsense2_camera/enable_infra1: False
 * /camera/realsense2_camera/enable_infra2: False
 * /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:
 * /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: -1
 * /camera/realsense2_camera/fisheye_frame_id: camera_fisheye_frame
 * /camera/realsense2_camera/fisheye_height: -1
 * /camera/realsense2_camera/fisheye_optical_frame_id: camera_fisheye_op...
 * /camera/realsense2_camera/fisheye_width: -1
 * /camera/realsense2_camera/gyro_fps: -1
 * /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: 848
 * /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
 * /rosdistro: noetic
 * /rosversion: 1.15.14NODES
  /camera/
    realsense2_camera (nodelet/nodelet)
    realsense2_camera_manager (nodelet/nodelet)auto-starting new master
process[master]: started with pid [140793]
ROS_MASTER_URI=http://localhost:11311/setting /run_id to 9a8d5f8a-f145-11ec-9cd1-b764e565c950
process[rosout-1]: started with pid [140803]
started core service [/rosout]
process[camera/realsense2_camera_manager-2]: started with pid [140810]
process[camera/realsense2_camera-3]: started with pid [140811]
[ INFO] [1655804179.724855025]: Initializing nodelet with 4 worker threads.
[ INFO] [1655804179.838032794]: RealSense ROS v2.3.2
[ INFO] [1655804179.838099423]: Built with LibRealSense v2.50.0
[ INFO] [1655804179.838134268]: Running with LibRealSense v2.50.0
[ INFO] [1655804179.875762821]:
 21/06 11:36:20,028 WARNING [140094509934336] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Success, number: 0
[ INFO] [1655804180.133087402]: Device with serial number 146222254421 was found.[ INFO] [1655804180.133125063]: Device with physical ID 2-4-5 was found.
[ INFO] [1655804180.133140674]: Device with name Intel RealSense D455 was found.
[ INFO] [1655804180.133730662]: Device with port number 2-4 was found.
[ INFO] [1655804180.133810019]: Device USB type: 3.2
[ INFO] [1655804180.136275647]: getParameters...
[ INFO] [1655804180.183752208]: setupDevice...
[ INFO] [1655804180.183795573]: JSON file is not provided
[ INFO] [1655804180.183808317]: ROS Node Namespace: camera
[ INFO] [1655804180.183835410]: Device Name: Intel RealSense D455
[ INFO] [1655804180.183865373]: Device Serial No: 146222254421
[ INFO] [1655804180.183892183]: Device physical port: 2-4-5
[ INFO] [1655804180.183920735]: Device FW version: 05.13.00.50
[ INFO] [1655804180.183946775]: Device Product ID: 0x0B5C
[ INFO] [1655804180.183971013]: Enable PointCloud: Off
[ INFO] [1655804180.183995558]: Align Depth: Off
[ INFO] [1655804180.184020934]: Sync Mode: Off
[ INFO] [1655804180.184071231]: Device Sensors:
[ INFO] [1655804180.354205553]: Stereo Module was found.
[ INFO] [1655804180.376627036]: RGB Camera was found.
[ INFO] [1655804180.377048395]: Motion Module was found.
[ INFO] [1655804180.377136866]: (Confidence, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1655804180.377320571]: num_filters: 0
[ INFO] [1655804180.377356336]: Setting Dynamic reconfig parameters.
[ INFO] [1655804183.247510858]: Done Setting Dynamic reconfig parameters.
[ INFO] [1655804183.248415678]: depth stream is enabled - width: 640, height: 480, fps: 15, Format: Z16
[ INFO] [1655804183.248474549]: setupPublishers...
[ INFO] [1655804183.252012983]: Expected frequency for depth = 15.00000
[ INFO] [1655804183.319642804]: setupStreams...
 21/06 11:36:23,465 WARNING [140094509934336] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:36:23,518 WARNING [140094509934336] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:36:23,568 WARNING [140094509934336] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[ INFO] [1655804183.619381829]: SELECTED BASE:Depth, 0
[ INFO] [1655804183.630505084]: RealSense Node Is Up!
[ WARN] [1655804183.743294632]:
 21/06 11:36:23,744 WARNING [140094509934336] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:36:23,794 WARNING [140094509934336] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:36:23,844 WARNING [140094509934336] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:36:23,895 WARNING [140094509934336] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:36:24,146 WARNING [140094509934336] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:36:24,196 WARNING [140094509934336] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:36:24,247 WARNING [140094509934336] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:36:24,397 WARNING [140094509934336] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:36:24,448 WARNING [140094509934336] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:36:24,598 WARNING [140094509934336] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:36:24,651 WARNING [140094509934336] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
$ roslaunch realsense2_camera rs_camera.launch depth_width:=640 depth_height:=480 depth_fps:=15
... logging to /home/ras/.ros/log/89611eae-f145-11ec-9cd1-b764e565c950/roslaunch-ras-ThinkPad-P40-Yoga-139512.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.started roslaunch server http://ras-thinkpad-p40-yoga:35059/SUMMARY
========PARAMETERS
 * /camera/realsense2_camera/accel_fps: -1
 * /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: -1
 * /camera/realsense2_camera/color_frame_id: camera_color_frame
 * /camera/realsense2_camera/color_height: -1
 * /camera/realsense2_camera/color_optical_frame_id: camera_color_opti...
 * /camera/realsense2_camera/color_width: -1
 * /camera/realsense2_camera/confidence_fps: -1
 * /camera/realsense2_camera/confidence_height: -1
 * /camera/realsense2_camera/confidence_width: -1
 * /camera/realsense2_camera/depth_fps: 15
 * /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: False
 * /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: False
 * /camera/realsense2_camera/enable_infra1: False
 * /camera/realsense2_camera/enable_infra2: False
 * /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:
 * /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: -1
 * /camera/realsense2_camera/fisheye_frame_id: camera_fisheye_frame
 * /camera/realsense2_camera/fisheye_height: -1
 * /camera/realsense2_camera/fisheye_optical_frame_id: camera_fisheye_op...
 * /camera/realsense2_camera/fisheye_width: -1
 * /camera/realsense2_camera/gyro_fps: -1
 * /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: 848
 * /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
 * /rosdistro: noetic
 * /rosversion: 1.15.14NODES
  /camera/
    realsense2_camera (nodelet/nodelet)
    realsense2_camera_manager (nodelet/nodelet)auto-starting new master
process[master]: started with pid [139520]
ROS_MASTER_URI=http://localhost:11311/setting /run_id to 89611eae-f145-11ec-9cd1-b764e565c950
process[rosout-1]: started with pid [139530]
started core service [/rosout]
process[camera/realsense2_camera_manager-2]: started with pid [139537]
process[camera/realsense2_camera-3]: started with pid [139538]
[ INFO] [1655804150.913190839]: Initializing nodelet with 4 worker threads.
[ INFO] [1655804151.057417340]: RealSense ROS v2.3.2
[ INFO] [1655804151.057450719]: Built with LibRealSense v2.50.0
[ INFO] [1655804151.057475255]: Running with LibRealSense v2.50.0
[ INFO] [1655804151.093420523]:
 21/06 11:35:51,242 WARNING [140275083101952] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Success, number: 0
[ INFO] [1655804151.349459792]: Device with serial number 146222254421 was found.[ INFO] [1655804151.349518681]: Device with physical ID 2-4-5 was found.
[ INFO] [1655804151.349544080]: Device with name Intel RealSense D455 was found.
[ INFO] [1655804151.350317339]: Device with port number 2-4 was found.
[ INFO] [1655804151.350376373]: Device USB type: 3.2
[ INFO] [1655804151.352392290]: getParameters...
[ INFO] [1655804151.402549128]: setupDevice...
[ INFO] [1655804151.402590464]: JSON file is not provided
[ INFO] [1655804151.402616136]: ROS Node Namespace: camera
[ INFO] [1655804151.402641973]: Device Name: Intel RealSense D455
[ INFO] [1655804151.402666738]: Device Serial No: 146222254421
[ INFO] [1655804151.402684610]: Device physical port: 2-4-5
[ INFO] [1655804151.402708121]: Device FW version: 05.13.00.50
[ INFO] [1655804151.402744271]: Device Product ID: 0x0B5C
[ INFO] [1655804151.402765445]: Enable PointCloud: Off
[ INFO] [1655804151.402787971]: Align Depth: Off
[ INFO] [1655804151.402814453]: Sync Mode: Off
[ INFO] [1655804151.402872606]: Device Sensors:
[ INFO] [1655804151.516745616]: Stereo Module was found.
[ INFO] [1655804151.540269417]: RGB Camera was found.
[ INFO] [1655804151.540661141]: Motion Module was found.
[ INFO] [1655804151.540718559]: (Confidence, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1655804151.540763556]: num_filters: 0
[ INFO] [1655804151.540798545]: Setting Dynamic reconfig parameters.
[ INFO] [1655804154.517867979]: Done Setting Dynamic reconfig parameters.
[ INFO] [1655804154.518869118]: depth stream is enabled - width: 640, height: 480, fps: 15, Format: Z16
[ INFO] [1655804154.522553694]: color stream is enabled - width: 1280, height: 720, fps: 30, Format: RGB8
[ INFO] [1655804154.522886468]: setupPublishers...
[ INFO] [1655804154.525888814]: Expected frequency for depth = 15.00000
[ INFO] [1655804154.590587965]: Expected frequency for color = 30.00000
[ INFO] [1655804154.645225192]: setupStreams...
 21/06 11:35:54,878 WARNING [140275083101952] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:35:54,928 WARNING [140275083101952] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:35:54,978 WARNING [140275083101952] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
[ INFO] [1655804155.029405519]: SELECTED BASE:Depth, 0
[ INFO] [1655804155.063051780]: RealSense Node Is Up!
[ WARN] [1655804155.158494832]:
 21/06 11:35:55,160 WARNING [140275083101952] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:35:55,210 WARNING [140275083101952] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:35:55,263 WARNING [140275083101952] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:35:55,315 WARNING [140275083101952] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:35:55,373 WARNING [140275083101952] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:35:55,424 WARNING [140275083101952] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:35:55,575 WARNING [140275083101952] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:35:55,626 WARNING [140275083101952] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:35:55,676 WARNING [140275083101952] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:35:55,827 WARNING [140275083101952] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:35:55,878 WARNING [140275083101952] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:35:56,028 WARNING [140275083101952] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
 21/06 11:35:56,079 WARNING [140275083101952] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11
MartyG-RealSense commented 2 years ago

Let's look at the basics of your librealsense and ROS wrapper installations. You are correctly matching wrapper version 2.3.2 and librealsense version 2.50.0.

Which methods did you use to install librealsense and the ROS wrapper, please? Did you:

  1. Install 2.3.2 and 2.50.0 from packages together at the same time using the ROS1 wrapper's Method 1 instructions

  2. Install 2.3.2 and 2.50.0 separately from source code.

Sometimes people build librealsense on its own and then install librealsense and the wrapper together from packages with the wrapper's Method 1. By doing so, they are effectively installing librealsense twice. Or instead, they install librealsense with both packages and source code on the same computer, resulting in conflicts between the two SDK installation types such as the Multiple udev rules detected warning.

hugoyvrn commented 2 years ago

Thank you for your answer. I installed both packages with the command line sudo apt-get install ros-noetic-realsense2-camera or sudo apt-get install ros-noetic-realsense2-* (with melodic or galactic instead of noetic depending on the ros distribution).

I have never tried to build something from source. Should I try?

I also tried to remove the packages and reinstall them again.

MartyG-RealSense commented 2 years ago

All RealSense related packages should be uninstalled with the 'purge' command below. Is that the command that you used to uninstall, please?

dpkg -l | grep "realsense" | cut -d " " -f 3 | xargs sudo dpkg --purge

Once uninstall has been performed, I would recommend only installing Noetic or Galactic but not both, and purging the packages to remove one version before installing another from packages (for example, removing a Noetic wrapper installation before installing the Galactic wrapper from packages). This is because performing an apt-get build with the command in the wrapper documentation will install both librealsense and the wrapper. So doing an apt-get build for both Noetic and Galactic would be installing librealsense twice.

There is no harm in trying a source code build so long as the package build is uninstalled first before doing so. But you would have to reinstall librealsense separately first (either from packages or source code) and then install the ROS wrapper from source code afterwards.

MartyG-RealSense commented 2 years ago

Hi @hugoyvrn Do you require further assistance with this case, please? Thanks!

zhaojiaran111 commented 2 years ago

I also got this error on my ubuntu 18.04 :

roslaunch realsense2_camera rs_camera.launch depth_width:=640 depth_height:=480 depth_fps:=15 enable_color:=false ... logging to /home/ubuntu/.ros/log/df7d8cb2-f77d-11ec-9bef-000c297dee61/roslaunch-ubuntu18-12606.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.

started roslaunch server http://ubuntu18:46121/

SUMMARY

PARAMETERS

NODES /camera/ realsense2_camera (nodelet/nodelet) realsense2_camera_manager (nodelet/nodelet)

auto-starting new master process[master]: started with pid [12616] ROS_MASTER_URI=http://localhost:11311

setting /run_id to df7d8cb2-f77d-11ec-9bef-000c297dee61 process[rosout-1]: started with pid [12627] started core service [/rosout] process[camera/realsense2_camera_manager-2]: started with pid [12634] process[camera/realsense2_camera-3]: started with pid [12635] [ INFO] [1656488053.871208969]: Initializing nodelet with 4 worker threads. [ INFO] [1656488053.955204319]: RealSense ROS v2.3.2 [ INFO] [1656488053.955257066]: Built with LibRealSense v2.50.0 [ INFO] [1656488053.955269420]: Running with LibRealSense v2.50.0 [ INFO] [1656488053.976464248]:
[ INFO] [1656488054.116212522]: Device with serial number 944122071620 was found.

[ INFO] [1656488054.116286683]: Device with physical ID 4-1-4 was found. [ INFO] [1656488054.116308373]: Device with name Intel RealSense D435 was found. [ INFO] [1656488054.116618761]: Device with port number 4-1 was found. [ INFO] [1656488054.116693975]: Device USB type: 3.2

[ INFO] [1656488054.157870741]: JSON file is not provided [ INFO] [1656488054.157880896]: ROS Node Namespace: camera [ INFO] [1656488054.157889678]: Device Name: Intel RealSense D435 [ INFO] [1656488054.157988626]: Device Serial No: 944122071620 [ INFO] [1656488054.158033405]: Device physical port: 4-1-4 [ INFO] [1656488054.158059641]: Device FW version: 05.11.01.100 [ INFO] [1656488054.158080191]: Device Product ID: 0x0B07 [ INFO] [1656488054.158162291]: Enable PointCloud: Off [ INFO] [1656488054.158218501]: Align Depth: Off [ INFO] [1656488054.158276365]: Sync Mode: Off [ INFO] [1656488054.158359392]: Device Sensors: [ INFO] [1656488054.218524188]: Stereo Module was found. [ INFO] [1656488054.228115784]: RGB Camera was found. [ INFO] [1656488054.228243143]: (Confidence, 0) sensor isn't supported by current device! -- Skipping... [ INFO] [1656488054.228321297]: num_filters: 0 [ INFO] [1656488054.228336193]: Setting Dynamic reconfig parameters. [ INFO] [1656488056.161143504]: Done Setting Dynamic reconfig parameters. [ INFO] [1656488056.161598069]: depth stream is enabled - width: 640, height: 480, fps: 15, Format: Z16

[ INFO] [1656488056.162978551]: Expected frequency for depth = 15.00000

[ INFO] [1656488056.257729293]: SELECTED BASE:Depth, 0 29/06 15:34:16,259 WARNING [139784887027456] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 [ INFO] [1656488056.263402398]: RealSense Node Is Up! [ WARN] [1656488056.452406858]: 29/06 15:34:16,453 WARNING [139784887027456] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 29/06 15:34:16,504 WARNING [139784887027456] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 29/06 15:34:16,556 WARNING [139784887027456] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 29/06 15:34:16,609 WARNING [139784887027456] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 29/06 15:34:16,660 WARNING [139784887027456] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 29/06 15:34:16,711 WARNING [139784887027456] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 29/06 15:34:16,864 WARNING [139784887027456] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 29/06 15:34:16,916 WARNING [139784887027456] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11

zhaojiaran111 commented 2 years ago

I have used all the methods above and failed

hugoyvrn commented 2 years ago

Let's look at the basics of your librealsense and ROS wrapper installations. You are correctly matching wrapper version 2.3.2 and librealsense version 2.50.0.

Which methods did you use to install librealsense and the ROS wrapper, please? Did you:

1. Install 2.3.2 and 2.50.0 from packages together at the same time using the ROS1 wrapper's **Method 1** instructions

2. Install 2.3.2 and 2.50.0 separately from source code.

Sometimes people build librealsense on its own and then install librealsense and the wrapper together from packages with the wrapper's Method 1. By doing so, they are effectively installing librealsense twice. Or instead, they install librealsense with both packages and source code on the same computer, resulting in conflicts between the two SDK installation types such as the Multiple udev rules detected warning.

All RealSense related packages should be uninstalled with the 'purge' command below. Is that the command that you used to uninstall, please?

dpkg -l | grep "realsense" | cut -d " " -f 3 | xargs sudo dpkg --purge

Once uninstall has been performed, I would recommend only installing Noetic or Galactic but not both, and purging the packages to remove one version before installing another from packages (for example, removing a Noetic wrapper installation before installing the Galactic wrapper from packages). This is because performing an apt-get build with the command in the wrapper documentation will install both librealsense and the wrapper. So doing an apt-get build for both Noetic and Galactic would be installing librealsense twice.

There is no harm in trying a source code build so long as the package build is uninstalled first before doing so. But you would have to reinstall librealsense separately first (either from packages or source code) and then install the ROS wrapper from source code afterwards.

Hi @MartyG-RealSense, sorry for my late reply, I am now back with the camera.

I used apt remove --purge ros-noetic-realsense2-* to remove the packages, but it makes no difference when I do it with dpkg -l | grep "realsense" | cut -d " " -f 3 | xargs sudo dpkg --purge. I don't think the problem is in the installation, I tested on three PCs, one with only melodic (Ubuntu 18), two with noetic and galactic (Ubuntu 20). I had this problem in every test I did. I had to keep galactic on my PC, but I will only install realsense packages on noetic.

Any other ideas? Thanks,

MartyG-RealSense commented 2 years ago

@hugoyvrn What kernel version(s) are you using on your computers, please?

A package installation of the librealsense SDK supports up to kernel 5.4, whilst the most recent supported kernels on a source-code build of librealsense are 5.8 and 5.11. Whilst newer unsupported kernels such as 5.13 can work with librealsense, there may be unpredictable consequences in regards to stability.

MariamFdil commented 2 years ago

Hi @MartyG-RealSense I have the same issue and here is what I use : camera : Realsense depth camera D455 os : ubuntu 20.04 ROS: noetic / JetPack 5.0.1 Kernel : 5.10.65-tegra librealsense version : 2.50 ROS wrapper : 2.3.2

I built from source the librealsense then realsense_ros , I tried all what you have proposed in all the forums but the I have the same error:

SUMMARY

PARAMETERS

NODES /camera/ realsense2_camera (nodelet/nodelet) realsense2_camera_manager (nodelet/nodelet)

auto-starting new master process[master]: started with pid [8877] ROS_MASTER_URI=http://192.168.1.168:11311

setting /run_id to f5c7b254-fc78-11ec-8606-d8c0a6b112b7 process[rosout-1]: started with pid [8887] started core service [/rosout] process[camera/realsense2_camera_manager-2]: started with pid [8894] process[camera/realsense2_camera-3]: started with pid [8895] [ INFO] [1657035702.062501968]: Initializing nodelet with 6 worker threads. [ INFO] [1657035702.650540202]: RealSense ROS v2.3.2 [ INFO] [1657035702.650751081]: Built with LibRealSense v2.50.0 [ INFO] [1657035702.650840969]: Running with LibRealSense v2.50.0 [ INFO] [1657035702.770029624]:
[ INFO] [1657035703.073070165]: Device with serial number 037322251446 was found.

[ INFO] [1657035703.073249108]: Device with physical ID 2-3.4.2-4 was found. [ INFO] [1657035703.073326548]: Device with name Intel RealSense D455 was found. [ INFO] [1657035703.076495310]: Device with port number 2-3.4.2 was found. [ INFO] [1657035703.076646030]: Device USB type: 3.2

[ INFO] [1657035703.280178263]: JSON file is not provided [ INFO] [1657035703.280276151]: ROS Node Namespace: camera [ INFO] [1657035703.280420695]: Device Name: Intel RealSense D455 [ INFO] [1657035703.280537239]: Device Serial No: 037322251446 [ INFO] [1657035703.280664630]: Device physical port: 2-3.4.2-4 [ INFO] [1657035703.280758486]: Device FW version: 05.13.00.50 [ INFO] [1657035703.280839062]: Device Product ID: 0x0B5C [ INFO] [1657035703.280912054]: Enable PointCloud: On [ INFO] [1657035703.280985622]: Align Depth: Off [ INFO] [1657035703.281058102]: Sync Mode: On [ INFO] [1657035703.281465749]: Device Sensors: [ INFO] [1657035703.459164562]: Stereo Module was found. [ INFO] [1657035703.532637759]: RGB Camera was found. [ INFO] [1657035703.533729117]: Motion Module was found. [ INFO] [1657035703.534866395]: (Confidence, 0) sensor isn't supported by current device! -- Skipping... [ INFO] [1657035703.535037243]: Add Filter: pointcloud [ INFO] [1657035703.537963797]: num_filters: 1 [ INFO] [1657035703.538101684]: Setting Dynamic reconfig parameters. 05/07 11:41:45,618 WARNING [281472188158320] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b 05/07 11:41:46,662 WARNING [281472188158320] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b [ INFO] [1657035707.578145140]: Done Setting Dynamic reconfig parameters. [ INFO] [1657035707.589740094]: depth stream is enabled - width: 848, height: 480, fps: 30, Format: Z16 [ INFO] [1657035707.597592175]: color stream is enabled - width: 1280, height: 720, fps: 30, Format: RGB8

[ INFO] [1657035707.617546442]: Expected frequency for depth = 30.00000 [ INFO] [1657035707.817498608]: Expected frequency for color = 30.00000

05/07 11:41:48,456 WARNING [281472188158320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 05/07 11:41:48,506 WARNING [281472188158320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 05/07 11:41:48,557 WARNING [281472188158320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 [ INFO] [1657035708.609176810]: SELECTED BASE:Depth, 0 05/07 11:41:48,612 WARNING [281472188158320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 [ INFO] [1657035708.657499440]: RealSense Node Is Up! [ WARN] [1657035708.825232088]: 05/07 11:41:48,827 WARNING [281472188158320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 05/07 11:41:48,878 WARNING [281472188158320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 05/07 11:41:49,030 WARNING [281472188158320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 05/07 11:41:49,080 WARNING [281472188158320] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b 05/07 11:41:49,131 WARNING [281472188158320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 05/07 11:41:49,182 WARNING [281472188158320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 05/07 11:41:49,234 WARNING [281472188158320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 05/07 11:41:49,386 WARNING [281472188158320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 05/07 11:41:49,437 WARNING [281472188158320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 05/07 11:41:49,573 ERROR [281471654801776] (uvc-streamer.cpp:106) uvc streamer watchdog triggered on endpoint: 132 05/07 11:41:49,690 WARNING [281472188158320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 05/07 11:41:49,741 WARNING [281472188158320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 05/07 11:41:49,791 WARNING [281472188158320] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11

MartyG-RealSense commented 2 years ago

Hi @MariamFdil Can you confirm if you have tried the initial_reset:=true method mentioned earlier in this discussion at https://github.com/IntelRealSense/realsense-ros/issues/2386#issuecomment-1160379686 as initial_reset is False in your log. Thanks!

MariamFdil commented 2 years ago

@MartyG-RealSense yes I’ve tried it and it didn’t change anything.

MartyG-RealSense commented 2 years ago

@MariamFdil It looks as though the pointcloud filter is being enabled. Do the control_transfer returned warnings still occur if pointcloud is not enabled?

image

MariamFdil commented 2 years ago

@MartyG-RealSense I tried this command right now roslaunch rs_camera.launch enable_pointcloud:=false. Here is the log info :

SUMMARY

PARAMETERS

NODES /camera/ realsense2_camera (nodelet/nodelet) realsense2_camera_manager (nodelet/nodelet)

auto-starting new master process[master]: started with pid [15094] ROS_MASTER_URI=http://192.168.1.168:11311

setting /run_id to ecdcfe4a-fd38-11ec-86d3-d8c0a6b112b7 process[rosout-1]: started with pid [15104] started core service [/rosout] process[camera/realsense2_camera_manager-2]: started with pid [15111] process[camera/realsense2_camera-3]: started with pid [15112] [ INFO] [1657118150.579722149]: Initializing nodelet with 6 worker threads. [ INFO] [1657118151.032224607]: RealSense ROS v2.3.2 [ INFO] [1657118151.032380287]: Built with LibRealSense v2.50.0 [ INFO] [1657118151.032476159]: Running with LibRealSense v2.50.0 [ INFO] [1657118151.149919036]:
[ INFO] [1657118151.438012957]: Device with serial number 037322251446 was found.

[ INFO] [1657118151.438231421]: Device with physical ID 2-3.4.2-5 was found. [ INFO] [1657118151.438339901]: Device with name Intel RealSense D455 was found. [ INFO] [1657118151.440099583]: Device with port number 2-3.4.2 was found. [ INFO] [1657118151.440222975]: Device USB type: 3.2

[ INFO] [1657118151.650134776]: JSON file is not provided [ INFO] [1657118151.650256952]: ROS Node Namespace: camera [ INFO] [1657118151.650380024]: Device Name: Intel RealSense D455 [ INFO] [1657118151.650456216]: Device Serial No: 037322251446 [ INFO] [1657118151.650546360]: Device physical port: 2-3.4.2-5 [ INFO] [1657118151.650614520]: Device FW version: 05.13.00.50 [ INFO] [1657118151.650690168]: Device Product ID: 0x0B5C [ INFO] [1657118151.651189945]: Enable PointCloud: Off [ INFO] [1657118151.652202426]: Align Depth: Off [ INFO] [1657118151.652322811]: Sync Mode: Off [ INFO] [1657118151.652484251]: Device Sensors: [ INFO] [1657118151.826741475]: Stereo Module was found. [ INFO] [1657118151.914760089]: RGB Camera was found. [ INFO] [1657118151.916332219]: Motion Module was found. [ INFO] [1657118151.916738684]: (Confidence, 0) sensor isn't supported by current device! -- Skipping... [ INFO] [1657118151.916897564]: num_filters: 0 [ INFO] [1657118151.916995836]: Setting Dynamic reconfig parameters. [ INFO] [1657118155.763547039]: Done Setting Dynamic reconfig parameters. [ INFO] [1657118155.768725702]: depth stream is enabled - width: 848, height: 480, fps: 30, Format: Z16 [ INFO] [1657118155.776326929]: color stream is enabled - width: 1280, height: 720, fps: 30, Format: RGB8

[ INFO] [1657118155.790293924]: Expected frequency for depth = 30.00000 [ INFO] [1657118155.976413504]: Expected frequency for color = 30.00000

06/07 10:35:56,551 WARNING [281472398180720] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 06/07 10:35:56,602 WARNING [281472398180720] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 06/07 10:35:56,653 WARNING [281472398180720] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 [ INFO] [1657118156.704446753]: SELECTED BASE:Depth, 0 06/07 10:35:56,705 WARNING [281472398180720] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 [ INFO] [1657118156.752354979]: RealSense Node Is Up! [ WARN] [1657118156.829460268]: 06/07 10:35:56,831 WARNING [281472398180720] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 06/07 10:35:56,882 WARNING [281472398180720] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 06/07 10:35:57,034 WARNING [281472398180720] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 06/07 10:35:57,085 WARNING [281472398180720] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 06/07 10:35:57,148 WARNING [281472398180720] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 06/07 10:35:57,199 WARNING [281472398180720] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 06/07 10:35:57,249 WARNING [281472398180720] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 06/07 10:35:57,301 WARNING [281472398180720] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 06/07 10:35:57,352 WARNING [281472398180720] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 06/07 10:36:02,318 WARNING [281472398180720] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 06/07 10:36:02,368 WARNING [281472398180720] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11

MartyG-RealSense commented 2 years ago

And the warnings still occur if you use a lower 640x480 resolution for both depth and color?

roslaunch realsense2_camera rs_camera.launch depth_width:=640 depth_height:=480 depth_fps:=30 color_width:=640 color_height:=480 color_fps:=30

MariamFdil commented 2 years ago

@MartyG-RealSense Yes still occurs...

MartyG-RealSense commented 2 years ago

@MariamFdil Could you check the CPU percentage usage of your Ubuntu 20.04 computer with a system monitoring tool such as htop please and see whether CPU usage % is near 100%. If it is then this could indicate that your warnings might be occurring because the computer's CPU is over-burdened with processing and so cannot effectively process the frames arriving from the camera.

prasuchit commented 2 years ago

I did everything aforementioned and still end up with this while running this command:

roslaunch realsense2_camera rs_camera.launch depth_width:=640 depth_height:=480 depth_fps:=30 color_width:=640 color_height:=480 color_fps:=30

06/07 17:25:26,663 ERROR [140619812943616] (uvc-streamer.cpp:106) uvc streamer watchdog triggered on endpoint: 130

06/07 17:25:26,679 WARNING [140620232382208] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11

06/07 17:25:26,730 WARNING [140620232382208] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11

06/07 17:25:26,780 WARNING [140620232382208] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11

06/07 17:25:26,830 WARNING [140620232382208] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11

[ WARN] [1657142727.542752535]: Hardware Notification:Depth stream start failure,1.65714e+12,Error,Hardware Error

06/07 17:25:27,888 WARNING [140620232382208] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11

^C[camera/realsense2_camera-3] killing on exit

[camera/realsense2_camera_manager-2] killing on exit

06/07 17:25:28,523 WARNING [140620232382208] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11

I didn't want to spam the page with redundant logs so I've only added limited errors and warnings that seemed relevant.

MartyG-RealSense commented 2 years ago

Hi @prasuchit Which computer and operating system are you using? Also, which versions of ROS, the librealsense SDK and the RealSense ROS wrapper are you using?

Could you also provide a complete roslaunch log, please?

If you are concerned about log spam, please feel free to create a new case for your problem by visiting the front page of the forum at the link below and clicking the green New Issue button.

https://github.com/IntelRealSense/realsense-ros/issues/

prasuchit commented 2 years ago

Hi @MartyG-RealSense ,

Computer - Dell Precision 5820 Tower with Intel(R) Xeon(R) W-2104 CPU @ 3.20GHz, 72 gigs RAM and Nvidia quadro RTX 4000 gpu.

OS - Ubuntu 20.04; ROS - Noetic; RealSense ROS v2.2.21; LibRealSense v2.50.0;

roslaunch realsense2_camera rs_camera.launch depth_width:=640 depth_height:=480 depth_fps:=30 color_width:=640 color_height:=480 color_fps:=30

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.

started roslaunch server http://Whisler:42071/

SUMMARY

PARAMETERS

NODES /camera/ realsense2_camera (nodelet/nodelet) realsense2_camera_manager (nodelet/nodelet)

auto-starting new master process[master]: started with pid [102434] ROS_MASTER_URI=http://localhost:11311

setting /run_id to 8d040e1c-fde9-11ec-b04f-07bd33fe1891 process[rosout-1]: started with pid [102447] started core service [/rosout] process[camera/realsense2_camera_manager-2]: started with pid [102454] process[camera/realsense2_camera-3]: started with pid [102455] [ INFO] [1657194008.536416330]: Initializing nodelet with 4 worker threads. [ INFO] [1657194008.664998932]: RealSense ROS v2.2.21 [ INFO] [1657194008.665036296]: Built with LibRealSense v2.50.0 [ INFO] [1657194008.665057382]: Running with LibRealSense v2.50.0 [ INFO] [1657202451.227795106]:
07/07 10:00:51,288 WARNING [140168329684736] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b 07/07 10:00:51,340 WARNING [140168329684736] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b [ INFO] [1657202451.518585162]: Device with serial number 919122073259 was found.

[ INFO] [1657202451.518667111]: Device with physical ID 2-10.2-7 was found. [ INFO] [1657202451.518696187]: Device with name Intel RealSense D435I was found. [ INFO] [1657202451.519328132]: Device with port number 2-10.2 was found. [ INFO] [1657202451.519360667]: Device USB type: 3.2

[ INFO] [1657202451.570912443]: JSON file is not provided [ INFO] [1657202451.570928353]: ROS Node Namespace: camera [ INFO] [1657202451.570949488]: Device Name: Intel RealSense D435I [ INFO] [1657202451.570968021]: Device Serial No: 919122073259 [ INFO] [1657202451.570982043]: Device physical port: 2-10.2-7 [ INFO] [1657202451.570997905]: Device FW version: 05.13.00.50 [ INFO] [1657202451.571016615]: Device Product ID: 0x0B3A [ INFO] [1657202451.571035331]: Enable PointCloud: Off [ INFO] [1657202451.571049453]: Align Depth: Off [ INFO] [1657202451.571067275]: Sync Mode: Off [ INFO] [1657202451.571132916]: Device Sensors: [ INFO] [1657202451.631245052]: Stereo Module was found. [ INFO] [1657202451.651901589]: RGB Camera was found. [ INFO] [1657202451.652067379]: Motion Module was found. [ INFO] [1657202451.652123591]: (Confidence, 0) sensor isn't supported by current device! -- Skipping... [ INFO] [1657202451.652151898]: num_filters: 0 [ INFO] [1657202451.652194130]: Setting Dynamic reconfig parameters. 07/07 10:00:53,328 WARNING [140168329684736] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b 07/07 10:00:53,494 WARNING [140168329684736] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b 07/07 10:00:53,603 WARNING [140168329684736] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b 07/07 10:00:53,989 WARNING [140168329684736] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b [ INFO] [1657202454.511580952]: Done Setting Dynamic reconfig parameters. [ INFO] [1657202454.512084190]: depth stream is enabled - width: 640, height: 480, fps: 30, Format: Z16 [ INFO] [1657202454.512575191]: color stream is enabled - width: 640, height: 480, fps: 30, Format: RGB8

[ INFO] [1657202454.514952459]: Expected frequency for depth = 30.00000 [ INFO] [1657202454.550824595]: Expected frequency for color = 30.00000

[ INFO] [1657202454.617124685]: insert Depth to Stereo Module [ INFO] [1657202454.617325477]: insert Color to RGB Camera 07/07 10:00:54,725 WARNING [140168329684736] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 [ INFO] [1657202454.775347209]: SELECTED BASE:Depth, 0 [ INFO] [1657202454.786561663]: RealSense Node Is Up! 07/07 10:00:54,852 WARNING [140168329684736] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 07/07 10:00:54,902 WARNING [140168329684736] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 07/07 10:00:54,953 WARNING [140168329684736] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 07/07 10:00:55,090 WARNING [140168329684736] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 07/07 10:00:55,141 WARNING [140168329684736] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 07/07 10:00:55,191 WARNING [140168329684736] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 07/07 10:00:55,342 WARNING [140168329684736] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 07/07 10:00:55,493 WARNING [140168329684736] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 07/07 10:00:56,246 WARNING [140168329684736] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 07/07 10:01:01,500 WARNING [140168329684736] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 07/07 10:01:05,551 WARNING [140168329684736] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11

MartyG-RealSense commented 2 years ago

It is important to match the RealSense ROS wrapper version as closely as possible with the librealsense SDK version listed in that particular wrapper version's release notes. The librealsense version that matches with the 2.2.21 wrapper version that you are using is 2.41.0

https://github.com/IntelRealSense/realsense-ros/releases/tag/2.2.21

If you are using SDK 2.50.0 then the correct Noetic-compatible wrapper version to match it with is 2.3.2

https://github.com/IntelRealSense/realsense-ros/releases/tag/2.3.2

MariamFdil commented 2 years ago

@MartyG-RealSense it seems that the camera doesn't use that much space of the CPU Screenshot from 2022-07-07 13-42-47

prasuchit commented 2 years ago

@MartyG-RealSense I updated the ros wrapper like you said and nothing changed.

started roslaunch server http://Whisler:44179/

SUMMARY

PARAMETERS

NODES /camera/ realsense2_camera (nodelet/nodelet) realsense2_camera_manager (nodelet/nodelet)

auto-starting new master process[master]: started with pid [200598] ROS_MASTER_URI=http://localhost:11311

setting /run_id to 98f610aa-fe1e-11ec-b04f-07bd33fe1891 process[rosout-1]: started with pid [200611] started core service [/rosout] process[camera/realsense2_camera_manager-2]: started with pid [200619] process[camera/realsense2_camera-3]: started with pid [200620] [ INFO] [1657216791.821151101]: Initializing nodelet with 4 worker threads. [ INFO] [1657216791.956178856]: RealSense ROS v2.3.2 [ INFO] [1657216791.956225762]: Built with LibRealSense v2.50.0 [ INFO] [1657216791.956248450]: Running with LibRealSense v2.50.0 [ INFO] [1657216791.988460306]:
07/07 13:59:52,035 WARNING [139998592149248] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b [ INFO] [1657216792.185015882]: Device with serial number 919122073259 was found.

[ INFO] [1657216792.185089060]: Device with physical ID 2-10.2-7 was found. [ INFO] [1657216792.185191183]: Device with name Intel RealSense D435I was found. [ INFO] [1657216792.185807164]: Device with port number 2-10.2 was found. [ INFO] [1657216792.185842666]: Device USB type: 3.2

[ INFO] [1657216792.236459833]: JSON file is not provided [ INFO] [1657216792.236480552]: ROS Node Namespace: camera [ INFO] [1657216792.236516018]: Device Name: Intel RealSense D435I [ INFO] [1657216792.236537820]: Device Serial No: 919122073259 [ INFO] [1657216792.236566865]: Device physical port: 2-10.2-7 [ INFO] [1657216792.236594045]: Device FW version: 05.13.00.50 [ INFO] [1657216792.236614589]: Device Product ID: 0x0B3A [ INFO] [1657216792.236634764]: Enable PointCloud: Off [ INFO] [1657216792.236655452]: Align Depth: Off [ INFO] [1657216792.236675472]: Sync Mode: Off [ INFO] [1657216792.236762077]: Device Sensors: [ INFO] [1657216792.315369354]: Stereo Module was found. [ INFO] [1657216792.332075925]: RGB Camera was found. [ INFO] [1657216792.332930441]: Motion Module was found. [ INFO] [1657216792.333158410]: (Confidence, 0) sensor isn't supported by current device! -- Skipping... [ INFO] [1657216792.333327802]: num_filters: 0 [ INFO] [1657216792.333471650]: Setting Dynamic reconfig parameters. 07/07 13:59:53,838 WARNING [139998592149248] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: Resource temporarily unavailable, number: b [ INFO] [1657216794.779297862]: Done Setting Dynamic reconfig parameters. [ INFO] [1657216794.779799218]: depth stream is enabled - width: 640, height: 480, fps: 30, Format: Z16 [ INFO] [1657216794.780274107]: color stream is enabled - width: 640, height: 480, fps: 30, Format: RGB8

[ INFO] [1657216794.782909226]: Expected frequency for depth = 30.00000 [ INFO] [1657216794.819605736]: Expected frequency for color = 30.00000

07/07 13:59:54,968 WARNING [139998592149248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 [ INFO] [1657216795.020162298]: SELECTED BASE:Depth, 0 [ INFO] [1657216795.028079622]: RealSense Node Is Up! [ WARN] [1657216795.095053480]: 07/07 13:59:55,096 WARNING [139998592149248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 07/07 13:59:55,147 WARNING [139998592149248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 07/07 13:59:55,197 WARNING [139998592149248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 07/07 13:59:55,361 WARNING [139998592149248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 07/07 13:59:55,411 WARNING [139998592149248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 07/07 13:59:55,461 WARNING [139998592149248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11 07/07 13:59:55,813 WARNING [139998592149248] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11

prasuchit commented 2 years ago

@MartyG-RealSense Another very important problem I forgot to mention(might be because of the same error) is that 2 out of 5 times when I run the driver launch file, the whole system freezes, nothing I do unfreezes it and I've to hard restart my PC. Please let me know how this can be fixed as well. Thanks.

MartyG-RealSense commented 2 years ago

@prasuchit Thanks again for your patience. Whilst RealSense 400 Series cameras can work with any Intel or Arm processor and so should be fine with your Intel Xeon processor, the overall hardware specification of your Xeon server machine may be causing some conflicts with the librealsense SDK that runs underneath the ROS wrapper as the specification is not typical of a consumer PC. This could be the reason for your frequent launch freezes.

What method do you use to install librealsense and the ROS wrapper, please?

  1. Install librealsense and the ROS wrapper together at the same time from packages using the Method 1 apt-get instructions in the wrapper documentation.

or

  1. Install librealsense first from source code and then the ROS wrapper secondly from source code.

or

  1. Some other method.
prasuchit commented 2 years ago

Hi @MartyG-RealSense ,

I used the this method for the installation.

MartyG-RealSense commented 2 years ago

So you installed the librealsense SDK from packages with apt-get and then built the ROS wrapper from source code with the wrapper's Method 2, please?

prasuchit commented 2 years ago

@MartyG-RealSense yes I did.

MartyG-RealSense commented 2 years ago

Are there any problems in the RealSense Viewer tool if you have tried it. If you have tried the Viewer, does it work normally but the ROS wrapper has problems?

prasuchit commented 2 years ago

@MartyG-RealSense I found the problem. Since I've been working with realsense-ros for a really long time, somewhere along the way, I installed the packages through both methods 1 and 2(viz. through apt-get instructions on the wrapper documentation and through these instructions)

So I uninstalled everything related to realsense and reinstalled it just using this method. The apt-get method definitely has many problems, but this method works fine now.

The control_transfer error is gone and both the viewer and the roslaunch file are running smoothly. You may now close this issue, I'll raise a new one if I run into any further problems. Thanks for all the help. :)

MartyG-RealSense commented 2 years ago

You are very welcome. It's great to hear that you achieved a solution. Thanks very much for the update.

I will check that the others on this case have solved their own problems first before closing.

MartyG-RealSense commented 2 years ago

@hugoyvrn @MariamFdil @zhaojiaran111 Do you have updates about your own issues that you can provide, please? Thanks!

MariamFdil commented 2 years ago

@MartyG-RealSense As I said yesterday it's not a problem of space.. I tried a new installation in an another workspace and I built from source but I got the same error when I launch the rs_camera launch file. PS : realsense_viewer work very well I have one little problem with the motion mode that doesn't work.

Thank you for your help!

MartyG-RealSense commented 2 years ago

@MariamFdil Your mention of JetPack 5.0.1 at the start of you section of this discussion at https://github.com/IntelRealSense/realsense-ros/issues/2386#issuecomment-1175336352 indicates that you are using an Nvidia Jetson as your computer. You also mention in that initial comment that you built librealsense from source.

Have you tried an RSUSB backend source code build of librealsense on Jetson like the one in the Jetson instructions at https://github.com/IntelRealSense/librealsense/issues/6964#issuecomment-706643114 by including the CMake build flag -DFORCE_RSUSB_BACKEND=ON please? An RSUSB build bypasses the Linux kernel and so is not dependent on Linux versions or kernel versions and does not require patching.

MariamFdil commented 2 years ago

@MartyG-RealSense I’ve tried both methods building from source using native backend method and RSUSB backend method. The first didn’t work because of patches. The second Worked and here is the command that I used :

sudo cmake -DFORCE_RSUSB_BACKEND=true -DCMAKE_BUILD_TYPE=release -DBUILD_EXAMPLES=true -DBUILD_GRAPHICAL_EXAMPLES=true -OpenGL_GL_PREFERENCE=LEGACY

I followed the steps in this issue : https://github.com/IntelRealSense/librealsense/issues/6710

MartyG-RealSense commented 2 years ago

The build flag -OpenGL_GL_PREFERENCE=LEGACY is usually not used in librealsense source code builds and in a few cases where it is they have been for Raspberry Pi instead of Jetson. It does not seem likely that this flag will be having an effect on the particular problems that you are experiencing in the ROS wrapper though.

Which model of Jetson board are you using, please? If you have a Nano then Intel strongly recommend enabling the barrel jack connector to provide extra power using the instructions at the link below if the particular Nano model owned is equipped with a barrel jack.

https://jetsonhacks.com/2019/04/10/jetson-nano-use-more-power/

It is also common with librealsense source code builds on Jetson to enable support for CUDA graphics acceleration by including the build flag -DBUILD_WITH_CUDA=true in the CMake build instruction.

MariamFdil commented 2 years ago

@MartyG-RealSense I've added the flag 'OpenGL_GL_PREFERENCE=LEGACY' because of a warning that I had, and you're right it didn't change anything.

I have the Jetson Xavier NX developer kit.

I also used the flag -DBUILD_WITH_CUDA=true in my second try of building from source.

MartyG-RealSense commented 2 years ago

@MariamFdil Have you tried changing the USB cable to eliminate the cable as a possible cause of your warnings, please?

MariamFdil commented 2 years ago

@MartyG-RealSense I just tried nothing has changed... PS : The same error occurs when I use the launch file rs_camera and Realsense_viewer even if I have the image

MartyG-RealSense commented 2 years ago

At the point when most possible solutions have been attempted and the problem still occurs, I recommend a wipe and fresh re-install of the computer, including the operating system, if it is possible to do so. This strategy has a good success rate of immediately correcting previously unsolvable problems by removing hidden conflicts.

MartyG-RealSense commented 2 years ago

Hi @hugoyvrn @MariamFdil and @zhaojiaran111 Do you have updates about your problems that you can provide, please? Thanks!

MariamFdil commented 2 years ago

Hi @MartyG-RealSense I rebuilt everything disabling the rsusb backend and the error disapeared. Thanks!

MartyG-RealSense commented 2 years ago

Hi @MariamFdil That's excellent news that you achieved a solution :) Thanks for the update!

MartyG-RealSense commented 2 years ago

Case closed due to no further comments received.

kerolex commented 2 years ago

Hi (@MartyG-RealSense),

I am trying to acquire some RGB + depth image sequences with a Intel RealSense D435i device, but I got the same issue raised in this thread, when running roslaunch.

I created a custom rs_cam.launch that also sets the parameter initial_reset:=true.

Here details of my setup:

Note that installing RealSense-ROS with Method 1, I cannot see realsense-viewer from terminal. However, in a previous installation of the SDK followed by the installation of RealSense ROS, I could access realsense-viewer. When using realsense-viewer the streaming of both RGB and depth was OK.

The USB ports are all 3.2.

Summary of the log is attached. Also note that my laptop tends to freeze any now and then after calling roslaunch.

FYI - I also tried all the procedure on a Dell All-in-One and I could acquired the images. So, the problem seems more specific to the laptop.

Would you have any advise on how to fix the issue for the laptop, as I would need to acquire image sequences with some mobility? I am available to provide any addition information if needed.

realsense-ros_launch.log