![]() |
Programming Kinect
1 Attachment(s)
We tried to use this code and it didn't work.
This doesn't show us values in LabView. |
Re: Programming Kinect
The only thing I see in that file is a LV project file. There is no code.
|
Re: Programming Kinect
1 Attachment(s)
Sorry, this is the code:
|
Re: Programming Kinect
Can someone help us?
Look at my previous comment. |
Re: Programming Kinect
Disclaimer: Sorry I do not have a Kinect at work to test this out. I will have to figure out how to get my hands on one before I can actually test this stuff out. My help may not be all that useful.
Do you see the Kinect working in the driver station? On the "Operation" Tab there is a status indicator. On the "Diagnostics" tab, there is a Kinect indicators, along with a refresh button. The Dashboard also has a tab for the Kinect Skeleton, does this work? |
Re: Programming Kinect
actually, i always could see the skeleton at the driver station.
so its not the problem. any more helpful tips? |
Re: Programming Kinect
Quote:
As SuperS 5 asked... Do you see the Kinect working in the driver station? On the "Operation" Tab there is a status indicator. On the "Diagnostics" tab, there is a Kinect indicators, along with a refresh button. The Dashboard also has a tab for the Kinect Skeleton, does this work? |
Re: Programming Kinect
Thanks for your comment, yes, everything works great in the dashboard and the driver station, any other ideas?
|
Re: Programming Kinect
I haven't opened the rar, but it sounds like it doesn't contain the code anyway. Can you explain what doesn't work? What is it you are reading on the robot, where are you reading it, etc.
Greg McKaskle |
Re: Programming Kinect
Quote:
the code doesnt work at all, i mean raising my hand and moving around wont affect the vaules, its not affecting the Y Axis and neither the X Axis. what can we do? |
Re: Programming Kinect
I see what you mean.
Retrieving data from the Kinect isn't straight-forward for me either on a particular PC. The network communication task does not appear to be supplying the Kinect data to the cRIO. I'll see what I can discover. P.S. It seems to be due to the Driver Station PC, possibly when some of the required Kinect software is missing from it. Symptoms are: the DS/Dashboard Kinect skeleton feedback works fine, but the cRIO never receives the data. The good news is that your software works if I run it with a properly built Driver Station PC, such as the Classmate. I'll experiment some more to see what you're likely to be missing, or what's messing things up. P.P.S. I assume it was not something really simple like failing to enabled from the Driver Station? |
Re: Programming Kinect
The general flow of information is that the Kinect Server sends data to the DS. The DS then sends Kinect data to the dashboard, the Kinect Kiosk attached to the field, and to the robot as a part of the control packet. I haven't had any issues getting it to work, and it isn't on a new port, so I'm still not sure what is not working.
Mark, if you want to debug deeper into it, the Start Communications VI makes a call to read the Kinect Joysticks and sets them along with the four USB ones. This is where the large number of Unbundle by Names are located. Please check the outputs from this VI and potentially the error code inside the VI. As mentioned in another post, the header call I think contains an output called version. If data is coming from the Server, the version also contains error info. Greg McKaskle |
Re: Programming Kinect
2 Attachment(s)
Quote:
Regular joystick info. is coming through fine, but the Kinect data in NetComm_Kinect_GetJoystickData remains all zeros (including "Success" which makes sense). I switched over to the default code, it gets the same results. I was thinking it might be due to differences in Microsoft packages installed. Anything in particular you'd like checked? I can freeze the PC that produces the error, but I don't have many Win 7 machines to cross-experiment with. I haven't spent much time on it today, as I'm rebuilding some PCs for a different experiment and took some time off from robotics. -------------- The left attachment is a non-working Driver Station - HP netbook. The right attachment is a working Driver Station - Classmate fresh from being restored. Default robot project. |
Re: Programming Kinect
We tried to use the kinect on other computer and it didn't work.
After enabling the robot we moved our hands and the values in the labview code just stayed the same, at Zero. we will appreciate other ideas, thank you very much for trying to help us. |
Re: Programming Kinect
Quote:
|
| All times are GMT -5. The time now is 11:45. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi