Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connected outuput #5

Open
sunep opened this issue Sep 26, 2023 · 1 comment
Open

Connected outuput #5

sunep opened this issue Sep 26, 2023 · 1 comment

Comments

@sunep
Copy link

sunep commented Sep 26, 2023

It would be great to have an output so it was possible to see if the kinect is connected. An IsConnected outputpin, perhaps with an ID if multiple kinects are connected

@ravazquez
Copy link
Collaborator

Hi @sunep , thanks for bringing this up.

The Kinect2 node already has an IsOpen output pin. This is directly forwarding what the SDK exposes as described here: https://learn.microsoft.com/en-us/previous-versions/windows/kinect/dn758619(v=ieb.10).

Is this not what you are looking for?

While looking at this I noticed there is an additional property we did not expose called IsAvailable which is described here: https://learn.microsoft.com/en-us/previous-versions/windows/kinect/dn758615(v=ieb.10). However, it seems to only become true once the sensor is opened, which would imply you could just use IsOpen

As for the ID for the scenario of multiple Kinect2 sensors being connected simultaneously, I am afraid the Microsoft SDK we use only allows a single Kinect2 per machine, so this would not really be that helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants