Go to Post Chief Delphi's Greatest Hits vol. 47: Overreactions to Q&A responses - Lil' Lavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 16-01-2012, 17:02
kylevedder kylevedder is offline
Programmer
AKA: Kyle Vedder
FRC #0467 (Shrewsbury Colonials)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Massachusetts
Posts: 6
kylevedder is an unknown quantity at this point
Trouble reading Kinect values from robot

Hello,

We set up our robot and kinect recently and have gotten the kinect working on the driver station. The kinect server runs properly and the skeletons display under the Kinect Skeleton area of the dashboard.

However, we're unable to read any of this data from the robot. We're using WPIlib and java, and we started to test with the WPIlib KinectStickExample. This results in the printout "Bad Retval: 3" and all the read values are zeroes. We looked into the cause of this printout, and it's the FRCControl getDynamicControlData method. The API for this method says that the returned value should be 0, 1, or 2, but we couldn't find what 3 meant.

Other information... Trying to access the skeleton data from the Kinect class also resulted in all zeroes. We tried performing the gestures in front of the kinect but still received zeroes. The firewall on the driverstation computer is disabled and the kinect server is running. The driverstation and kinect drivers are all up to date.

Thanks for any help.
Reply With Quote
 


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:22.

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