Go to Post Isn't that the name of the game... Roomba Rumble? - Mr. Van [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 10-02-2012, 09:36
Lucie365 Lucie365 is offline
Registered User
FRC #0365
 
Join Date: Feb 2010
Location: Wilmington, DE
Posts: 13
Lucie365 has a spectacular aura aboutLucie365 has a spectacular aura about
Kinect Stick buttons not responding

The information on Kinect says that calling kinectStick.GetRawButton() should respond to various body movements based on the button number but we have not been able to get any of them to work in C++.
Reply With Quote
  #2   Spotlight this post!  
Unread 10-02-2012, 10:12
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: Kinect Stick buttons not responding

Are the Y-axis values responding? Are you seeing the Kinect "green man" on your dashboard? Did you see the team update a little while ago about setting your DS to Compatible mode for the Cypress board if no Cypress board is present?
Reply With Quote
  #3   Spotlight this post!  
Unread 10-02-2012, 10:28
Lucie365 Lucie365 is offline
Registered User
FRC #0365
 
Join Date: Feb 2010
Location: Wilmington, DE
Posts: 13
Lucie365 has a spectacular aura aboutLucie365 has a spectacular aura about
Re: Kinect Stick buttons not responding

Yes, the Y axis (arm movements) do respond and we do see the green man skeleton on the dashboard. But I was not aware of the "compatible mode" setting so will have to look into that.
Reply With Quote
  #4   Spotlight this post!  
Unread 10-02-2012, 15:12
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: Kinect Stick buttons not responding

My understanding of that issue is you will not get Kinect data at all if that is the problem. The Dashboard shows the status for the first 3 Kinect buttons, I would try making sure you can light one of them up and seeing if the state in code matches the state in the Dashboard.

It also looks like the code doesn't match the comments. The comments say buttons 1-12, but the code appears to implement 0-11.
Reply With Quote
  #5   Spotlight this post!  
Unread 11-02-2012, 18:24
Supernovapsy Supernovapsy is offline
Registered User
FRC #1334
 
Join Date: Feb 2012
Location: Canada
Posts: 18
Supernovapsy is an unknown quantity at this point
Re: Kinect Stick buttons not responding

Another thing might be that the button you are using is not reliable. My experience is that movements are sketchy, but the leg out movements are reliable.

I have been testing out to what numbers the movements correspond, and this is what I have:
HEAD_LEFT 1
RIGHT_LEG_OUT 2
LEFT_LEG_OUT 3
RIGHT_LEG_FORWARD 4
RIGHT_LEG_BACK 5
LEFT_LEG_FORWARD 6
Reply With Quote
  #6   Spotlight this post!  
Unread 11-02-2012, 21:24
Lucie365 Lucie365 is offline
Registered User
FRC #0365
 
Join Date: Feb 2010
Location: Wilmington, DE
Posts: 13
Lucie365 has a spectacular aura aboutLucie365 has a spectacular aura about
Re: Kinect Stick buttons not responding

Thanks for the suggestions. I should have an opportunity to check them out tomorrow.
Reply With Quote
  #7   Spotlight this post!  
Unread 13-02-2012, 12:54
Lucie365 Lucie365 is offline
Registered User
FRC #0365
 
Join Date: Feb 2010
Location: Wilmington, DE
Posts: 13
Lucie365 has a spectacular aura aboutLucie365 has a spectacular aura about
Re: Kinect Stick buttons not responding

Thanks to all for your suggestions. The arms seem to work fine and we did get the buttons to work sometimes but they still don't seem very reliable. Using Kinect rather than KinectStick and looking for some leg movements seems to be a more reliable way to do things in order to have some movements in addition to the arms.
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 03:01.

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