IntelRealSense / realsense-ros

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

No D415 Sensors recognised on ROSLaunch #938

Closed matthew-rt closed 4 years ago

matthew-rt commented 4 years ago

Hi, I've followed the instructions here to install the relevant packages to use a realsense D415 through ROS, but when launching the realsense2_camera launch file, none of the sensors in the camera are recognised. The terminal reads as follows:

started roslaunch server http://Sir-Clive:38175/

SUMMARY

PARAMETERS

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

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

setting /run_id to 2a003f52-e393-11e9-a39c-94b86d5a68c4 process[rosout-1]: started with pid [6032] started core service [/rosout] process[camera/realsense2_camera_manager-2]: started with pid [6049] process[camera/realsense2_camera-3]: started with pid [6050] [ INFO] [1569855682.296742187]: Initializing nodelet with 8 worker threads. [ INFO] [1569855682.359808724]: RealSense ROS v2.2.8 [ INFO] [1569855682.359840818]: Running with LibRealSense v2.29.0

[ INFO] [1569855683.137585972]: JSON file is not provided [ INFO] [1569855683.137611841]: ROS Node Namespace: camera [ INFO] [1569855683.137637112]: Device Name: Intel RealSense D415 [ INFO] [1569855683.137647774]: Device Serial No: 851112061486 [ INFO] [1569855683.137658877]: Device FW version: 05.11.11.100 [ INFO] [1569855683.137671544]: Device Product ID: 0x0AD3 [ INFO] [1569855683.137684631]: Enable PointCloud: Off [ INFO] [1569855683.137693596]: Align Depth: Off [ INFO] [1569855683.137712456]: Sync Mode: Off [ INFO] [1569855683.137803727]: Device Sensors: [ INFO] [1569855683.137840783]: Stereo Module was found. [ INFO] [1569855683.137862354]: RGB Camera was found. [ INFO] [1569855683.137894145]: (Fisheye, 0) sensor isn't supported by current device! -- Skipping... [ INFO] [1569855683.137909816]: (Fisheye, 1) sensor isn't supported by current device! -- Skipping... [ INFO] [1569855683.137922278]: (Fisheye, 2) sensor isn't supported by current device! -- Skipping... [ INFO] [1569855683.137934779]: (Gyro, 0) sensor isn't supported by current device! -- Skipping... [ INFO] [1569855683.137947592]: (Accel, 0) sensor isn't supported by current device! -- Skipping... [ INFO] [1569855683.137959840]: (Pose, 0) sensor isn't supported by current device! -- Skipping... [ INFO] [1569855683.137984753]: num_filters: 0 [ INFO] [1569855683.137998100]: Setting Dynamic reconfig parameters. [ INFO] [1569855683.294383464]: Done Setting Dynamic reconfig parameters. [ INFO] [1569855683.322989770]: depth stream is enabled - width: 640, height: 480, fps: 30 [ INFO] [1569855683.323435375]: infra1 stream is enabled - width: 640, height: 480, fps: 30 [ INFO] [1569855683.323830859]: infra2 stream is enabled - width: 640, height: 480, fps: 30 [ INFO] [1569855683.335890677]: color stream is enabled - width: 640, height: 480, fps: 30

[ INFO] [1569855683.339012062]: Expected frequency for depth = 30.00000 [ INFO] [1569855683.367862512]: Expected frequency for infra1 = 30.00000 [ INFO] [1569855683.393265563]: Expected frequency for infra2 = 30.00000 [ INFO] [1569855683.417269914]: Expected frequency for color = 30.00000

[ INFO] [1569855683.445791759]: insert Depth to Stereo Module [ INFO] [1569855683.445838007]: insert Color to RGB Camera [ INFO] [1569855683.445864730]: insert Infrared to Stereo Module [ INFO] [1569855683.445900017]: insert Infrared to Stereo Module [ INFO] [1569855683.466494544]: SELECTED BASE:Depth, 0 [ INFO] [1569855683.515947053]: RealSense Node Is Up!

As can be seen, both Fisheye cameras return the message "sensor isn't supported by current device".

When using real sense viewer, both cameras work as expected. For reference, uname returns the following: Linux Sir-Clive 4.15.0-64-generic #73~16.04.1-Ubuntu SMP Fri Sep 13 09:56:18 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

FredHaa commented 4 years ago

This is the expected behavior. The D415 does not have fisheye sensors, and thus the module is skipped.

Try to launch rqt_image_view and look at the topics '/camera/color/image_raw' and '/camera/depth/image_rect_raw'

matthew-rt commented 4 years ago

My mistake, thank you for your help. I was attempting to add the images as cameras instead, hence the feed displaying as black.