-
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
l515 fails to start #1293
Comments
You can use the following launch file to start it. The main thing is to set correct resolutions for depth and color cams in the launch file.
|
Just as an additional point of reference, have a look at #1246 |
Hi @ramilmsh - Were you able to get things going? *If we don’t hear from you in 7 days, this issue will be closed. |
@RealSenseCustomerSupport no, I have not. I keep getting the same error. I will be happy to provide any additional information about my set up |
If the camera is connected as a usb2.0 device it may explain the error. Can you make sure you are connected as a USB3 device? Check with realsense-viewer if you can. |
@doronhi yeah, it's working over usb 3.1, according to realsense viewer |
I have the same problem, L515 is connected as USB3.2 device. Is there any solution? |
I also encountered the same problem and I think it may be caused by some new commits in librealsense ( 81cffa8 & 10e402a ). In this commit the enum RS2_OPTION_SENSOR_MODE gets an extra option QVGA. I am not sure how but somewhere the enum options get mixed up and i think this causes the error in the librealsense. I found a fix by changing line 1258 of model-views.cpp from
By doing this it rs_camera.launch worked for me although I cannot explain exactly why and it is only a quick fix, but maybe this helps figuring out the exact issue. |
It's not working. The enum is defined as follow. It does not make sense change RS2_SENSOR_MODE_VGA to RS2_SENSOR_MODE_XGA in line 1258 of model-views.cpp typedef enum rs2_sensor_mode |
Ah yes, sorry I forgot to mention to change the order of the enum as well: typedef enum rs2_sensor_mode |
It works for me. Thanks for sharing the solution. To summarize @doronhi ' s solution:
Then, in "librealsense/build" folder run
The problem will be resolved. |
@doronhi I will change it locally for testing purposes, but, would you mind making a PR? |
First of all, thanks for the credit but it was not my solution. Thank @doterkuile and @randomblbl for their work and investigation :) |
Hi all, a relevant bug was fixed recently (for another reason but fixed a lot of issues with the RS Enums) and I believe it is the root of the issue. This fix will be included in the next release. If you can try undoing the changes you made and apply the commit change I attached it will help us understand if the issue is fixed or something else is hiding over there. Thanks. |
Will the QVGA option increase the confidence at a given range? |
I use Ubuntu 18.04 on a desktop with kernel 4.15.0-72-generic. I have updated the firmware of my l515 to the latest version 01.04.01.02 using it with a usb3.2 connection. Hope this helps! |
Hi, Will you be needing further help with this? If we don’t hear from you in 7 days, this issue will be closed. Thanks |
I've built libreasense (f7cdf6e), realsense_ros (a25ea06) and ddynamic_reconfigure (0481332a3e4dceff458c202657f64c6b44224eb5) with catkin build on ubuntu gnome 16.04.
I am trying to test l515 camera and I am not sure how to do that properly.
I tried to do
roslaunch realsense2_camera rs_camera.launch
and it failed with the following message:The text was updated successfully, but these errors were encountered: