Skip to content
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

doesn't work with D435i #11

Closed
phields opened this issue Apr 12, 2019 · 17 comments
Closed

doesn't work with D435i #11

phields opened this issue Apr 12, 2019 · 17 comments
Assignees
Labels
question Further information is requested

Comments

@phields
Copy link

phields commented Apr 12, 2019

pic435i
Depth camera is on, but it's output nothing.
(Unity Version2019.1.0b10,everything is default)

@keijiro keijiro self-assigned this Apr 12, 2019
@keijiro keijiro added the question Further information is requested label Apr 12, 2019
@keijiro
Copy link
Owner

keijiro commented Apr 12, 2019

Thanks for reporting the issue.

  • Is there any message on the console view?
  • Could you update Unity to 2019.1.0f1? I'm sure that the RealSense SDK doesn't care about such a small version difference but HDRP and VFX Graph do.

@phields
Copy link
Author

phields commented Apr 12, 2019

@keijiro
Thanks for reply.
There is no any console view(0 message), it looks like 2019.1.0f1 failed just like 2019.1.0b10.

@phields
Copy link
Author

phields commented Apr 12, 2019

I think the reason is there is no render texture output(color and position).
But the RealSenseSDK2.0's demo worked normal..

@keijiro
Copy link
Owner

keijiro commented Apr 13, 2019

How about decreasing the framerate in the Rs Device profile to 30? D415 supports 60 fps but I don't know if D435 supports it.

@phields
Copy link
Author

phields commented Apr 13, 2019

@keijiro I tried, 30 or 60fps both working in RealSenseSDK demo, but still no rendering in the Rsvfx.
Dkvfx is work for me, so that might be not the HDRP and VFX Graph's problem.

@phields
Copy link
Author

phields commented Apr 13, 2019

IntelRealSense/librealsense#2455
IntelRealSense/librealsense#3474
I found something useful.
It looks like the color and depth frame is not align on D435i ?(with same width&height)

@bdaver
Copy link

bdaver commented Apr 13, 2019 via email

@phields
Copy link
Author

phields commented Apr 13, 2019

Try changing regional settings on your pc. Especially date and number format to united states. I spent days to understand why vfx rendering stops. It cripples the shader ehen you compile. It is a rarely known bug on unity. Timeline animations suffer from the same problem as well. When you try to rotate game objects, it goes to billions in degrees.

On 13 Apr 2019, at 10:44, phields @.***> wrote: IntelRealSense/librealsense#2455 IntelRealSense/librealsense#3474 I found something useful. It looks like the color and depth frame is not align on D435i ?(with same width&height) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

I tried.
Still not working:(
vfx rendering nothing because PointCloudBaker doesn't output textures

@phields
Copy link
Author

phields commented Apr 13, 2019

图片

@keijiro
Copy link
Owner

keijiro commented Apr 13, 2019

How about upgrading the firmware? I hardly think it helps but should be tried once.

@phields
Copy link
Author

phields commented Apr 13, 2019

How about upgrading the firmware? I hardly think it helps but should be tried once.

Tried, I decided to return the D435i to Amazon.

@kromond
Copy link

kromond commented May 28, 2019

Hi, I have the D435 (not with the i) and also is not working. The console says this

ExternalException: rs2_pipeline_start_with_config(pipe:000001A2A40CE5B0, config:000001A2A40CFC90)
Rethrow as Exception: Couldn't resolve requests
Intel.RealSense.ErrorMarshaler.MarshalNativeToManaged (System.IntPtr pNativeData) (at <39ff202c67d64a63acbba4ae542e7167>:0)
Intel.RealSense.Pipeline.Start (Intel.RealSense.Config cfg) (at <39ff202c67d64a63acbba4ae542e7167>:0)
RsDevice.OnEnable () (at Assets/RealSenseSDK2.0/Scripts/RsDevice.cs:71)

For the T265 I see similar

ExternalException: rs2_pipeline_start_with_config(pipe:000001A2A28AA030, config:000001A2A28AA1D0)
Rethrow as Exception: No device connected

D415 works as expected. For all three I'm getting the Serial number from the realsense viewer and putting it into Requested Serial Number. Are there any other steps required?

@keijiro
Copy link
Owner

keijiro commented May 29, 2019

@kromond Regarding T265, it has to be activated before the other RealSense devices.

IntelRealSense/librealsense#3734

To do this with Capture.unity example, please try the following steps:

  1. Stop playing.
  2. Deactivate RealSenseVGA60 game object.
  3. Start playing.
  4. Activate RealSenseVGA60 game object.

I'm trying to find a better solution to this issue.

@kromond
Copy link

kromond commented May 29, 2019

thank you @keijiro, T265 example working now. Also D435 works fine when I create a new RsDevice

@keijiro
Copy link
Owner

keijiro commented Jun 18, 2019

Finally I bought a D435i device and confirmed that it works without any problem on my side.

I'm closing this issue now. Please feel free to reopen if it still reproduces.

@antoniohof
Copy link

Probably you just need to rebuild all VFX graphs before pressing play. (Edit->Visual Effect-> Rebuild)

@mhkim0720
Copy link

It's simple. Change the color and depth frame rate to 30 and the 435i will work as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

6 participants