Items with no label
3338 討論

Error on Unity with D415

bperr2
初學者
5,790 檢視

Hi, I tried to the unity wrapper from the sdk but when I launched it, I have an error and don't see any screen from the camera.

To install it I follow the documentation on https://github.com/IntelRealSense/librealsense/tree/master/wrappers/unity librealsense/wrappers/unity at master · IntelRealSense/librealsense · GitHub

In the console my error is :

Exception: Failed to resolve request. No device found that satisfies all requirements

rs2_config_resolve(config:00000000174248C0, pipe:0000000017424700)

Intel.RealSense.Helpers+ErrorMarshaler.MarshalNativeToManaged (IntPtr pNativeData)

Intel.RealSense.Config.Resolve (Intel.RealSense.Pipeline pipe)

RealSenseDevice.Awake () (at Assets/RealSenseSDK2.0/Scripts/RealSenseDevice.cs:87)

A the beginning I thinked it was a problem between my computer and the camera but when I launch Intel RealSense Viewer I found my D415 as Intel RealSense USB2 and I only have Stereo Module avaible and no RGB Module. So what is the problem and how to solve it ?

Thank you for your help.

0 積分
15 回應
MartyG
榮譽貢獻者 III
3,643 檢視

Your camera is apparently being treated as though it is plugged into a USB 2.0 port, even if it is in a USB 3.0 port. This is a known issue with SDK 2.0. You may be able to get the camera to be properly recognized if you unplug it from the USB port, wait a couple of seconds and then quickly and firmly push it back in.

bperr2
初學者
3,643 檢視

Thank you for answering so fast.

I tried to unplug and plug with a waiting time between 10 seconds and 2 minutes and no change.

And I tried this solution too without success:

MartyG
榮譽貢獻者 III
3,643 檢視

Does your camera always show as USB2 in the Viewer?

bperr2
初學者
3,643 檢視

Yes the name is still Intel RealSense USB2.

And in peripherals and printers in Configuration Panel the state of the Intel RealSense 415 is "The device can run faster when connected to a USB 3.0 port"

Ps : This is in French Sorry

MartyG
榮譽貢獻者 III
3,643 檢視

The USB2 issue is known to Intel and it is on their to-do list to be fixed in a future firmware driver update.

"D400 Series cameras intermittently enumerated as USB2 device on unplug / plug (DSO-6804)"

Apologies for asking, but are you sure that the camera is plugged into a USB 3.0 port? You can tell which one is USB 3.0 by looking in the port and seeing if the connector is blue instead of white.

bperr2
初學者
3,643 檢視

I understand why you ask this, the 3.0 USB port is important for good working of Intel RealSense.

I plug it into a USB 3.0, I am sure of this because the connector is blue like you said and, just before it is writting USB3.0.

MartyG
榮譽貢獻者 III
3,643 檢視

My own laptop sometimes encounters the USB2 problem. If a quick plug-unplug does not fix it, another method I use is to plug in a chargeable device such as a tablet into a USB 2.0 port when the device is switched off. Once the device begins charging, it tells the computer's USB system to send more power to the ports to provide power for the charging. Do you have a tablet or smartphone to plug in to see if this method works for you?

bperr2
初學者
3,643 檢視

Do I have to plug my phone when the camera is plugged or I unplug the camera before connect my phone to the computer.

MartyG
榮譽貢獻者 III
3,643 檢視

The phone should be plugged in first into the USB 2.0 port, and then the camera plugged into the USB 3.0 port.

bperr2
初學者
3,643 檢視

No change.

I thinked about something, the cable is important?

Because my Boss forgot the standard cable so I use a USB C Dash.

Do you think this is that's what's blocking me?

MartyG
榮譽貢獻者 III
3,643 檢視

The choice of cable can have an affect on performance and reliability. The cable supplied with the camera is the one validated by Intel to work best with it. Whilst other cables can be used, the results will be unpredictable. For example, if a cable is longer than 2 m in length then the camera will tend not to work unless the cable is an expensive high-grade one.

bperr2
初學者
3,643 檢視

Okay, that's a good point thanks, I would try with the good one tommorow. If I have a problem I will re-contact you on this topic.

Thanks a lot and have a nice day.

MartyG
榮譽貢獻者 III
3,643 檢視

It's my pleasure. I wish you the best of luck and will be here if you continue to have problems tomorrow.

bperr2
初學者
3,643 檢視

The problem is solve that was the cable.

MartyG
榮譽貢獻者 III
3,643 檢視

Awesome news - thanks so much for letting us know. Good luck with the rest of your project!

回覆