View Single Post
  #3   Spotlight this post!  
Unread 19-01-2012, 18:07
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Determining if you are in Hybrid mode.

When you launch the DS, it launches the Kinect Server. It is typically still running even if you do not have a Kinect plugged into the computer, and sends that error info to the DS and to the rest of the system.

If a Kinect is plugged in and the Kinect driver is doing what they are supposed to, the joystick axes should be changing, and the auto could transition to hybrid. If you don't want to wait that long, you could have an I/O setting to control it.

I haven't tested it, but the Kinect Header VI returns a version string. If the Kinect is not connected, I believe that you can tell by looking at the version string. It will contain the error description.

Greg McKaskle
Reply With Quote