Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Pol_P_
Beginner
74 Views

C# Streams at different frame rates

Hi,

I have been experimenting with RealSense for a while. Usually, my projects used synchronized RGB and Depth images.

However, for the one that I am working on, I need depth updated at the highest frame rate (I believe it is 60fps in the R200 sensor that I am using).

I specify it like this:

PXCMSenseManager sm = session.CreateSenseManager();

sm.EnableStream(PXCMCapture.StreamType.STREAM_TYPE_COLOR, 1920, 1080, 30);
sm.EnableStream(PXCMCaputre.StreamType.STREAM_TYPE_DEPTH, 320, 240, 60);

But that basically prevents the sensor from streaming any type of frame. However, when I change the depth fps to 30 everything works perfectly.

Any idea of what I a missing?

Thanks in advance, 

 

 

 

0 Kudos
3 Replies
Xusheng_L_Intel
Employee
74 Views

This should work. You can try our sample app @C:\Program Files (x86)\Intel\RSSDK\framework\CSharp\DF_RawStreams.cs, you can select color @1920x1080x30 and depth @320x480x60 at the same time. Thanks!

Pol_P_
Beginner
74 Views

Hi David,

Thanks for your answer. With the example code I managed to get the camera to stream 60fps in depth data but only at 648x468 but not at 320x240. Any idea why?

Thanks!

Pol_P_
Beginner
74 Views

Ok, I downloaded the latest drivers and sdk for my camera and everything works now. Sorry, I should have started there :/

Reply