Go to Post It is hard to write code that conforms to a standard that isn't published... - AustinSchuh [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 27-02-2012, 10:55
qpang qpang is offline
Registered User
no team
 
Join Date: Mar 2008
Location: mississippi
Posts: 19
qpang is an unknown quantity at this point
Question Kinect programming question (labview)

I have a question on kinect programming. We are using labview, and want to program the kinect so that when "Right leg forward", the robot shoot the ball. According to the manual, "Right leg forward" is Button 5. My question is do we need to open another joystick (addition to the "Left Arm" and "Right Arm" joystick in the sample code) for that? If yes, should the joystickDevice be Kinect 1 or Kinect 2?
Reply With Quote
  #2   Spotlight this post!  
Unread 27-02-2012, 11:07
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,846
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Kinect programming question (labview)

You only open Kinect 1 once.
Then just take the buttons output from the Joystick Get.

The buttons are duplicated on each Kinect 1 and Kinect 2, so button 5 on each will react the same to a leg forward.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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 11:41.

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