Items with no label
3335 Discussions

Device identification problem when using multiple R200 devices on the system

EEric1
Novice
2,001 Views

I use following coding to manage all R200 devices on the system, but can only capture one of them. It works for multiple SR300 devices. Need help. Thanks!

// session is a PXCMSession instance

PXCMSession.ImplDesc desc1=new PXCMSession.ImplDesc();

desc1.group=PXCMSession.ImplGroup.IMPL_GROUP_SENSOR;

desc1.subgroup=PXCMSession.ImplSubgroup.IMPL_SUBGROUP_VIDEO_CAPTURE;

for (int m=0;;m++) {

PXCMSession.ImplDesc desc2;

if (session.QueryImpl(desc1,m,out desc2).IsError()) break;

Console.WriteLn("Module[{0}]: {1}", m, desc2.friendlyName);

PXCMCapture capture;

pxcmStatus sts=session.CreateImpl(desc2, out capture);

if (sts.IsError()) continue;

// print out all device information

for (int d=0;;d++) {

PXCMCapture.DeviceInfo dinfo;

sts=capture.QueryDeviceInfo(d,out dinfo);

if (sts.IsError()) break;

Console.WriteLn(" Device[{0}]: {1}",d,dinfo.name);

}

capture.Dispose();

}

0 Kudos
1 Solution
idata
Employee
432 Views

Hi Ericrui,

 

 

Thanks for contacting us!

 

 

We appreciate the information provided. The SR300 DCM has features that allow it to be used as a peripheral with possibly multiple cameras connected to the system, however, the R200 does not have these features and must be used one at a time.

 

 

Hope this information helps.

 

 

Regards,

 

-Yermi

 

 

View solution in original post

0 Kudos
10 Replies
idata
Employee
433 Views

Hi Ericrui,

 

 

Thanks for contacting us!

 

 

We appreciate the information provided. The SR300 DCM has features that allow it to be used as a peripheral with possibly multiple cameras connected to the system, however, the R200 does not have these features and must be used one at a time.

 

 

Hope this information helps.

 

 

Regards,

 

-Yermi

 

 

0 Kudos
EEric1
Novice
432 Views

Hi Yermi,

Thanks for your feedback!

One more question, is it possible that R200 have the feature same as SR300 in near future? Actually SR300 have this feature only after I updated its driver files recently.

Cheers,

Eric

0 Kudos
idata
Employee
432 Views

Hi Eric,

 

 

You're welcome! Regarding your other question, currently there aren't plans to implement these features to the R200 camera.

 

 

Regards,

 

-Yermi

 

0 Kudos
EEric1
Novice
432 Views

Hi Yermi,

It's really disappointing, as it is stated in SDK manual that "Each SDK session may contain multiple camera modules, each carries a different camera implementation. Each camera module may contain multiple devices. See Enumerate Devices for how to enumerate devices."

And that's why I purchased 30pcs of R200 camera and now I don't know how to do with them! Where can I make a formal complaint about this?

best regards,

Eric

0 Kudos
idata
Employee
432 Views

Hi Eric,

 

 

That's true, in the "Enumerating Devices" section mentions that, and it is not immediately clear that it will only work with multiple SR300 cameras. However, the "Working with Peripheral Devices" section of the SDK, https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?doc_essential_working_with_peripheral_devices.html https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?doc_essential_working_with_peripheral_devices.html, states that this applies to SR300 cameras. It is not an SDK limitation, but rather a limitation of the camera driver. The camera driver, DCM, for the cameras are different.

 

 

However, you can enumerate multiple cameras if you use librealsense: https://github.com/IntelRealSense/librealsense https://github.com/IntelRealSense/librealsense. Also, we would like to let you know that we'll forward your feedback to our development team.

 

 

Regards,

 

-Yermi

 

0 Kudos
EEric1
Novice
432 Views

Hi Yermi,

Thanks for your help.

After a quick glance at librealsense, I am puzzled that it has the functionality of multi-camera capture across heterogeneous camera architectures, but what I need to solve is how to use several R200 cameras at one time. Could you kindly give me more tips on that? Thanks!

best regards,

Eric

0 Kudos
idata
Employee
432 Views

Hi Eric,

 

 

We'd recommend you to contact Librealsense (https://github.com/IntelRealSense/librealsense https://github.com/IntelRealSense/librealsense), and post this question there. They can provide you good tips or a better answer for your question.

 

 

Regards,

 

-Yermi

 

0 Kudos
idata
Employee
432 Views

Hi Eric,

 

 

We would like to let you know that we were able to use two R200 cameras on an Ubuntu 16.004 LTS running librealsense. To install librealsense we followed this guide: https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md. Once the libraries were installed we build the examples, the binaries were placed under /usr/local/bin. We ran the example cpp-multicam which showed the R200 camera streams.

 

 

Hope this information helps.

 

 

Regards,

 

-Yermi

 

0 Kudos
EEric1
Novice
432 Views

Hi Yermi,

Great thanks for your help!

I will have a try following your guide first. Though, I need at least three R200 cameras to carry out full body scan at one time so if you know any solution it will be much appreciated. Thank you again and wish you a nice Xmas!

best regards,

Eric

0 Kudos
idata
Employee
432 Views

Hi Eric,

 

 

Right now we'd suggest you to follow the guide we have posted, and let us know your results.

 

 

Have a nice Xmas too!

 

 

Regards,

 

-Yermi

 

0 Kudos
Reply