You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experimenting with two cameras plugged in at the same time, one Asus Xtion2 and one D435.
// Discover devices
rs2::context ctx;
auto deviceList = ctx.query_devices();
for (auto device : deviceList)
{
// Find out device name
std::string name = "Unknown Device";
if (device.supports(RS2_CAMERA_INFO_NAME))
name = device.get_info(RS2_CAMERA_INFO_NAME);
std::cout << "Discovered device: " << name << std::endl;
}
Next to the discovered RealSense, the library first discovers the RealSense as "Intel RealSense 435" and then seems to discover the Xtion2 as "Platform Camera" twice. When reading their name to weed out the devices not accessible with librealsense, each device access taking about 5-10 seconds.
The text was updated successfully, but these errors were encountered:
Hi @fwindolf
You can use librealsense to stream data from regular web-cams.
We might add a flag to query_devices to control this behavior. In the meantime you can disable unwanted behavior by commenting out context.cpp:336-337
Issue Description
I am experimenting with two cameras plugged in at the same time, one Asus Xtion2 and one D435.
Next to the discovered RealSense, the library first discovers the RealSense as "Intel RealSense 435" and then seems to discover the Xtion2 as "Platform Camera" twice. When reading their name to weed out the devices not accessible with librealsense, each device access taking about 5-10 seconds.
The text was updated successfully, but these errors were encountered: