-
Notifications
You must be signed in to change notification settings - Fork 787
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
D455 vs. D435i vs L515 for 3D Room scanning #614
Comments
Hi, *1 Ive also built my own 3D lens for a canon EOS M as a portable rig, knock off of the Lumix 3D which I also own, neither will calibrate in rtabmap even with ffmpeg tricks to crop/resize/lenscorrect the stream before passing it to the v4l2 loopback (and opening that in rtabmap) -Looking into opencv2 and how that mangles reality next. D455 top, L515 bottom - both scanned with rtabmap (and changes for the L515 code) |
Hi @rlabs-oss |
Hi, and the depth sensor selection
Currently I'm trying to figure out how to select the L515's infrared stream rather than the RGB stream which will be more useful in the dark. |
For rtabmap standalone, a new commit has been added for L515: 3047b7d |
I tried the new commit for realsense L515. |
Can you comment this line and see if it changes something? |
I comment Same Error. |
I can detail the workarounds I made - 1st fix was to the gyro which if using Ubuntu20.04 the kernel stream sync isn't active. This line Since steams maybe de synced, I ignored them / pass them for the L500 And this line Desired frames is also problematic if the IMU info doesnt arrive on time, comment it out More hacks really since if the kernel driver /stream sync is present the changes should not be needed. |
@matlabbe and @rlabs-oss thank you very much! It works like charm. |
The D455 + T265 quick room scan. The scanning was faster than shown in the video since I was post processing it and recording for upload. |
Hi guys, even after the new commit I don't see the l515 in my source list in the standalone app? How do I initialize the camera? I do have librealsense2 and the standalone app. |
Manually setup the camera via the Select sensor driver/More Options button, or Detection - Select source - more options.
|
Thank you! I seem to be having some realsense issues also but I will try this once I get them worked out! |
I confirm that solution provided by rslabs-oss is working without problems. I was also able to use the standard settings of the D435 provided by RTABmap standalone tool for the L515. |
Hi, |
Leaving the gyro code alone (which will warn: "CameraRealSense2.cpp:409::getPoseAndIMU() Could not find gyro data to interpolate at image time 76198.835000 (earliest is 1604436689619.677734). Are sensors synchronized?" when using the L515 and Commenting out those lines to read And adding the previous hack for global sync in this line Will enable the L515 at 640x480x30 in release 0.20.6 without causing the D415 to stop working. (librealsense 2.39.0 October 1st release, and all camera firmwares updated) |
@samhoff20 Is the camera working with the realsense-viewer without error? Turn on all streams/modules in the viewer and watch the console log. The difference for the changes is shown below. diff ~/external-source/GitHub_RTAB/rtabmap/corelib/src/camera/CameraRealSense2.cpp corelib/src/camera/CameraRealSense2.cpp
|
This is the error I'm getting in the realsense terminal when trying to press play on rtabmap. realsense-viewer and having both depth sensor and rgb camera on (not motion module though). Then this last ERROR[139668014343936] repeats endlessly. |
If I am just in the realsense viewer and I turn on both depth sensor and rgb turn on fine, but I get the following error when turning on the motion module if that is an issue: |
To clarify: realsense-viewer should not be open when using rtabmap they are both independent applications. |
Hello guys, |
Oh ok, I will install 2.39 librealsense. I will immediately give a response :) |
The current Windows build uses 2.39: Line 119 in 80199f2
Maybe if you have upgraded to 2.40 and a new firmware update happened, this could have make the sensor incompatible with 2.39 used by rtabmap. I will upgrade to 2.40 on my linux and windows computer and see if my D435i and T265 still work ok. |
ok thank you, I have tried 2.39.0.2337 but anyway the same error :/ |
do you see the l515 as one device? like herre? |
Is RealSenseViewer 2.39 working correctly with your device? (can you change resolution to 640x480 of the RGB camera?) |
yes. In realsense-viewer @Anderson191919 you should see for the (/opps motion sensor) click the RGB slider to enable the RGB camera:- |
This is the depth camera, and for the RGB camera? |
@matlabbe Im in the process of build librealsense v2.40 and will also test that, not for this issue but generally over the cams I own. - The release notes recommend cmake .. -DFORCE_RSUSB_BACKEND=TRUE For V5 kernels. |
…alTimeSync option is off, don't wait 35 ms for imu (and fails), just take the latest one directly (#614 (comment)).
I tried 2.40 on Ubuntu with D435i and T265 and it works as usual. Currently rebuilding Windows artifacts with 2.40, but I think it won't change anything, it is like the two cameras have not the same version, or that the firmwares are different. @Anderson191919 make sure you plug in the camera in a USB3 port, as long as you cannot have RGB 640x480 working in RealSenseViewer, it won't work in rtabmap either. You could try RealSenseViewer 2.40 to see if you can get the RGB 640x480 working. |
@matlabbe Rebuilt rtabmap + V2.40 librealsense: After camera firmware upgrades. The L515 works with global sync unchecked. The D455 reported a motion module failure on starting it and recovered (in realsense-viewer). - didn't affect rtabmap, The D455 is exceptionally fast with the madgwick filter enabled. D415 works however the IR mode inc depth IR looks quite underexposed. |
Thank you @rlabs-oss! For the Global Sync issue, I think the original patch I received was from someone working on Windows, so the driver may work differently and Global Sync may work only on Windows (as you stated that kernel versions can affect this issue). For D415 IR exposure, maybe there are some options available to change that. Check in RealSenseViewer for such options. You can then save the profile and load the presets in rtabmap with "D400 Series Visual Presets" option in Preferences->Source dialog. Some presets (look for best accuracy presets for rtabmap). |
Have installed 2.40 but still no option of 640x480 for rgb stream :( |
and plugged in usb 3 |
okkkkkkkkkeeeeyyyy i have solved it. thanks again for your help. maybe someone else have or will have the problem. here is the solution:
again thanks for your help @matlabbe and @rlabs-oss 👍 |
@Anderson191919 Happy to read you have solved this. The realsense-viewer normally prompts to update firmware but perhaps there was something preventing this and nice to see the images how to do that which will help others with the same issue. |
I hope so :) the viewer prompts me with an update but the updated firmware does not work either. I have also tried version
All of them do not work for me but 1.5.0.0 works |
Small note: for convenience, you don't have to explicitly set 640x480x30Hz, the resolution 848x480x60Hz parameters are ignored when L500 is detected, 640x480x30 is hard-coded: rtabmap/corelib/src/camera/CameraRealSense2.cpp Lines 704 to 707 in 7859313
When I will get my hands on a L515, I will check to add more resolution options and maybe also support IR-only mode (to test this demo on L515). |
Does the update process show an error? Updating the firmware on the L515 does take time and appears to stop but eventually worked for me. Maybe check the USB port or try to confirm the port really is USB3.2 and also not via a hub. Original cable and try the rear motherboard ports if using a desktop. The speed at which the plug is inserted also matters its best to plug to the computer first then the camera. |
During the firmware update the console showed some errors. Nevertheless the flash worked and got the corresponding firmware version. The firmware flashes with the other versions also work fine but are not showing 640x480x30 options in realsense.viewer. Therefore i used firmware 1.5.0.0 Maybe this also helps @samhoff20 Best regards ^^ |
Hi Peta, I have same error like The only difference is I'm running on win10, can you please share your source code/commit to me? thanks a lot, |
this works fine after using this commit...I did the 3 hacks on Ubuntu 16 with L515...However I found only the last hack EDIT : this solved my problem |
Dear all,
I want to scan rooms and create water tight meshes. I have started exploring intel realsense L515 with RTABMAP-Ros but I am not happy with the results. Mapping is very unstable and sensitive to daylight. Since I can see many successful applications using realsense D435i I am thinking to buy one, too, and use it directly with RTABMap. Today i learned that Intel has already released a new version D455 and I am wondering if any of you has some experience with it using RTABmap for mapping and odometry. Which one shall I buy, or do you suggest even a different camera or a combination of different devices for room scanning with RTABMap - Room has to be a watertight model with floor, walls, windows and ceiling.
Cheers Peter
The text was updated successfully, but these errors were encountered: