-
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
Ubuntu 20.04 release #6436
Comments
Hi @dheera Whilst I do not have the information that you are seeking, a check of the public 'Commits' addition list for the next SDK version (probably named 2.35.0) does not indicate a mention of Ubuntu 20.04, suggesting that it will be introduced at an unknown future date after the next version. |
Any update on this? Since Ubuntu 20.04 uses Python 3.8 #6296 will need to be fixed first. |
@Wallbraker No further news yet about Python 3.8 supporting Pyrealsense2 installation with pip instead of having to build the wrapper manually. Sorry. |
@Wallbraker @MartyG-RealSense Even if we could skip Python 3.8 and support only C++ (and ROS) for now that would be amazingly useful. |
@dheera @Wallbraker I have filed an official feature request with Intel for a pyrealsense2 wheel file for Python 3.8 so that pip install for pyrealsense2 can be used with Python 3.8 instead of compiling the wrapper from source code. Only a small number of cases have been received so far about using librealsense on Ubuntu 20.04. At least one user has successfully installed it on 20.04 using the backend installation method, with minimal performance issues experienced. This may be the best method to use for 20.04 until official support arrives in the SDK. So as I do not yet have a date for official 20.04 support to be released, and the backend installation method seems to work with 20.04 in the meantime, I will close this case. Thanks for your inputs! |
it's sad you have closed it. 20.04 is the latest longtime version it's like supporting window 8 but not 10... |
@vkuehn I understand your concern, but there is no practical reason to keep it open. I have filed an official feature request with Intel for the creation of a Python 3.8 wheel file, and it is highly likely that the RealSense developer team will add official Ubuntu 20.04 LTS support at a future date. |
What are the full steps for backend installation? After running these commands, what else do we have to do?
A
|
@caelinsutch There are instructions for building from source with the backend method (which requires an internet connection and the downloading and extracting of a zip file of the SDK source code) in the link below. If you wish to build the Pyrealsense2 wrapper (the Python bindings) at the same time as installing the SDK (which may work better for you on Ubuntu 20.04 than building the wrapper from pip or source code) then please use the modified CMake instruction below: cmake ../ -DFORCE_RSUSB_BACKEND=true -DBUILD_PYTHON_BINDINGS=true -DCMAKE_BUILD_TYPE=release -DBUILD_EXAMPLES=true -DBUILD_GRAPHICAL_EXAMPLES=true |
@MartyG-RealSense Only worked after running |
Thanks very much for the update @caelinsutch ! |
@MartyG-RealSense One question, even after building/installing succesffully, when trying to build the ROS2 Foxy wrapper, it doesn't find this package. Looking around the file system, there's no cmake files for librealsense2, kist |
@caelinsutch I do not have any knowledge of the Foxy wrapper, so it is difficult to advise. I would guess that the sudo apt-get install ros-foxy-librealsense2 instruction is a script to install Librealsense from the official master branch. Since you have already built Librealsense using CMake, you can probably skip this step. The libssl-dev and libglfw3-dev files described in step 3 of the instructions are usually installed when compiling librealsense from source using the usual non-backend method. Since you have already built librealsense through the backend method (which installs all the dependencies over the internet), you can probably skip this stage too. I would therefore progress straight to installing ros2_intel_realsense from source. I have never heard of the Foxy wrapper until now though, so the above advice - skipping straight to installing ros2_intel_realsense - is speculation on my part rather than certainty, so I apologise in advance if it does not work. |
@MartyG-RealSense I cannot believe I was that dense :/, I completely missed that part in the readme. Worked perfectly after installing |
@caelinsutch I'm very pleased to hear that you succeeded. :) |
I'm leaving a note for those who are stuck on the "config.h: No such file" compile error even after $ sudo apt-get install libusb-1.0-0-dev Then rerun cmake and make install. Here is a complete recipe that worked for me: $ sudo apt-get install libusb-1.0-0-dev $ git clone https://github.com/IntelRealSense/librealsense.git |
Thanks very much @benbongalon :) |
Building it from source on 20.04 LTS worked for me no problem |
Thanks very much for confirmation of what worked for you in your particular case @unigent-software |
rules do not seem to build/ install correctly on 20.04; the udev rules; |
@AndreV84 The alternative to building from source is to build from packages using these instructions: https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md |
@MartyG-RealSense Thank you for following up! |
@AndreV84 There was a RealSense user recently who was able to install the Bionic distribution of librealsense on 20.04 but had some problems when using RViz in ROS, as Bionic is meant for 18.04. IntelRealSense/realsense-ros#1345 You are less likely to encounter problems on 20.04 if you build librealsense from source over an internet connection using the RSUSB backend method. |
@MartyG-RealSense I am similarly trying to use pyrealsense2 with 20.04 and python 3.8 and I have seen a few of your comments reccomending the RSUSB backend method but can't find any examples or more documentation regarding this, could you point me in the right direction? |
@masynthetic
source https://github.com/AndreV84/jetson-containers/blob/master/ros1_realsense/Dockerfile
|
Thank you mine almost worked but I am getting this error
and I cant seem to find the librealsense2.so and pyrealsense2.so files so it doesn't seem to have worked enough Do you have any suggestions for this, and did you have to use the method of copying those two files into the folder of your script? |
@MartyG-RealSense |
The ethernet open-source networking white paper states that whilst they are using Raspberry Pi, the guide can be adapted woth minor modifications for other compute boards. At the time of writing this, rs-server supports RGB at 640x480 (6, 15 or 30 FPS) or 424x240 (6, 15, 30 or 60 FPS). In regard to your questions about where rs-server and realsense2-net should be placed: I should emphasize that I have not built this project myself, but I believe that they go on the compute board (the device with the camera attached) rather than the host because Intel provide a pre-made Raspberry Pi 4 SD card image in the paper with the files pre-installed. The paper also provides confirmation that rs-server runs on the compute device. |
@MartyG-RealSense
that is the output of the patch |
@AndreV84 A response has been posted to your question at IntelRealSense/realsense-ros#1604 (comment) |
@AndreV84 any luck with the installation on 5.11 kernel? Stuck with the same issue. Thanks |
downgrade of the kernel did the trick |
@MartyG-RealSense |
@AndreV84 If the camera was purchased more than 30 days ago then whether it can be returned may depend on the particular problem that it has. If you are having a problem with an L515, please create a new issue about it so that the problem can be analyzed for a potential cause. Thanks! |
@MartyG-RealSense |
@AndreV84 I did not find RealSense references in relation to Edge Insights for Industrial, though Intel Edge Insights For Vision can be paired with RealSense. |
@MartyG-RealSense Hi Marty, I did your method like build the source code using the RSUSB backend. But I do not know what to do next. I mean, how to run the realsense-viewer after 'make'? I can not use roslaunch as well. Thanks for your help! |
Hi @mintng If the build has successfully completed and you included the build terms -DBUILD_EXAMPLES=true -DBUILD_GRAPHICAL_EXAMPLES=true in your CMake build instruction then Linux users should be able to find realsense-viewer (and executables of the other tools and examples) in the usr/local/bin folder. In regard to ROS, have you built the RealSense ROS wrapper from source code after having completed the build of the librealsense SDK (as the ROS wrapper is not included in the librealsense build by default). |
@MartyG-RealSense , howdy |
@AndreV84 In general, a case describing the problem would be created on this forum would be created by the customer so that we can go through a diagnostic process and establish whether the camera is definitely unrecoverable. A camera should ideally be returned to the retailer that it was purchased from within 30 days of purchase, and a retailer may refuse to accept a return if it is later than 30 days even if Intel recommend RMA in a support case. |
@MartyG-RealSense so I shall create github issues topic? To start approaching 'broken unit [l515 ] thing |
@AndreV84 You are welcome to create a new issue for the purposes of diagnosing your L515. Because of the apparent amount of time (months) that you were using the L515 before it had a problem though, there is likely no chance of being able to return it for a replacement now. |
@MartyG-RealSense
seems err? |
resolved by adding symlink |
Great, thanks so much for the update about your successful solution @AndreV84 :) |
@MartyG-RealSense |
found your earlier response here #6979 (comment) |
Thanks for the update! In regard to E57, it is discussed at #1455 |
@MartyG-RealSense Thank you for sharing the url but the discussion seems closeed, but not resolved? Is there a way to create e57 from realsense outputs? e57 is the only format of pointcloud supported for import into nvidia Omniverse, as it seems to me https://docs.omniverse.nvidia.com/app_create/prod_extensions/ext_pointclouds.html |
Hi,
I was wondering what the timeline will be for a 20.04 release of this driver?
The text was updated successfully, but these errors were encountered: