Go to Post I understand that Dean Kaymen has now invented a super "sniffer" that can scout-out anyone within hearing distance that is remotely-involved with FIRST. - dhitchco [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
  #46   Spotlight this post!  
Unread 10-01-2012, 08:54
1711Raptors 1711Raptors is offline
Registered User
FRC #1711
 
Join Date: Jan 2010
Location: Traverse City, MI
Posts: 4
1711Raptors is an unknown quantity at this point
Re: Running the Kinect on the Robot.

Does Rule 52 (cRIO control of the robot) even allow the use of a supplemental processing device on the robot platform?

If we use the Classmate on the robot itself (all vibration and power management considered) and integrate via a network connection to the CRio plugged into the Bridge, is this even legal in 2012? Agreed the image processing is not 'controlling' the robot per-se, but it is certainly 'influencing' the control mechanisms of the robot.

We have found that with the Kinect shape game using the Classmate, it is very laggy (2 secs) and have freed up the little PC for something with more power as the DS. This was post-reimage, so it's the best its going to get.

AirRaptor
  #47   Spotlight this post!  
Unread 10-01-2012, 21:22
sjspry sjspry is offline
Registered User
FRC #1984
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Kansas
Posts: 125
sjspry has a spectacular aura aboutsjspry has a spectacular aura aboutsjspry has a spectacular aura about
Re: Running the Kinect on the Robot.

The concern of the rule you mention is that all motor, solenoid, and peripheral control go through the cRIO exclusively so that the field management systems can shut it down and enable certain functions during the different match phases. Seeing as all of the discussion seems to assume the cRIO and digital breakout board will still be the source of all controlling signals, there shouldn't be any problem.

While I can't point you to an official ruling, this topic was brought up before and I am almost positive someone found an official comment/asked themselves.
  #48   Spotlight this post!  
Unread 10-01-2012, 21:55
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: Running the Kinect on the Robot.

One thing people should not forget about utilizing kinect to auto aim is that the kinect cannot see the clear poly. So team built fields will look very different from the actual field. Also there is a good chance that the practice fields at comp will look different too.

Reference the field tour video to get an idea of what items you might pick up. Also remember there will be people behind that glass.

Right now I'm thinking of using the outside cross formed by the second rows red border and the top player station beam.

I am curious to see what object the kinect can pick up from the front of the key (12') and the top of the key (16').

http://www.youtube.com/watch?v=_JrLR...ilpage#t=30 s
__________________
"Never let your schooling interfere with your education" -Mark Twain
  #49   Spotlight this post!  
Unread 11-01-2012, 07:36
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,756
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: Running the Kinect on the Robot.

The range of the Kinect IR is 4' to 11' -- the read me refers to this as the optimal range, but in my experience this is the range.

The RGB camera is a camera. It has a fixed focus lens, and its range for processing is essentially limited by its resolution.

Greg McKaskle
  #50   Spotlight this post!  
Unread 11-01-2012, 08:42
rbellini rbellini is offline
Bob B
AKA: Bob Bellini
FRC #1712 (Dawgma)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2004
Location: Phoenixville PA
Posts: 3
rbellini is an unknown quantity at this point
Re: Running the Kinect on the Robot.

The classmate on the robot as an interface between the Kinect and the cRIO seems the best option to me. It has all of the interfaces and a full version of S/W that can communicate "processed" information to the cRIO. For example, although it may be slow, the vision processing S/W supplied in the FRC examples could run on the classmate and then just provide "pointing" information to the cRIO.

Since the CRIO already has packet processing utilities to communicate with the classmate (as a driver station), they could also be used to send the "pointing" information. Then the cRIO simply reads that information and controls the motors as needed.
  #51   Spotlight this post!  
Unread 12-01-2012, 09:31
Austinh100's Avatar
Austinh100 Austinh100 is offline
Registered User
FRC #3695 (Foximus-Prime)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Yorkville, IL
Posts: 6
Austinh100 is an unknown quantity at this point
Re: Running the Kinect on the Robot.

Our team is going to attempt to get this working for the 2012 season, we are ordering a panda board and will keep you guys updated.
  #52   Spotlight this post!  
Unread 12-01-2012, 10:35
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: Running the Kinect on the Robot.

Quote:
Originally Posted by Austinh100 View Post
Our team is going to attempt to get this working for the 2012 season, we are ordering a panda board and will keep you guys updated.
Sounds great! I'm working on a getting a pipeline working with the MS SDK and OpenCV. A couple of my notes on tests run with the MS depth view:

Depending on the thickness of the hoop netting, the kinect may be able to see it. I used a fairly thick net and it was able to see it fairly well.

It may have issues with the retroreflective tape. The depth sensor tends to through errors with items that reflect.

My hope is to use a combo RGB and depth to see the Red and Blue squares, and thus being able to filter out background colors. Remember the depth sensor will see the rectrangles and the support beams on the field roughly the same, and the poly it will see straight through it.

Also the kinects motor is limited to about 15 angle changes so if you are planning to use it to pick up balls, you may want to take this into consideration. Also at 5' and its max downward angle it can only see within about 3 feet of itself. I am considering the idea of 2 kinects, one for balls and one for hoops. Where one would work for both, I think it may be easier to capture using a second.

Hopefully my notes are somewhat helpful.
__________________
"Never let your schooling interfere with your education" -Mark Twain
  #53   Spotlight this post!  
Unread 12-01-2012, 16:23
spying189 spying189 is offline
I will get back to you on that.
FRC #2523 (Hilltoppers)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: St. Johnsbury Academy
Posts: 5
spying189 is an unknown quantity at this point
Lightbulb Re: Running the Kinect on the Robot.

Honestly, our team is having issues with Java & Kinect implementation. Does anyone have a program that will convert Java code to C++????

Last edited by spying189 : 12-01-2012 at 16:25.
  #54   Spotlight this post!  
Unread 16-01-2012, 18:27
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Running the Kinect on the Robot.

Quote:
Originally Posted by spying189 View Post
Honestly, our team is having issues with Java & Kinect implementation. Does anyone have a program that will convert Java code to C++????
The code is so similar it should be pretty trivial to just do it by hand. It shouldn't take much time. Just use the compiler's errors to guide you.
  #55   Spotlight this post!  
Unread 18-01-2012, 19:59
catacon catacon is offline
Registered User
FRC #1444 (Lightning Lancers)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2006
Location: St. Louis
Posts: 154
catacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to beholdcatacon is a splendid one to behold
Re: Running the Kinect on the Robot.

Preliminary testing with the Kinect.

http://www.youtube.com/watch?v=VQ5IupU1fpY

http://www.youtube.com/watch?v=g9h4F9Ay5-4
  #56   Spotlight this post!  
Unread 23-01-2012, 16:13
realslimschadey realslimschadey is offline
Registered User
FRC #0870 (R.I.C.E.)
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2009
Location: Southold, NY
Posts: 10
realslimschadey is an unknown quantity at this point
Re: Running the Kinect on the Robot.

are there any drivers that we need to use the kinect with the driver station. it says i need a server. does the new driver station come with it. when i plug the kinect into the classmate it doesnt recognize it????????
  #57   Spotlight this post!  
Unread 23-01-2012, 17:31
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: Running the Kinect on the Robot.

Quote:
Originally Posted by catacon View Post
Wow, those are really interesting, thanks. I assume the Kinect is just hooked up to a computer. How did you program it? Microsoft Visual Studio with Kinect SDK? Any FRC resources or crossovers?
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW
  #58   Spotlight this post!  
Unread 23-01-2012, 17:44
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 992
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Running the Kinect on the Robot.

Quote:
Originally Posted by RoboMaster View Post
Wow, those are really interesting, thanks. I assume the Kinect is just hooked up to a computer. How did you program it? Microsoft Visual Studio with Kinect SDK? Any FRC resources or crossovers?
Looks more like Libfreenect, my guess would be hooked up to OpenCV.
  #59   Spotlight this post!  
Unread 23-01-2012, 18:00
realslimschadey realslimschadey is offline
Registered User
FRC #0870 (R.I.C.E.)
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2009
Location: Southold, NY
Posts: 10
realslimschadey is an unknown quantity at this point
Re: Running the Kinect on the Robot.

how do get driver station to recognize the kinect?
  #60   Spotlight this post!  
Unread 23-01-2012, 18:07
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: Running the Kinect on the Robot.

Quote:
Originally Posted by realslimschadey View Post
how do get driver station to recognize the kinect?
realslimschadey, please look at some other threads, resources from FIRST, or start your own question thread. This thread is about using the Kinect on the robot, like a camera.
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW
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 11:53.

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