|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Programming Kinect Buttons
Working on the kinect for our robot. We got the tank drive to work, and we are trying to get a button to control a motor for us. From the pdf about the kinect, we found button 1 (The button we want to use) is head right. Do we need to program this a special way, or is it just like programming any other button on a joystick? Also, does it matter if we put the button on the right stick as opposed to the left stick, or vice versa?
Thanks |
|
#2
|
|||
|
|||
|
Re: Programming Kinect Buttons
They work pretty much like buttons from a joystick. The head one's can be kind of touchy though, especially if used with the arm motions. The head buttons are the first two so they are displayed as the top two on the default dashboard. Make sure you can reliably control the button before deciding to use it.
The buttons are set exactly the same for both sticks in the Kinect Server so you can use the left or right stick with no differences. |
|
#3
|
|||
|
|||
|
Re: Programming Kinect Buttons
Im having a problem where the button only registers when my hands (arms?) are tracked. Any way to fix this?
|
|
#4
|
||||
|
||||
|
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
|
|
#5
|
|||
|
|||
|
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
|
|
#6
|
||||
|
||||
|
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
|
|
#7
|
|||
|
|||
|
Re: Programming Kinect Buttons
Quote:
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. |
|
#8
|
|||
|
|||
|
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.
|
|
#9
|
|||
|
|||
|
Re: Programming Kinect Buttons
Quote:
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|