-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for L515 LiDAR camera #1246
Comments
The latest librealsense2 version (2.35.2) together with firmware version 01.04.01.00 introduced a new PID for the L515 device. |
Great! I'll wait for the update then. For the "no matching profile...", |
On launching ( Thanks! |
Having the same problem here. |
This is fixed in PR #1248. |
PR #1248 which adds 0x0B64 PID is merged to the new release: version 2.2.14. |
With the newest release v2.2.14, the issue regarding
|
@doronhi Thanks for the update. The L515 does get launched now, however, there doesn't seem to be a pointcloud topic (colored or otherwise) on the I am also seeing the warnings that @Le-Li-Franka mentions |
I am seeing the same issue as reported by @nkhedekar in this thread. Not able to view the point cloud using Rviz. I am using Ubuntu 16.04 and ROS Kinetic. I tried the exact same command as @doronhi suggested. No point cloud being published. I echoed the topic as well |
I can't reproduce. I tested L515 with the following command: |
Thanks for updating. We are using ubuntu 18.04 with exactly the same librealsense, realsense_camera and firmware. Could you test it again on a machine with ubuntu 18.04? @doronhi @RealSenseCustomerSupport |
Config: The topic Output of SUMMARY
========
PARAMETERS
* /camera/realsense2_camera/accel_fps: 250
* /camera/realsense2_camera/accel_frame_id: camera_accel_frame
* /camera/realsense2_camera/accel_optical_frame_id: camera_accel_opti...
* /camera/realsense2_camera/align_depth: False
* /camera/realsense2_camera/aligned_depth_to_color_frame_id: camera_aligned_de...
* /camera/realsense2_camera/aligned_depth_to_fisheye1_frame_id: camera_aligned_de...
* /camera/realsense2_camera/aligned_depth_to_fisheye2_frame_id: camera_aligned_de...
* /camera/realsense2_camera/aligned_depth_to_fisheye_frame_id: camera_aligned_de...
* /camera/realsense2_camera/aligned_depth_to_infra1_frame_id: camera_aligned_de...
* /camera/realsense2_camera/aligned_depth_to_infra2_frame_id: camera_aligned_de...
* /camera/realsense2_camera/allow_no_texture_points: False
* /camera/realsense2_camera/base_frame_id: camera_link
* /camera/realsense2_camera/calib_odom_file:
* /camera/realsense2_camera/clip_distance: -2.0
* /camera/realsense2_camera/color_fps: 30
* /camera/realsense2_camera/color_frame_id: camera_color_frame
* /camera/realsense2_camera/color_height: 480
* /camera/realsense2_camera/color_optical_frame_id: camera_color_opti...
* /camera/realsense2_camera/color_width: 640
* /camera/realsense2_camera/depth_fps: 30
* /camera/realsense2_camera/depth_frame_id: camera_depth_frame
* /camera/realsense2_camera/depth_height: 480
* /camera/realsense2_camera/depth_optical_frame_id: camera_depth_opti...
* /camera/realsense2_camera/depth_width: 640
* /camera/realsense2_camera/device_type:
* /camera/realsense2_camera/enable_accel: True
* /camera/realsense2_camera/enable_color: True
* /camera/realsense2_camera/enable_depth: True
* /camera/realsense2_camera/enable_fisheye1: True
* /camera/realsense2_camera/enable_fisheye2: True
* /camera/realsense2_camera/enable_fisheye: True
* /camera/realsense2_camera/enable_gyro: True
* /camera/realsense2_camera/enable_infra1: True
* /camera/realsense2_camera/enable_infra2: True
* /camera/realsense2_camera/enable_pointcloud: False
* /camera/realsense2_camera/enable_sync: False
* /camera/realsense2_camera/filters: pointcloud
* /camera/realsense2_camera/fisheye1_frame_id: camera_fisheye1_f...
* /camera/realsense2_camera/fisheye1_optical_frame_id: camera_fisheye1_o...
* /camera/realsense2_camera/fisheye2_frame_id: camera_fisheye2_f...
* /camera/realsense2_camera/fisheye2_optical_frame_id: camera_fisheye2_o...
* /camera/realsense2_camera/fisheye_fps: 30
* /camera/realsense2_camera/fisheye_frame_id: camera_fisheye_frame
* /camera/realsense2_camera/fisheye_height: 480
* /camera/realsense2_camera/fisheye_optical_frame_id: camera_fisheye_op...
* /camera/realsense2_camera/fisheye_width: 640
* /camera/realsense2_camera/gyro_fps: 400
* /camera/realsense2_camera/gyro_frame_id: camera_gyro_frame
* /camera/realsense2_camera/gyro_optical_frame_id: camera_gyro_optic...
* /camera/realsense2_camera/imu_optical_frame_id: camera_imu_optica...
* /camera/realsense2_camera/infra1_frame_id: camera_infra1_frame
* /camera/realsense2_camera/infra1_optical_frame_id: camera_infra1_opt...
* /camera/realsense2_camera/infra2_frame_id: camera_infra2_frame
* /camera/realsense2_camera/infra2_optical_frame_id: camera_infra2_opt...
* /camera/realsense2_camera/infra_fps: 30
* /camera/realsense2_camera/infra_height: 480
* /camera/realsense2_camera/infra_width: 640
* /camera/realsense2_camera/initial_reset: False
* /camera/realsense2_camera/json_file_path:
* /camera/realsense2_camera/linear_accel_cov: 0.01
* /camera/realsense2_camera/odom_frame_id: camera_odom_frame
* /camera/realsense2_camera/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/rosbag_filename:
* /camera/realsense2_camera/serial_no:
* /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:
* /rosdistro: melodic
* /rosversion: 1.14.5
NODES
/camera/
realsense2_camera (nodelet/nodelet)
realsense2_camera_manager (nodelet/nodelet)
auto-starting new master
process[master]: started with pid [15171]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to a166d6da-b734-11ea-a978-4c1d96890fb2
process[rosout-1]: started with pid [15183]
started core service [/rosout]
process[camera/realsense2_camera_manager-2]: started with pid [15190]
process[camera/realsense2_camera-3]: started with pid [15191]
[ INFO] [1593124727.014842058]: Initializing nodelet with 12 worker threads.
[ INFO] [1593124727.195341105]: RealSense ROS v2.2.14
[ INFO] [1593124727.195430676]: Running with LibRealSense v2.33.1
[ INFO] [1593124727.214925474]:
[ INFO] [1593124727.341813313]: Device with serial number 00000000f0140727 was found.
[ INFO] [1593124727.341918798]: Device with physical ID /sys/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/video4linux/video4 was found.
[ INFO] [1593124727.341964676]: Device with name Intel RealSense L515 was found.
[ INFO] [1593124727.343031379]: Device with port number 2-2 was found.
[ INFO] [1593124727.348168573]: getParameters...
[ INFO] [1593124727.424889265]: setupDevice...
[ INFO] [1593124727.424916127]: JSON file is not provided
[ INFO] [1593124727.424927503]: ROS Node Namespace: camera
[ INFO] [1593124727.424940731]: Device Name: Intel RealSense L515
[ INFO] [1593124727.424950303]: Device Serial No: 00000000f0140727
[ INFO] [1593124727.424968584]: Device physical port: /sys/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/video4linux/video4
[ INFO] [1593124727.424981096]: Device FW version: 01.04.01.00
[ INFO] [1593124727.424992711]: Device Product ID: 0x0B64
[ INFO] [1593124727.425001874]: Enable PointCloud: On
[ INFO] [1593124727.425012387]: Align Depth: Off
[ INFO] [1593124727.425023030]: Sync Mode: On
[ INFO] [1593124727.425056382]: Device Sensors:
[ INFO] [1593124727.425341593]: L500 Depth Sensor was found.
[ INFO] [1593124727.425666589]: RGB Camera was found.
[ INFO] [1593124727.425744763]: Motion Module was found.
[ INFO] [1593124727.425765583]: (Infrared, 1) sensor isn't supported by current device! -- Skipping...
[ INFO] [1593124727.425782233]: (Infrared, 2) sensor isn't supported by current device! -- Skipping...
[ INFO] [1593124727.425793916]: (Fisheye, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1593124727.425804929]: (Fisheye, 1) sensor isn't supported by current device! -- Skipping...
[ INFO] [1593124727.425815795]: (Fisheye, 2) sensor isn't supported by current device! -- Skipping...
[ INFO] [1593124727.425827370]: (Pose, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1593124727.425847718]: Add Filter: pointcloud
[ INFO] [1593124727.426257700]: num_filters: 1
[ INFO] [1593124727.426272750]: Setting Dynamic reconfig parameters.
[ INFO] [1593124727.454132676]: Done Setting Dynamic reconfig parameters.
[ INFO] [1593124727.454670921]: depth stream is enabled - width: 640, height: 480, fps: 30, Format: Z16
[ INFO] [1593124727.454811058]: infra stream is enabled - width: 640, height: 480, fps: 30, Format: Y8
[ WARN] [1593124727.454867835]: Given stream configuration is not supported by the device! Stream: Color, Stream Index: 0, Width: 640, Height: 480, FPS: 30
[ WARN] [1593124727.454901031]: No mathcing profile found for accel with fps=250
[ WARN] [1593124727.454921224]: profiles found for accel:
[ WARN] [1593124727.454938902]: fps: 400. format: MOTION_XYZ32F
[ WARN] [1593124727.454955594]: fps: 200. format: MOTION_XYZ32F
[ WARN] [1593124727.454971111]: fps: 100. format: MOTION_XYZ32F
[ INFO] [1593124727.454990670]: setupPublishers...
[ INFO] [1593124727.457016229]: Expected frequency for depth = 30.00000
[ INFO] [1593124727.478311961]: Expected frequency for infra = 30.00000
[ INFO] [1593124727.491737719]: setupStreams...
[ INFO] [1593124727.492158082]: insert Depth to L500 Depth Sensor
[ INFO] [1593124727.492184973]: insert Infrared to L500 Depth Sensor
[ INFO] [1593124727.492203309]: insert Gyro to Motion Module
[ INFO] [1593124727.623352089]: SELECTED BASE:Depth, 0
25/06 15:38:47,623 WARNING [139987242583808] (types.cpp:49) Requested extrinsics are not available!
[ WARN] [1593124727.623920993]: (Gyro, 0) -> (Depth, 0): Requested extrinsics are not available! : using unity as default.
[ INFO] [1593124727.626124883]: RealSense Node Is Up! Output of /camera/depth/camera_info
/camera/depth/color/points
/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/gyro/imu_info
/camera/gyro/sample
/camera/infra/camera_info
/camera/infra/image_raw
/camera/infra/image_raw/compressed
/camera/infra/image_raw/compressed/parameter_descriptions
/camera/infra/image_raw/compressed/parameter_updates
/camera/infra/image_raw/compressedDepth
/camera/infra/image_raw/compressedDepth/parameter_descriptions
/camera/infra/image_raw/compressedDepth/parameter_updates
/camera/infra/image_raw/theora
/camera/infra/image_raw/theora/parameter_descriptions
/camera/infra/image_raw/theora/parameter_updates
/camera/l500_depth_sensor/parameter_descriptions
/camera/l500_depth_sensor/parameter_updates
/camera/motion_module/parameter_descriptions
/camera/motion_module/parameter_updates
/camera/pointcloud/parameter_descriptions
/camera/pointcloud/parameter_updates
/camera/realsense2_camera_manager/bond
/camera/rgb_camera/parameter_descriptions
/camera/rgb_camera/parameter_updates
/diagnostics
/rosout
/rosout_agg
/tf
/tf_static |
@nkhedekar according to the output it seems the default settings are not valid for the color stream...
Try setting the RGB stream to 1280x720 or 1920x1080. |
@pauldeee Thank you! That was the issue 😅 Just to recap: The launch file should be launched with |
There seem to be a few messages at the end of the output: 25/06 16:26:45,953 WARNING [140254882772736] (backend-hid.cpp:681) HID set_power 1 failed for /sys/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.7/0003:8086:0B64.0009/HID-SENSOR-200073.2.auto/iio:device0/buffer/enable
[ INFO] [1593127605.957366407]: SELECTED BASE:Depth, 0
25/06 16:26:46,068 WARNING [140255123457792] (types.cpp:49) Requested extrinsics are not available!
[ WARN] [1593127606.069341075]: (Gyro, 0) -> (Depth, 0): Requested extrinsics are not available! : using unity as default.
25/06 16:26:46,069 WARNING [140255123457792] (types.cpp:49) Requested extrinsics are not available!
[ WARN] [1593127606.069574713]: (Accel, 0) -> (Depth, 0): Requested extrinsics are not available! : using unity as default. I'm not sure what the first one is but for the second and third, aren't these supposed to be calibrated out of the box or are the users supposed to calibrate these? |
@nkhedekar , @pauldeee , |
Here is the output of Device info:
Name : Intel RealSense L515
Serial Number : 00000000f0140727
Firmware Version : 01.04.01.00
Recommended Firmware Version : 01.04.01.00
Physical Port : /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1.3/2-1.3:1.0/video4linux/video4
Debug Op Code : 15
Product Id : 0B64
Camera Locked : YES
Usb Type Descriptor : 3.2
Product Line : L500
Asic Serial Number : 00000003a8a873dd
Firmware Update Id : 00000003a8a873dd
Stream Profiles supported by L500 Depth Sensor
Supported modes:
stream resolution fps format
Infrared 1024x768 @ 30Hz Y8
Infrared 768x1024 @ 30Hz Y8
Infrared 640x480 @ 30Hz Y8
Infrared 480x640 @ 30Hz Y8
Depth 1024x768 @ 30Hz Z16
Depth 768x1024 @ 30Hz Z16
Depth 640x480 @ 30Hz Z16
Depth 480x640 @ 30Hz Z16
Stream Profiles supported by RGB Camera
Supported modes:
stream resolution fps format
Color 1920x1080 @ 30Hz RGB8
Color 1920x1080 @ 30Hz Y16
Color 1920x1080 @ 30Hz BGRA8
Color 1920x1080 @ 30Hz RGBA8
Color 1920x1080 @ 30Hz BGR8
Color 1920x1080 @ 30Hz YUYV
Color 1920x1080 @ 15Hz RGB8
Color 1920x1080 @ 15Hz Y16
Color 1920x1080 @ 15Hz BGRA8
Color 1920x1080 @ 15Hz RGBA8
Color 1920x1080 @ 15Hz BGR8
Color 1920x1080 @ 15Hz YUYV
Color 1920x1080 @ 6Hz RGB8
Color 1920x1080 @ 6Hz Y16
Color 1920x1080 @ 6Hz BGRA8
Color 1920x1080 @ 6Hz RGBA8
Color 1920x1080 @ 6Hz BGR8
Color 1920x1080 @ 6Hz YUYV
Color 1280x720 @ 60Hz RGB8
Color 1280x720 @ 60Hz Y16
Color 1280x720 @ 60Hz BGRA8
Color 1280x720 @ 60Hz RGBA8
Color 1280x720 @ 60Hz BGR8
Color 1280x720 @ 60Hz YUYV
Color 1280x720 @ 30Hz RGB8
Color 1280x720 @ 30Hz Y16
Color 1280x720 @ 30Hz BGRA8
Color 1280x720 @ 30Hz RGBA8
Color 1280x720 @ 30Hz BGR8
Color 1280x720 @ 30Hz YUYV
Color 1280x720 @ 15Hz RGB8
Color 1280x720 @ 15Hz Y16
Color 1280x720 @ 15Hz BGRA8
Color 1280x720 @ 15Hz RGBA8
Color 1280x720 @ 15Hz BGR8
Color 1280x720 @ 15Hz YUYV
Color 1280x720 @ 6Hz RGB8
Color 1280x720 @ 6Hz Y16
Color 1280x720 @ 6Hz BGRA8
Color 1280x720 @ 6Hz RGBA8
Color 1280x720 @ 6Hz BGR8
Color 1280x720 @ 6Hz YUYV
Stream Profiles supported by Motion Module
Supported modes:
stream resolution fps format
Accel N/A @ 400Hz MOTION_XYZ32F
Accel N/A @ 200Hz MOTION_XYZ32F
Accel N/A @ 100Hz MOTION_XYZ32F
Gyro N/A @ 400Hz MOTION_XYZ32F
Gyro N/A @ 200Hz MOTION_XYZ32F
Gyro N/A @ 100Hz MOTION_XYZ32F The The output of /camera/accel/imu_info
/camera/accel/sample
/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/depth/camera_info
/camera/depth/color/points
/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/extrinsics/depth_to_color
/camera/gyro/imu_info
/camera/gyro/sample
/camera/infra/camera_info
/camera/infra/image_raw
/camera/infra/image_raw/compressed
/camera/infra/image_raw/compressed/parameter_descriptions
/camera/infra/image_raw/compressed/parameter_updates
/camera/infra/image_raw/compressedDepth
/camera/infra/image_raw/compressedDepth/parameter_descriptions
/camera/infra/image_raw/compressedDepth/parameter_updates
/camera/infra/image_raw/theora
/camera/infra/image_raw/theora/parameter_descriptions
/camera/infra/image_raw/theora/parameter_updates
/camera/l500_depth_sensor/parameter_descriptions
/camera/l500_depth_sensor/parameter_updates
/camera/motion_module/parameter_descriptions
/camera/motion_module/parameter_updates
/camera/pointcloud/parameter_descriptions
/camera/pointcloud/parameter_updates
/camera/realsense2_camera_manager/bond
/camera/rgb_camera/parameter_descriptions
/camera/rgb_camera/parameter_updates
/diagnostics
/rosout
/rosout_agg
/tf
/tf_static Both the accelerometer and gyroscope seem to be publishing normally on the topics
|
With regards to the |
@nkhedekar , thanks for the info. Looking into it and will keep you posted. |
There also seems to be another largely sporadic bug. The L515 causes the orientation of the desktop to change. I noticed this on two occasions while using the realsense-viewer and today after killing the ros node. |
@doronhi FYI we are also unable to reproduce these issues. 640x480 resolution is avail and working as well as pointclouds. We don't see the HID set_power 1 failed error nor the desktop orientation change. I do however see the... "No matching profile found for accel with fps=250 ...warning and the "Requested extrinsics are not available!" warning. Using Ubuntu 18.04 and ROS Melodic Thanks |
This worked for me I am able to see the output point cloud. |
Hi @caochao39 Will you be needing further help with this? Did the latest librealsense and suggestions above resolve your issue? Thanks |
I think the major issue of not being able to see the pointcloud output is solved. There are two possible bugs that have come up in this discussion:
@RealSenseSupport I can open a new issue for each of these since this issue can be marked as solved. |
That works @nkhedekar and thank you! It's easier to track em that way too. We'll go ahead and close this issue then. Thanks again. |
When I do
roslaunch realsense2_camera rs_camera.launch
with the L515 model, the nodes failed to launch with the errorUnsupported device! Product ID: 0x0B64
. I have to manually change RS_L515_PID to0x0B64
to make it launch.With that hack, the nodes launched with another error
An error has occurred during frame callback: Time is out of dual 32-bit range
.roslaunch realsense2_camera rs_camera.launch filters:=pointcloud
works without errors and publishes the depth image. But there are still a couple of warnings:Given stream configuration is not supported by the device! Stream: Infrared, Stream Index: 1, Width: 640, Height: 480, FPS: 30
No mathcing profile found for accel with fps=250
Frame metadata isn't available! (frame_timestamp_domain = RS2_TIMESTAMP_DOMAIN_SYSTEM_TIME)
No stream match for pointcloud chosen texture Process - Color
I haven't looked deep into the code. But it seems that the driver is not in full support for the L515 model. The firmware version I am using is
01.04.01.00
The text was updated successfully, but these errors were encountered: