diablodale/jit.openni

Can I use 2 sensors with jit.openni?

Closed this issue · 0 comments

Technically, yes it is possible to use two sensors with jit.openni. This is completely dependent on the OpenNI hardware driver supporting the query for and selecting a specific sensor. jit.openni is agnostic and independent/isolated from the hardware.

The OpenNI API was intended to be designed to support multiple sensors; to enable a developer to select a specific sensors based on query parameters. Common query terms are resolution, color support, frame rate, etc. Other query parameters could be an index to select a specific sensor, or a hardware identifier.

To date, no known hardware drivers support querying for and selecting a specific sensor. Therefore, it is impossible for developers to use the OpenNI query mechanism (the XML fie) to seek for a specific sensor and assign it for use. If hardware manufacturers update their drivers for multiple sensor support, then this would immediately become available in the XML file and therefore jit.openni would automatically support it.

Bad news, is that the OpenNI group abandoned the OpenNI v1.x API. Unfortunately, they are making no further updates or bugfixes for it. It is unlikely that manufacturers will update drivers for an API that has been abandoned. There are some open-source hardware drivers. So far, no known open-source drivers have been updated.