-
Notifications
You must be signed in to change notification settings - Fork 4.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
SDK installation problem #7863
Comments
Hi @TouchDeeper Given the number of errors that you have experienced, I would recommend trying a backend installation of librealsense, which requires an internet connection for the installation process but is not dependent on kernel versions or Linux versions and does not require patching. The librealsense version 2.17.0 from November 29 2018 that you are using is very old, as the SDK is currently up to 2.40.0 at the time of writing this. If you need to use the 2.17.0 librealsense version for your project then the libuvc backend method of backend installation should be the suitable one for that age of SDK. https://github.com/IntelRealSense/librealsense/blob/master/doc/libuvc_installation.md If you are able to upgrade your project to a modern SDK, then versions 2.30.0 and newer can instead use a backend installation method called RSUSB to build librealsense from source code with the CMake build flag -DFORCE_RSUSB_BACKEND=true. Again, an internet connection is required for this method. |
@MartyG-RealSense |
The ROS wrapper can work with librealsense whether it is built manually or with RSUSB. RSUSB does have some limitations compared to a manual build. For more information about this, please visit the link below and scroll down through the linked-to comment to the section headed What are the advantages and disadvantages of using libuvc vs patched kernel modules? |
We have the same issue and we find out that you need to change this is our verson |
Thanks very much @chia-labradorsystems for your advice to @TouchDeeper :) |
@chia-labradorsystems Thanks for your advice, I use your patch, it work. But I found that the
But the line
The Then I run realsense-viewer, some warning occur:
Does these waring affect? |
@MartyG-RealSense @chia-labradorsystems I don't know why, there will be new warnings occur now when I open realsense-viewer. When I check on Stereo Module, a warning occurs: |
@MartyG-RealSense @chia-labradorsystems There will be new warning occurs like I post in my first comment. When I open the realsense-viewer, warnings occur:
Then I check on Then I check on Then I check on What's more, the hardware timestamp of all streams is not available except the accel stream. Could you please provide some advice? Tanks a lot. |
@TouchDeeper It looks as though hardware metadata support is not enabled on your librealsense build. When performing a manual build, metadata support is provided by patching (a step you reported as having failed in the opening comment of this case). If you are still using SDK 2.17.1 then could you try a libuvc-backend build of librealsense instead of a manual one if you have not tried it already, please? https://github.com/IntelRealSense/librealsense/blob/master/doc/libuvc_installation.md Do not run the patching script after the libuvc-backend build is completed, as patching is not necessary with the backend installation method and metadata support should be included in the build already. |
@MartyG-RealSense, @ev-mp thank you for your reply.
because I have installed the dependencies manually and I need the 2.17.1 version. After installation, I run The information of
The related information of
The output of dmesg is:
|
Mixing installations together that were created by different methods is not recommended. Because -DFORCE_LIBUVC=true was used, it is likely that the dependencies were freshly installed automatically over the internet, potentially causing a conflict with dependencies that were already present from the previous 2.17.0 installation. If you need to uninstall the 2.17 manual installation, you should be able to by going to its build folder and inputting the instruction below: sudo make uninstall && make clean |
@MartyG-RealSense I have done |
Hi @TouchDeeper You have a point about the problems of using libuvc_installation.sh for the installation, as it is set by default to look for the latest master version of the SDK instead of the 2.17 version that you want. It may be possible to edit the path of the script to look for a local zip file containing the 17.1 source code but it is likely too much trouble to be worth trying. Let's go back to the manual installation process. https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md Can you confirm please that when you perform the manual installation, you perform all of the steps for Ubuntu 16 before Step 3. Also, are you using the Ubuntu 16 command for the distribution-specific packages and not the Ubuntu 16.04 live-disk command which is for running Ubuntu off a USB drive or a disk. |
@MartyG-RealSense I find that after I calibrated the IMU according to |
Once the .txt file has been saved, the IMU calibration tool should then ask you if you want to save the calibration to the camera hardware. Do you receive this message and input Y in response to it, please? To quote the documentation: Then the script will ask to save the data to the Device. That’s it. At the end a confirmation message appears: |
Thank you for your reply. But I 'm sure I have entered Y when it ask me whether to save the result to camera.
…---Original---
From: "MartyG-RealSense"<notifications@github.com>
Date: 2020/12/11 20:18:11
To: "IntelRealSense/librealsense"<librealsense@noreply.github.com>;
Cc: "Mention"<mention@noreply.github.com>;"庄庭达"<610690824@qq.com>;
Subject: Re: [IntelRealSense/librealsense] SDK installation problem (#7863)
Once the .txt file has been saved, the IMU calibration tool should then ask you if you want to save the calibration to the camera hardware. Do you receive this message and input Y in response to it, please?
To quote the documentation:
Then the script will ask to save the data to the Device.
Choose Y (or any other combination with Y or y in it) to save.
That’s it. At the end a confirmation message appears:
SUCCESS: saved calibration to camera.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
If you are still using SDK 2.17, I wonder if that could be a cause of the calibration not saving, as the SDK release notes say that the IMU calibration tool was first released in SDK 2.18.0, the next version after the one you are using. https://github.com/IntelRealSense/librealsense/wiki/Release-Notes#release-2180 |
The SDK version is 2.40. But it is strange that now the calibration result still works after I reboot. |
Thanks for the update @TouchDeeper - do you still have a problem that needs solving, please? |
@MartyG-RealSense I'm still testing, please give me more time. Thank you a lot. |
No problem, please update when you have test results. Good luck! |
@MartyG-RealSense I have posted a new issue about calibration, could you please have a look? Thank you a lot. |
I will look at it. Thanks very much. |
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
Issue Description
Hello,
I install the realsense 2.17.1 according to the manual installation guide.
When I run:
./scripts/patch-realsense-ubuntu-lts.sh
, a fail information occur, the total output is below:I ignore it and keep install the librealsense. After installation, I test the installation by realsense-viewer. some warning occur:
I check on the
Motion module
, an error occur:Motion Module failure
, the terminal in which realsense-viewer run output:Then I check on the
RGB Camera
, the terminal in which realsense-viewer run output:Then I check on the
Stereo Module
, the terminal in which realsense-viewer run output:Then I check off the
Motion Module
, the terminal in which realsense-viewer run output:Could you please provide some advice to solve these issues? Thanks a lot.
The text was updated successfully, but these errors were encountered: