-
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
Realsense D415 with OpenNI2 "device not found". How to resolve it ? #2697
Comments
How about realsense-veiwer? |
it works very well. |
It work well on my computer. (Ubuntu 18.04 + D435) |
Thank u all, |
YES, PROBLEM DONE |
I cant use openni with my D435 either. I ran sudo ./install.sh to install openni2,but I cant find "librs2driver.so" ,why ? |
you may try my procedure to download a openni2 firstly and compile it for the .so files |
I did your steps,but i cant find librs2driver.so in my pc |
have you review the page describing the wrapper openni2, which is given by the librealsense2 team. Did you follow the steps described here? |
thank you |
have u found file "librs2driver.so"? |
hey dude, I just follow your procedure and when i compiled the librealsense-2.17.1 I can just find files "librealsense2.so librealsense2.so.2 librealsense2.so.2.17.1" in "BUILD" folder, no file named "librs2driver.so" what should i do. Thx for ur reply! |
but man, that was how I did to make the lib files. Maybe u could try again or something. By the way, the .so files is under the linux system |
Hey, dude. I figured out how to solve problem. In folder "Wrapper" , you can find folder named "openni2", cd in and compile it, and you can see in the CMakeLists.txt file, the project named "rs2driver",so after compile it, the file "librs2driver.so" came out.That's it. |
IT WORKED! You're a lifesaver, @cucrui. Thank you so much for your help! |
Congratulation guys! |
@cucrui hey I am also facing the same issue. Can you explain how to compile it? |
just cmake and make, i if u dont meet any problem, u will see that file |
@cucrui Yes, I tried that when I tried to make I got this error, thats why I thought I wasn't compiling it right I checked the openni2 installation and found the required file at |
@pillaya21 You might have to switch up a few things, but I hope these instructions help!
|
I have got D415's depth image on SimpleViewer following this thread, but I can't see image on NiViewer.
Do you have any idea ....? |
Try to follow mfoo431's comments, and have you get librs2driver.so file? |
Yes. I was able to run SimpleViewer with librs2driver.so. |
Sorry, I never meet this problem. Waitting for others reply. |
Issue Description
The problem is, I followed the tutorial from librealsense/wrappers/openni2/README.md which tell me how to develope realsense devices on OpenNI2 framework, but things went wrong as the error gives: "device not found".
I wonder whether my operating procedure was wrong or right. My steps goes like below:
1.Download and install OpenNI2 SDK
2.Run OpenNI2/Packaginng/ReleaseVersion.py to create a package named "OpenNI-Linux-x64-2.2"
3.Copy "librs2driver.so"+"librealsense2.so"+"librealsense2.so.2"+"librealsense2.so.2.16.3" to "OpenNI-Linux-x64-2.2/Samples/Bin/OpenNI2/Drivers/"
4.Then as the tutorial says "Launch any OpenNI2 example located at OPENNI2_DIR/Samples/Bin/", I choose "SimpleViewer". But result turned out wrong like this title described above. So
WHAT SHOULD I DO?
The text was updated successfully, but these errors were encountered: