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