Go to Post It’s possible to make friends without agreeing on everything. - Bill Gold [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 18-01-2012, 13:05
NeatTeam NeatTeam is offline
Registered User
FRC #1943
 
Join Date: Jan 2012
Location: Israel
Posts: 56
NeatTeam is an unknown quantity at this point
Programming Kinect

We tried to use this code and it didn't work.
This doesn't show us values in LabView.
Attached Files
File Type: rar KinectTry.rar (7.3 KB, 43 views)
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2012, 14:11
SuperS_5's Avatar
SuperS_5 SuperS_5 is offline
[Certified LabVIEW Developer]
FRC #1219
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Canada
Posts: 140
SuperS_5 will become famous soon enoughSuperS_5 will become famous soon enough
Re: Programming Kinect

The only thing I see in that file is a LV project file. There is no code.
__________________
Mike B
Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2012, 15:27
NeatTeam NeatTeam is offline
Registered User
FRC #1943
 
Join Date: Jan 2012
Location: Israel
Posts: 56
NeatTeam is an unknown quantity at this point
Re: Programming Kinect

Sorry, this is the code:
Attached Files
File Type: rar KinectTry.rar (215.9 KB, 52 views)
Reply With Quote
  #4   Spotlight this post!  
Unread 19-01-2012, 09:01
NeatTeam NeatTeam is offline
Registered User
FRC #1943
 
Join Date: Jan 2012
Location: Israel
Posts: 56
NeatTeam is an unknown quantity at this point
Re: Programming Kinect

Can someone help us?
Look at my previous comment.
Reply With Quote
  #5   Spotlight this post!  
Unread 19-01-2012, 10:23
SuperS_5's Avatar
SuperS_5 SuperS_5 is offline
[Certified LabVIEW Developer]
FRC #1219
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Canada
Posts: 140
SuperS_5 will become famous soon enoughSuperS_5 will become famous soon enough
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?
__________________
Mike B
Reply With Quote
  #6   Spotlight this post!  
Unread 19-01-2012, 13:35
NeatTeam NeatTeam is offline
Registered User
FRC #1943
 
Join Date: Jan 2012
Location: Israel
Posts: 56
NeatTeam is an unknown quantity at this point
Re: Programming Kinect

actually, i always could see the skeleton at the driver station.
so its not the problem.
any more helpful tips?
Reply With Quote
  #7   Spotlight this post!  
Unread 20-01-2012, 13:19
Omar's Avatar
Omar Omar is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Huntsville, AL
Posts: 122
Omar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of light
Re: Programming Kinect

Quote:
Originally Posted by NeatTeam View Post
actually, i always could see the skeleton at the driver station.
OK you can see the skeleton, but does it work? Does the skeleton move?

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?
__________________
Omar
Reply With Quote
  #8   Spotlight this post!  
Unread 22-01-2012, 10:44
NeatTeam NeatTeam is offline
Registered User
FRC #1943
 
Join Date: Jan 2012
Location: Israel
Posts: 56
NeatTeam is an unknown quantity at this point
Re: Programming Kinect

Thanks for your comment, yes, everything works great in the dashboard and the driver station, any other ideas?
Reply With Quote
  #9   Spotlight this post!  
Unread 22-01-2012, 11:28
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote
  #10   Spotlight this post!  
Unread 22-01-2012, 12:06
NeatTeam NeatTeam is offline
Registered User
FRC #1943
 
Join Date: Jan 2012
Location: Israel
Posts: 56
NeatTeam is an unknown quantity at this point
Re: Programming Kinect

Quote:
Originally Posted by Greg McKaskle View Post
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
we uploaded a new file ,look at the next posts.
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?
Reply With Quote
  #11   Spotlight this post!  
Unread 22-01-2012, 12:51
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 22-01-2012 at 19:59.
Reply With Quote
  #12   Spotlight this post!  
Unread 22-01-2012, 19:48
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote
  #13   Spotlight this post!  
Unread 22-01-2012, 20:41
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Programming Kinect

Quote:
Originally Posted by Greg McKaskle View Post
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.
That's where I looked before when I said no data was showing up.
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.
Attached Thumbnails
Click image for larger version

Name:	KinectIncommunicado.jpg
Views:	40
Size:	145.4 KB
ID:	11516  Click image for larger version

Name:	WorkingKinect.jpg
Views:	35
Size:	204.3 KB
ID:	11519  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 23-01-2012 at 09:23.
Reply With Quote
  #14   Spotlight this post!  
Unread 24-01-2012, 14:52
NeatTeam NeatTeam is offline
Registered User
FRC #1943
 
Join Date: Jan 2012
Location: Israel
Posts: 56
NeatTeam is an unknown quantity at this point
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.
Reply With Quote
  #15   Spotlight this post!  
Unread 24-01-2012, 16:10
RahatAhmed RahatAhmed is offline
Registered User
FRC #4300 (The Lion Kings)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Texas
Posts: 24
RahatAhmed is an unknown quantity at this point
Re: Programming Kinect

Quote:
Originally Posted by NeatTeam View Post
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.
Our team is having the same problem. What you should try is to get the information from the Kinect Header vi, and see if you get valid values. We're getting 0 for numPlayers, false for success, and a blank version string, so for some reason the code is unable to communicate with the Kinect. However, we can see the skeleton updating fine in the DS.
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 22:32.

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