![]() |
Programming Case Structure for Kinect Code
I am trying to create a case structure in my Kinect Code that will check to see if a kinect is connected. If it is, it will run the TRUE code in the case structure running the Kinect Code and if FALSE it will run a different autonomous code. Does anybody know the block I would wire to the case structure allowing me to do this?
|
Re: Programming Case Structure for Kinect Code
Most of the Kinect vi's have a "success" output that should be usable for this.
|
Re: Programming Case Structure for Kinect Code
Quote:
Another option would seem to be the Kinect Header vi which returns the number of players. |
Re: Programming Case Structure for Kinect Code
Good point, I looked at it early on, but don't remember when success was true or when it was false.
# players=0 sounds good. Inspect the available outputs to see which one will work for you. |
Re: Programming Case Structure for Kinect Code
I believe it is the Kinect header that returns the Version String. A numeric value indicates that all is well and otherwise the string contains messages such as No Power.
Greg McKaskle |
| All times are GMT -5. The time now is 11:14. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi