Go to Post Do not under estimate the wood bots and brave little toasters! - hipsterjr [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-11-2011, 02:13
DavisC DavisC is offline
Registered User
FRC #0539 (Titans)
Team Role: College Student
 
Join Date: Jul 2011
Rookie Year: 2010
Location: Virginia
Posts: 200
DavisC is just really niceDavisC is just really niceDavisC is just really niceDavisC is just really nice
Visual Studios / C Language / WindRiver

Well I had made a program for the Kinect in Microsoft Visual Studios Express, but now what would be the best way to have the code work on the cRIO? IDK what to do and im open to any suggestions that would make it work.

Thanks,
Davis
  #2   Spotlight this post!  
Unread 14-11-2011, 07:47
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Visual Studios / C Language / WindRiver

All three of the cRio languages have access to the Kinect skeletal data in the form of raw skeletal data n(20 3d positions) and KinectSticks (using angles from the Kinect skeletal data). There is no direct team access to the Kinect API from the cRio.

There is, however, a C# helper program which streams the Kinect data to the cRio over UDP. It is modifiable by teams, and launched by the dashboard.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #3   Spotlight this post!  
Unread 14-11-2011, 11:26
DavisC DavisC is offline
Registered User
FRC #0539 (Titans)
Team Role: College Student
 
Join Date: Jul 2011
Rookie Year: 2010
Location: Virginia
Posts: 200
DavisC is just really niceDavisC is just really niceDavisC is just really niceDavisC is just really nice
Re: Visual Studios / C Language / WindRiver

Actually I just had an idea, though not sure how to make it happen.

If I am using the Kinect on the DS and I am running the Visual Studios C# code on the computer, can I set it up to send data (like a typical variable that is holding the y value of my left hand as a Float) an just use the normal WindRiver Development to recieve it and act based upon the value?
  #4   Spotlight this post!  
Unread 14-11-2011, 21:34
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Visual Studios / C Language / WindRiver

When the software in the kit comes out (sorry, I can't send it to you now, it's still in beta test), you will see exactly what I am talking about, and it will do it for you.

The Kinect software currently in beta test grabs data from the Kinect (specifically the angles of various arm joints) and bundles them as a pair of virtual joysticks, which are sent to the robot. You can modify the C# code to handle the mapping differently, and use the existing fields to send your own data.

It also sends the raw skeletal data (20 3d points) to the robot.

The robot software (language-independent) has access to this data in a very easy way.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
Closed Thread


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 01:04.

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