-
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
pyrealsense2 no device found #12894
Comments
Hi @szymonzmyslony The Jetson source code installation guide at #6964 (comment) recommends adding definitions for the PYTHONPATH to the end of the bashrc file after initiating the |
the binaries for Python wrapper do not exists anywhere (I also don't get any errors / warnings associated with it during build time), is there a way to find a workaround here ? |
Instead of building the Python wrapper at the same time as the librealsense SDK, you can build librealsense first without the wrapper and then install the wrapper separately from a .whl package with the command Whilst pip install supports installation on Arm devices with an aarch64 wheel file, Jetson users have often found that a pip install does not work for them. You are welcome to try it on your own Jetson, of course. A Jetson user at #12362 (comment) apparently did manage to make it work. |
We have tried it previously, we end up with an error:
|
We tried to use python3.9 with |
One of my Intel RealSense colleagues advised that if there is not a suitable official pyrealsense2 pip installation package file available then you can build the pyrealsense2 wrapper from source code and then upload it as your own Python package. The link below has a guide for creating and uploading packages to PyPi. |
We have suitable pyrealsense2 pip installation
|
A RealSense Jetson user at #12807 (comment) who recently experienced |
I see, but downgrading JetPack is not an option, because many other libraries and programs depend on it. What can I try to do to make it work on JetPack 6.0? |
The latest 2.55.1 version of the librealsense SDK supports JetPack 6. The RealSense user at #12807 had RuntimeError: No device connected with JetPack 6 and the pyrealsense2 wrapper, though at that time they were using librealsense 2.54.2 because the Jetpack 6 supporting 2.55.1 had not been released yet. So it may be worth trying 2.55.1 with JetPack 6. |
HI @furiousteabag Do you require further assistance with this case, please? Thanks! |
Hey Marty! Tomorrow we will be trying to install 2.55.1 with Jetpack 6 and pyrealsense2. Will keep you posted here! |
Thanks very much @furiousteabag for the update - good luck! |
Hello, I am having exactly the same problem. Were you able to solve it? I have version 2.55.1 installed, with Jetpack 6, the same camera with firmware 5.16.0.1. The command "rs-enumerate-devices" recognizes the device, but pyrealsense2 does not. I have already tried different solutions that I have found, but I really don't want to downgrade to Jetpack 5. Any help would be greatly appreciated! |
@thomasaab We haven't tried yet with 2.55.1, but keep us posted if you will have some progress! |
Hello, I am using Orin dev kit with Jetpack 6. Ive been trying to build 2.55.1 with python bindings but have been unsuccessful:
I've tried almost every solution referenced. Any assistance is appreciated |
Hi @shankar-anantak A RealSense user at #12807 who had |
Hi @MartyG-RealSense, unfortunately downgrading is not an option at the moment as JP6 contains updated versions for some of the other frameworks I need. Again, any assistance you can provide is appreciated! For Context: Jetson Orin dev kit, Ubuntu 22.04, JP6, Python3.10, Cuda 12 I have tried both LIBUVC, RSUSB methods w and w/ out a kernel patch script, building latest librealsesnse from source, update cmake method, copying the .so files to various locations throughout the system and adding to path, etc |
Hi @shankar-anantak Have you tried the JetsonHacks website's buildLibrealsense.sh librealsense source-code build script for Jetson boards? The script includes the -DBUILD_PYTHON_BINDINGS=bool:true build flag for installing the pyrealsense2 wrapper at the same time as compiling librealsense. |
Hi @shankar-anantak Do you have an update about your problem that you can provide, please? Thanks! |
Hi @shankar-anantak Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
|
For users with JetPack 6 and a RealSense camera equipped with an IMU, the RealSense MIPI driver at the link below needs to be installed in order for cameras with an IMU on a USB cable connection to be supported, such as D435i and D455. https://github.com/IntelRealSense/realsense_mipi_platform_driver 对于使用 JetPack 6 和配备 IMU 的 RealSense 相机的用户,需要安装以下链接中的 RealSense MIPI 驱动程序,以便支持通过 USB 电缆连接配备 IMU 的相机,例如 D435i 和 D455。 https://github.com/IntelRealSense/realsense_mipi_platform_driver |
Issue
I installed the realsense library from source with
-DFORCE_RSUSB_BACKEND=ON -DBUILD_PYTHON_BINDINGS:bool=true -DPYTHON_EXECUTABLE=/usr/bin/python -DCMAKE_BUILD_TYPE=release -DBUILD_EXAMPLES=true -DBUILD_GRAPHICAL_EXAMPLES=true -DBUILD_WITH_CUDA:bool=true
and completed all instructions based on this comment. Realsense GUI and cmd tools work perfectly but the python wrapper doesn't detect (or work at all) on my Jetson deviceCrossposting from ros-repo, closing old issue
The text was updated successfully, but these errors were encountered: