Go to Post If you speak three languages, you're trilingual. If you speak two languages, you're bilingual. And if you speak one language, you're American. - Hieb [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 15-02-2012, 15:13
therealman1's Avatar
therealman1 therealman1 is offline
Registered User
FRC #3044
Team Role: Programmer
 
Join Date: Oct 2011
Rookie Year: 2011
Location: ballston spa
Posts: 14
therealman1 can only hope to improve
Re: Programming Kinect Buttons

if you are using java you need to bring in a Kinect (not a KinectStick) then what i did was find the Yaxis value of the right hand then print the Yaxis on the drive station afther playing with that i set it so when the Yaxis goes above a point it is true
Reply With Quote
  #2   Spotlight this post!  
Unread 15-02-2012, 15:18
Draycos214 Draycos214 is offline
Registered User
FRC #2389 (Oklahoma STORM)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: South Carolina
Posts: 8
Draycos214 is an unknown quantity at this point
Re: Programming Kinect Buttons

Im using LabVIEW. My problem is that i cant just press the buttons by themselves. I have to have my hands out (which is drive for me) to trigger them. I want to be able to keep my hands in and press the head-tilt buttons
Reply With Quote
  #3   Spotlight this post!  
Unread 15-02-2012, 15:25
therealman1's Avatar
therealman1 therealman1 is offline
Registered User
FRC #3044
Team Role: Programmer
 
Join Date: Oct 2011
Rookie Year: 2011
Location: ballston spa
Posts: 14
therealman1 can only hope to improve
Re: Programming Kinect Buttons

ive got no knowlage of labview... so im no help to you but you should think about java next season from what ive herd java is alot easyer
Reply With Quote
  #4   Spotlight this post!  
Unread 15-02-2012, 15:29
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Programming Kinect Buttons

Quote:
Originally Posted by Draycos214 View Post
Im using LabVIEW. My problem is that i cant just press the buttons by themselves. I have to have my hands out (which is drive for me) to trigger them. I want to be able to keep my hands in and press the head-tilt buttons
This is just how the Kinect Server works and is outlined in the Getting Started with the Microsoft Kinect for FRC document and described further in the Kinect Server Code Walkthough. The arms must be in a "valid" position in order to "enable" the Kinect Sticks to send any data other than zeros.

The raw Kinect data is piped through regardless of arm position so you can use that and the LabVIEW Gesture Processing example to implement the same buttons yourself on the robot side.
Reply With Quote
  #5   Spotlight this post!  
Unread 15-02-2012, 16:34
Draycos214 Draycos214 is offline
Registered User
FRC #2389 (Oklahoma STORM)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: South Carolina
Posts: 8
Draycos214 is an unknown quantity at this point
Re: Programming Kinect Buttons

Could you show an example on how to do this? Im a newbie programmer. This is my first year. I get the gist of what you say, but not how to impliment it.
Reply With Quote
  #6   Spotlight this post!  
Unread 15-02-2012, 16:52
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Programming Kinect Buttons

Quote:
Originally Posted by Draycos214 View Post
Could you show an example on how to do this? Im a newbie programmer. This is my first year. I get the gist of what you say, but not how to impliment it.
The Kinect Gesture Processing example can be found in a ZIP file here:
http://firstforge.wpi.edu/sf/frs/do/...erver_01071 2

It implements the same gestures as the Kinect Server does for the KinectStick. You should be able to find the part that zeroes everything out pretty easily and remove it/go around it.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:07.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi