Closed Elektron97 closed 1 week ago
Hi @Elektron97 I would not recommend using WSL2 with RealSense if possible. It can be problematic to get it to work with librealsense, and getting it working with the RealSense ROS wrapper can be even more of a challenge.
In the past Microsoft have recommended using Windows 11 with WSL2 rather than Windows 10, as mentioned at https://github.com/IntelRealSense/realsense-ros/issues/2481#issuecomment-1250103682 - are you using Windows 10 or 11, please?
HI @MartyG-RealSense , thank you for the answer. I'm currently using Windows 11.
I note that you are using ROS1 Noetic, which suggests that you have version 2.50.0 of the librealsense SDK installed and the 2.3.2 version of the RealSense ROS1 wrapper installed as you used the installation command sudo apt-get install ros-noetic-realsense2-camera
If you are using librealsense 2.50.0, the recommended camera firmware driver version to use is 5.13.0.50 instead of 5.16.0.1.
Thank you! I'm going to try in the next few days and I'll let you know asap!
You are very welcome. I look forward to your next report. Good luck!
I tried again with the firmware version suggested to me, downloaded here, because in the official page](https://www.intel.com/content/www/us/en/download/19242/firmware-for-intel-realsense-d400-product-family.html) is not listed.
However, I have the same error: These are the info in the realsense viewer:
Further advice about getting the camera working with WSL2 on Windows 11 can be found at https://github.com/IntelRealSense/librealsense/issues/10506#issuecomment-1125860744
I tried but still not working :(. I changed also the USB cable into a 3.2 USB cable. I paste the new settings from the realsense viewer.
To be sure, I pasted here also the procedure to link the device with WSL. Command Prompt
usbipd bind --busid 2-13
usbipd attach --wsl --busid 2-13
# output
# usbipd: info: Using WSL distribution 'Ubuntu-20.04' to attach; the device will be available in all WSL 2 distributions.
# usbipd: info: Using IP address 192.168.96.1 to reach the host.
In the ubuntu terminal
lsusb
# Bus 002 Device 003: ID 8086:0b3a Intel Corp. Intel(R) RealSense(TM) Depth Camera 435i
# Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
# Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I solved the issue by restarting udev by following these steps. Thank you very much!
You are very welcome. It's great to hear that you were successful. Thanks very much for the update and for sharing the solution that worked for you!
In WSL2 I tried to launch:
and I obtained this error:
For the installation, I typed:
I saw online that a file
99-realsense-libusb.rules
is required, so I pasted it from here as suggested in this issue for Ubuntu 18.04. Unfortunately, it didn't work. Are there some different solutions for Ubuntu 20.04?