![]() |
Kinect Help
Hello Everyone!
Today we started testing our Kinect with the sample KinectStick code (We program in C++). We setup the kinect and the skeleton displays fine on the dashboard and the Y-axis movement is shown accurately in the readouts beneath the skeletal viewer as we move our arms . However, whenever we try to access the KinectStick via our program, using stick.GetY(), it would only display 0 (we printed the value to the smart dashboard). We got this error whenever the robot was initialized: Code:
ERROR: Error reading NetworkTables socket: errno=54 ...in Read() in C:/WindRiver/workspace/WPILib/NetworkTables/Reader.cpp at line 70Code:
#include "WPILib.h" |
The network tables are used (among other things) sending data between the robot and laptop for the SmartDashboard. So can you just verify that you also get those errors without logging to the SmartDashboard?
Also, if you are using an incorrect gesture, like arms out of alignment, you'll also get zeroes back. Can you verify that? The driver station and default dashboard will show feedback to tell you if the gestures are being correctly interpreted. Brad |
| All times are GMT -5. The time now is 17:49. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi