Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

IR and RGB

Kyle_B_
Beginner
975 Views

Hello, the following pertains to the R200

Using the PXCSenseManager and EnableStreams() I cannot access Color and IR (left or right) at the same time.

	R200manager = PXCSenseManager::CreateInstance();
	
	//success?
	if (!R200manager) return;

	R200manager->EnableStream(PXCCapture::STREAM_TYPE_LEFT, 480, 360, 60.0);
	R200manager->EnableStream(PXCCapture::STREAM_TYPE_COLOR, 640, 480, 60.0);

	R200manager->Init(&R200frameHandler);

As seen below, the RealSense SDK Capture Viewer can stream both at once. When my program tries to Init(), it returns an error saying the combination of streams is unsupported. Why can't my program do what the Capture Viewer does?

0 Kudos
2 Replies
Dmitry_Z_Intel
Employee
975 Views

You can use DF_RawStreams to review supported profile combinations for R200. When you select particular color resolution, you will see all incompatible profiles for Depth and IR greyed out. For Color & Left IR, please also select Depth stream (this is what capture viewer doing internally).

0 Kudos
Kyle_B_
Beginner
975 Views

I have fixed it by supplying an integer for the FPS argument instead of the pxcf32 it asked for. Everything works as it should. On a side note it seems this was a design decision but not particularly enforced.

0 Kudos
Reply