Go to Post If the GDC doesn't want better teams to strap components on to other robots, they should design a game that doesn't require better teams to strap components on to other robots to win. - Tom Bottiglieri [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 20-02-2012, 01:44
jacob9706 jacob9706 is offline
Registered User
AKA: Jacob Ebey
FRC #3574 (High Tekerz)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Seattle
Posts: 101
jacob9706 is on a distinguished road
OpenCv :D

Who else has got their on board computer talking to their cRio? And who is using OpenCv to do their vision processing?

I have heard lots of talk about not needing such hefty hardware to do the processing but with 3 cameras it seems like that was the best way to go for us.

I was wondering also who used more than one camera and if so what kinds. We are using a Xbox kinect, PS3 eye-cam and the Axis camera.
  #2   Spotlight this post!  
Unread 20-02-2012, 12:02
vickt vickt is offline
Registered User
FRC #1302
 
Join Date: Feb 2012
Location: no where
Posts: 5
vickt is an unknown quantity at this point
Re: OpenCv :D

We're not using opencv, but rather something devious of my own design
>
I was looking at opencv, but determined it wasn't worth the effort to get it running. Just wondering, what's the purpose of three cameras? And with all that processing, is your framerate any good?
  #3   Spotlight this post!  
Unread 20-02-2012, 12:15
jacob9706 jacob9706 is offline
Registered User
AKA: Jacob Ebey
FRC #3574 (High Tekerz)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Seattle
Posts: 101
jacob9706 is on a distinguished road
Re: OpenCv :D

Quote:
Originally Posted by vickt View Post
We're not using opencv, but rather something devious of my own design
>
I was looking at opencv, but determined it wasn't worth the effort to get it running. Just wondering, what's the purpose of three cameras? And with all that processing, is your framerate any good?
We are tracking quite a few things this year... We are continuously tracking the backboards to calculating the necessary parameters to make our shots (while moving). The Axis camera for the driver which looks for balls in front of the robot. The Kinect to track field objects such as the curb and bridges to aid in knowing the position of the robot on a 2d grid system.

The frame rate of the PS3 eye cam is running at a consistent 120fps. We are using it to do live tracking of the backboards due to its high frame rate and its cheap price. We have a core i3 computer on our robot running linux(ubuntu) for the ease of compiling OpenCv and being able to create sockets between the computer and the cRio. (sockets are opened in python)

Any other questions? I am quite curious with what you have come up with in terms of tracking if you are not using a library like OpenCv.
  #4   Spotlight this post!  
Unread 20-02-2012, 13:38
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: OpenCv :D

What is the laptop you are using? Our team was having problems finding one under $400.
  #5   Spotlight this post!  
Unread 20-02-2012, 13:45
vickt vickt is offline
Registered User
FRC #1302
 
Join Date: Feb 2012
Location: no where
Posts: 5
vickt is an unknown quantity at this point
Re: OpenCv :D

We were looking at some core i3 laptops, but they were all 15 inches, so we deemed them to be too heavy. In the end we've settled for a little 2.5 pound netbook, a amd fx dual core 1.2 gHz, which really limited what we can do.

The camera we have mounted is a logitech c310, so we're taking pictures at 1280x960. Unfortunately we're stuck with Windows because the drivers do not exist for linux and the generic driver makes the picture look kinda funky.

The software I wrote is unique from everything else I've seen or researched. I can't really talk about it because I'm looking to patent the algorithm in the near future. The processing framerate is pretty good, and certainly faster than the hardware will respond to. Unfortunately, my algorithm is currently written in Java because it was easier to interface with the camera that way I'm sure if I did it in C or C++ everything would be much faster.
  #6   Spotlight this post!  
Unread 20-02-2012, 14:02
vickt vickt is offline
Registered User
FRC #1302
 
Join Date: Feb 2012
Location: no where
Posts: 5
vickt is an unknown quantity at this point
Re: OpenCv :D

Quote:
Originally Posted by sjspry View Post
What is the laptop you are using? Our team was having problems finding one under $400.
We're using an acer aspire one 722 I think

Last edited by vickt : 20-02-2012 at 14:06.
  #7   Spotlight this post!  
Unread 20-02-2012, 14:12
jacob9706 jacob9706 is offline
Registered User
AKA: Jacob Ebey
FRC #3574 (High Tekerz)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Seattle
Posts: 101
jacob9706 is on a distinguished road
Re: OpenCv :D

Quote:
Originally Posted by vickt View Post
We're using an acer aspire something
We are not using a laptop... we built our own computer. No screen or anything. we are running linux. but we are using a ECS H61H2-M2 motherboard with 4gigs of ram. we are using a 20gig solid state drive and a Huhler water cooling system. Our whole setup ran us $370~. We got two of these setups, one for our production bot and one for our practice bot. A little pricy but will carry though out the years from bot to bot for vision processing or even make a decent CAD machine if vision isn't as necessary in years to come.

Questions concerns or comments are welcome!
  #8   Spotlight this post!  
Unread 20-02-2012, 17:47
StevenB StevenB is offline
is having FRC withdrawal symptoms.
AKA: Steven Bell
no team
Team Role: College Student
 
Join Date: May 2005
Rookie Year: 2005
Location: Stanford, CA
Posts: 416
StevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond repute
Re: OpenCv :D

Your setup sounds amazing - I can't wait to see it in action!
Back in 2005, some friends of mine built a PC for their robot and ran LabVIEW for vision processing - but that was before SSDs were common (and before bumpers in FRC), so they were pretty scared that a crash was going to take out the hard drive. I'm glad that having a powerful co-processor is viable these days, whether onboard the robot or on the driver's station.

If you haven't already, you might want to double-check that your cooling system is legal. Fluids in any form are typically not allowed.
Quote:
Originally Posted by FRC Game Manual, <R08> blue box
Examples of items that will violate this rule include (but are not limited to):
...
G. Any devices intended to produce flames or pyrotechnics
H. Hydraulic fluids or hydraulic components
__________________
Need a physics refresher? Want to know if that motor is big enough for your arm? A FIRST Encounter with Physics

2005-2007: Student | Team #1519, Mechanical Mayhem | Milford, NH
2008-2011: Mentor | Team #2359, RoboLobos | Edmond, OK
2014-??: Mentor | Looking for a team...
  #9   Spotlight this post!  
Unread 20-02-2012, 18:11
jacob9706 jacob9706 is offline
Registered User
AKA: Jacob Ebey
FRC #3574 (High Tekerz)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Seattle
Posts: 101
jacob9706 is on a distinguished road
Re: OpenCv :D

Quote:
Originally Posted by StevenB View Post
Your setup sounds amazing - I can't wait to see it in action!
Back in 2005, some friends of mine built a PC for their robot and ran LabVIEW for vision processing - but that was before SSDs were common (and before bumpers in FRC), so they were pretty scared that a crash was going to take out the hard drive. I'm glad that having a powerful co-processor is viable these days, whether onboard the robot or on the driver's station.

If you haven't already, you might want to double-check that your cooling system is legal. Fluids in any form are typically not allowed.
We have found that the only fluid not allowed is hydraulic fluid. We understand from having a robot inspector on our team we are allowed to use a closed system. If you find differently PLEASE share!
  #10   Spotlight this post!  
Unread 21-02-2012, 11:10
vickt vickt is offline
Registered User
FRC #1302
 
Join Date: Feb 2012
Location: no where
Posts: 5
vickt is an unknown quantity at this point
Re: OpenCv :D

Quote:
Originally Posted by jacob9706 View Post
We are not using a laptop... we built our own computer. No screen or anything. we are running linux. but we are using a ECS H61H2-M2 motherboard with 4gigs of ram. we are using a 20gig solid state drive and a Huhler water cooling system. Our whole setup ran us $370~. We got two of these setups, one for our production bot and one for our practice bot. A little pricy but will carry though out the years from bot to bot for vision processing or even make a decent CAD machine if vision isn't as necessary in years to come.

Questions concerns or comments are welcome!
Oh nice! We settled with a laptop so we wouldn't have to deal with power supply and threw in a 32 gb ssd, and also having a monitor is nice for debugging. We were looking at compact embedded board, but every company I talked to seemed to be scared to give me a quote in quantity 1.

I thought that the $400 rule was per component, so couldn't one theoretically put an i7 machine on the robot?
  #11   Spotlight this post!  
Unread 21-02-2012, 11:35
jacob9706 jacob9706 is offline
Registered User
AKA: Jacob Ebey
FRC #3574 (High Tekerz)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Seattle
Posts: 101
jacob9706 is on a distinguished road
Re: OpenCv :D

Quote:
Originally Posted by vickt View Post
Oh nice! We settled with a laptop so we wouldn't have to deal with power supply and threw in a 32 gb ssd, and also having a monitor is nice for debugging. We were looking at compact embedded board, but every company I talked to seemed to be scared to give me a quote in quantity 1.

I thought that the $400 rule was per component, so couldn't one theoretically put an i7 machine on the robot?
I guess it's how you look at the rules... Open CV it's pretty efficient written reign , I see no need for anything bigger.
  #12   Spotlight this post!  
Unread 21-02-2012, 13:10
sparkytwd's Avatar
sparkytwd sparkytwd is offline
Registered User
FRC #3574
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Seattle
Posts: 102
sparkytwd will become famous soon enough
Re: OpenCv :D

Quote:
Originally Posted by vickt View Post
Oh nice! We settled with a laptop so we wouldn't have to deal with power supply and threw in a 32 gb ssd, and also having a monitor is nice for debugging. We were looking at compact embedded board, but every company I talked to seemed to be scared to give me a quote in quantity 1.

I thought that the $400 rule was per component, so couldn't one theoretically put an i7 machine on the robot?
I'm the mentor for 3574 that helped put that together. My understanding of the rules is that you could. However, we kept it safe this year. A top of the line i7 can draw 130 watts of power. That translates into more heat, more battery drain, bigger motherboard, and a larger power supply.

The i3 we went draws just 65w and uses a MicroATX mother board, but at 3.3ghz processes the 640x480 60fps feed from the PS3 eye cam in real time.

Next year, depending on the vision related challenges, I'd like to see what performance boost an NVidia GPU would give, as opencv does have GPU accelerated routines for some functionality.

For those interested, here is the buy list for the vision processor:


http://www.newegg.com/Product/Produc...82E16819115077
http://www.newegg.com/Product/Produc...82E16813135288
http://www.newegg.com/Product/Produc...82E16835209049
http://www.newegg.com/Product/Produc...82E16820161279
http://www.newegg.com/Product/Produc...82E16820227510
http://www.mini-box.com/PW-200M-DC-DC-power-supply
http://www.mini-box.com/P4-ATX
  #13   Spotlight this post!  
Unread 21-02-2012, 13:23
sparkytwd's Avatar
sparkytwd sparkytwd is offline
Registered User
FRC #3574
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Seattle
Posts: 102
sparkytwd will become famous soon enough
Re: OpenCv :D

Quote:
Originally Posted by vickt View Post
Oh nice! We settled with a laptop so we wouldn't have to deal with power supply and threw in a 32 gb ssd, and also having a monitor is nice for debugging. We were looking at compact embedded board, but every company I talked to seemed to be scared to give me a quote in quantity 1.

I thought that the $400 rule was per component, so couldn't one theoretically put an i7 machine on the robot?
Have you looked at the Panda or Beagle boards?
  #14   Spotlight this post!  
Unread 21-02-2012, 13:30
esthepiking esthepiking is offline
Registered User
FRC #2993
 
Join Date: Feb 2012
Location: North Logan, UT
Posts: 2
esthepiking is an unknown quantity at this point
Re: OpenCv :D

Quote:
Originally Posted by sparkytwd View Post
Have you looked at the Panda or Beagle boards?
We are working on setting up a Pandaboard. We have Opencv tracking objects okay, and we are working on running our code on our Pandaboard. We don't have it quite working yet, but it had the necessary power to run our code.

Last edited by esthepiking : 21-02-2012 at 13:31. Reason: add quote
  #15   Spotlight this post!  
Unread 21-02-2012, 13:34
Mark Sheridan's Avatar
Mark Sheridan Mark Sheridan is offline
Head Mentor
FRC #3476 (Code Orange)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2002
Location: Irvine, CA
Posts: 561
Mark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond repute
Re: OpenCv :D

We are using OpenCV too. We have a small Zotec computer on our robot. I think it only cost us 200 dollars and weights a mere 2 pounds.
__________________
Team 3476| Mentor| 2014 - Current
Team 3309| Mentor| 2011 - 2016
Team 766 | Mentor| 2006 - 2011 | Alumnus | 2002-2005
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:35.

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