kneave Thanks for your feedback! Will take care from next time to help you debug.
I have done a reset to the network settings. Based on this article suggestion, I should change ethernet 3, ethernet adapter wsl and eth0 inet ips right?
kneave Thanks for your feedback! Will take care from next time to help you debug.
I have done a reset to the network settings. Based on this article suggestion, I should change ethernet 3, ethernet adapter wsl and eth0 inet ips right?
No, only the IP address of the interface you're connecting the POE device to
When I use 169.254.1.222 in imu_version.py,
RuntimeError: Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND
What have you set the address of the ethernet port to that it connects to?
Based on ifconfig (wsl)
eth0 inet ip is 172.26.220.210/20
Based on ipconfig (windows)
192.168.56.1 255.255.255.0
After adding 169.254.1.10/16 in eth0, it says no device found. without it its saying RuntimeError: Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND
WSL is still in NAT mode in that case.
The xlink error sounds like it's actually connecting to the camera at least.
kneave what mode should I change it to?
This is from the first post I made on this topic...
https://discuss.luxonis.com/d/3754-no-depth-ai-devices-found-wsl2-ping-works/4
kneave I already have a .wslconfig file with networkingMode=mirrored.
All 3 ips for ethernet 3, Luxonis and Hyper-V manager as defined in windows are responding to the ping inside wsl. Even static ip ping is working. This does mean that there is no bridge issue right?
running imu_version still outputs:
RuntimeError: Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND
'xlink device not found' suggests you've connected to be honest, maybe the IMU just doesn't work.
I'd suggest making a script on windows that you know works and then trying it again in WSL. If you have something working you know the camera works at least and the code is transferable as long as you've the libraries installed
kneave I have the ros environment installed and running in wsl.
Can you recommend another script and a suggestion for changing the line where I should make the static ip change ? Maybe something that does not use imu. Lets say for example rgb_video.py?
@Jackmarks In the case imu is not working, will it be possible to send a replacement for the device?
You've been told how to change the scripts and there are plenty of examples available. I'm sorry but if you can't spend the time to figure that out and experiment with scripts yourself you'll never learn how to use these cameras.
kneave Thanks for your time. Ill try a couple of things. Hopefully its not a hardware issue is what im hoping.