Detecting the Kinect sensor state change/disconnection example

The Discussion

  • User profile image
    Nerdenator

    Greg,

    The code seems to have a small error. I tried it, and while it does start, it does not report the status of my Kinect for Windows sensor. I think this *may* have something to do with line 27, where in the list of arguments for console.writeline there is "ect.Status". Did you mean e.Status, or _kinect.Status? Or is it something else entirely?

  • User profile image
    gduncan411

    @Nerdenator: Good catch, thank you.

    Yep, there was a bug on line 27 (now fixed). I switched it to e.Status and it seems to work for me.

    In looking at the original post though, looks like the author later updated it to use _kinect.Status. Either one should work.

    (Just a side note, I cannot take any credit for this project/code. The original author, http://elbruno.com/, deserves all the kudo's and credit, etc for it. I'm just the messenger...

     Wink

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.