Go to Post The imperfect COTS parts you have in your shop will perform much better on the competition field than the perfect custom parts you only have CAD drawings for. - philso [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 06-01-2008, 19:06
Zyik Zyik is offline
Observer
no team
 
Join Date: Jan 2006
Rookie Year: 2006
Location: SLO
Posts: 507
Zyik has a reputation beyond reputeZyik has a reputation beyond reputeZyik has a reputation beyond reputeZyik has a reputation beyond reputeZyik has a reputation beyond reputeZyik has a reputation beyond reputeZyik has a reputation beyond reputeZyik has a reputation beyond reputeZyik has a reputation beyond reputeZyik has a reputation beyond reputeZyik has a reputation beyond repute
Re: They scraped the camera :-D

We had enough programming problems that for the most part we didn't even bother with the camera. I'm glad we can finally move onto a new challenge.
  #2   Spotlight this post!  
Unread 06-01-2008, 19:32
King Duke's Avatar
King Duke King Duke is offline
Registered User
FRC #0991 (Dukes)
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 2004
Location: Arizona
Posts: 25
King Duke is a jewel in the roughKing Duke is a jewel in the roughKing Duke is a jewel in the rough
Send a message via AIM to King Duke
Re: They scraped the camera :-(

I don't think they've scrapped it at all. the CMUcam is still a totally viable system, we just have to buy it ourselves now and include it in expenses. I think it could be used for places other than tracking green lights. Maybe with the correct filtering and what not you could track an alliance ball. Also 1 of the 2 balls has white spots on it, maybe the camera could lock onto that.

of course this is pure conjecture and has not yet been tested, nor have we had much success with the camera in the past.

I think FIRST is trying to get more teams involved in making their vehicles more robotic and so they met us half way with this hybrid mode.

anyways, good luck guys.
__________________
Mr. Ames
#991 The DUKES!!!!! from Phoenix, Arizona
Cornell MineSweeper- Business is Booming.
  #3   Spotlight this post!  
Unread 22-01-2008, 02:24
Uberbots's Avatar
Uberbots Uberbots is offline
Mad Programmer
AKA: Billy Sisson
FRC #1124 (ÜberBots)
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Avon
Posts: 739
Uberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond repute
Re: They scraped the camera :-D

Quote:
Originally Posted by Mark Pendergast View Post
Sorry to spoil the party, but I am glad the camera is gone (at least for a while.) We have never been able to get the camera to work consistently. We have a small team and have never had the time or resources to debug it. We had autonomous software that would have worked if the camera was not checking out the overhead lights or other points of interest, but we rarely got a consistent lock on anything. I believe that has been the experience of the majority of teams.

<RANT >
From what I have seen, the camera has been a failure. It is balky and unreliable. In 2006 and 2007 very few teams at the Boilermaker were able to make it work consistently. (Even with the 'best' teams at IRI in 2007, autonomous ringers were few and far between.)

Also, they have not made a big difference in the game. In 2006, most teams used dead reckoning - ignoring the camera. In 2007, very few teams even tried to score, let alone made a ringer - and the advantage for doing so was minimal.
</RANT>

I am excited about the new IR challenge. I hope that it will be reliable than the camera.
someone didn't read the guidelines to configuring the camera... there was a process you had to go through to configure the camera to see the light. it involved using the LabVIEW application to read/set camera values, and then you copied them into your code... or something like that.
__________________
A few of my favorite numbers:
175 176 177 195 230 558 716 1024 1071 1592 1784 1816
RPI 2012
BREAKAWAY
  #4   Spotlight this post!  
Unread 22-01-2008, 07:54
Chris_Elston's Avatar
Chris_Elston Chris_Elston is offline
Controls Engineer
AKA: chakorules
FRC #1501 (Team THRUST)
Team Role: Engineer
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Huntington, Indiana
Posts: 747
Chris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond repute
Re: They scraped the camera :-D

Quote:
Originally Posted by Mark Pendergast View Post
<RANT >
From what I have seen, the camera has been a failure. It is balky and unreliable. In 2006 and 2007 very few teams at the Boilermaker were able to make it work consistently.
</RANT>
I disagree. The camera is not a "Failure". It a great sensor to use.

In the "real world" vision systems are 90% about lighting. I use Cognex vision systems in an industrial setting. Excellent vision system by the way, it's based on an Excel platform...awesome stuff...anyway...
http://www.cognex.com

1501 in 2005, the problem I saw was the tetra plaque was very hard to see, even from a vision stand point. It was not illuminated, however we still managed to find the vision tetra at Boilermaker in 2005.

Video 2005:
http://www.youtube.com/watch?v=i1t_WIyBBDE

1501 in 2006, we had AWESOME great time with the camera. I am sure the GDC understood the "lighting" problems in 2005 and learned, so they gave us an illuminated target. That was the best thing they did for us to help the camera. When we fired up the CMU the first time with the green light, it was like a night and day difference from 2005 and 2006. The ability to see the target, again is 90% of your vision application solved with the lighting problem we where able to find and use the CMUcam very effectively.

Here is a video in 2006, in this video you'll notice the opposite team hits us from the side, (it was a redo match 4 times), but they hit us and knocked us off course, we stopped shooting. The camera found the light again, corrected the robot, locked on and started shooting again. Alot of teams thought we did this with "dead reckoning". This was not the case for 1501.

Video 2006:
http://www.youtube.com/watch?v=o2SgDRhX9Kg

In a second video "same match" we had 4 REDO matches in Match 10....anyway, you'll see that the opposite team did a good job stopping us, and the camera knew it. It stopped shooting and held on to the balls, until tele-mode.

Video 2006 #2:
http://www.youtube.com/watch?v=0W90F4V7EXQ

We also had in tele-operated mode, the ability to pull the trigger and the camera would take over the drive system and align the shooter for the drive team automatically. This was very effective because when you approached the goal from different angles it was very hard for the drive team to figure out if you was aligned with the hole or not, so pulling on the trigger in tele-mode used the vision to align to the light.

Video 2006 great match showing auto, and auto aim "tm":
http://www.youtube.com/watch?v=lYUOC3icGPk

Here is the source code for that robot if you would like to see the software used:
http://www.frcsoft.com/forums/index.php?download=11

1501 in 2007, did not use the camera because we did not have an arm. We were a lift bot.

Video 2007:
http://www.youtube.com/watch?v=cJuxH_nHp8w

1501 in 2008, is once again looking at the camera. Of course, we are back to the lighting PROBLEM again above in 2005. There is no illuminate target to make it easy to see. It's not the camera's fault. It's the "application's fault". A challenge? Yes in deed but more realistic in today's world. If I have a green light to look at in the real world, it would be too easy.

The point I'd like to make is it's not the camera's fault. The camera works and works well when you can control certain elements.

Sorry that it didn't work out for you, but feel free to contact me about the camera and I will try and help you out the best way I can. You can only eat an elephant one bite at a time. Look at the CMU cam in this way. It's alot to chew on.

Here is part of an e-mail I sent to another team that gives the low down on the camera:
I also reference tracking the BLUE BALL in this years game
(I reference EasyC, because that is what we use to teach new programmers)

MY QUOTE:
The Java Tool is the easiest tool to get setup to pick a color and get the "color value" you want to track. You take that color value, and you put it in the Camera Table in EasyC. When you drag and drop the camera initialization function, you'll see a "table" that you need to configure. In there you input the color settings etc. By default, EasyC has the table #1 configured to track the GREEN LIGHT. So you don't have to change any of the numbers in the table to track the green light. However since I assume you want to track a BLUE BALL, your going to need to test the camera under the java tool, pick the color from the screen grab, and take that and change the default table. EasyC supports 10 tables. I "assume", you'll be teaching TWO TABLES, one for blue ball, one for red ball. Then when you know what color you want to track, you have dump the camera configuration and load the correct settings "table" per what ball you want to track.

The java tool was PRE-EASYC, released in 2005, so all the settings to populate the table ARE NOT SUPPORT in the JAVA TOOL....
Here is a download to get Java tool
http://www.cs.cmu.edu/~cmucam2/CMUcam2GUI.zip
I dunno if the above is NEWER or SAME as what you got now.....

The Java Tool GUI manual can be found here:
http://www.cs.cmu.edu/~cmucam2/downloads.html

PS: Or you can download all the camera documents and java tool here:
http://www.frcsoft.com/forums/index.php?download=17

So if you want the best compatibility from teaching the camera the color tracking, then you need to install National Instruments Labview, then download these applications:

CMUCam Labview Application
http://www.frcsoft.com/forums/index.php?download=32

Danny Diaz is a good guy to get LabView help, installing, running....if you need help
http://www.chiefdelphi.com/forums/member.php?u=11247

If you get the application loaded and running in Labview, then you can track the color in Labview (your doing the same thing in Java) and it actually spits out a CFG file. That is the same file you need for EASYC. You can have Labview dump the CFG file, then go to EasyC and load the CFG file. Pretty nice when you get it working....

Step #1 - teach camera the color values. (either Java or Labview application)
Step #2 - input color values and settings into EasyC table using manual entry or load the CFG file from Labview
Step #3 - load and initialize the camera in your EasyC software code.
Step #4 - camera should start tracking and streaming data of centroid to you via TTL RS-232. (red LED light on camera indicates that it sees the tracking configuration you loaded it)
Step #5 - map over variables from camera tracking nd write a program or download Adams: example here:
http://www.chiefdelphi.com/forums/sh...highlight=code

My word of advice:

Spend alot of time in Labview with the camera, changing the gains, settings. Make people walk in front of the camera, throw different colored balls in front of it. Use photo filters or gel filters. Don't go to the robot software until you have mastered the object you are tracking. If you can't see the object "consistently" in Labview, then you might as well stop because your vision application is only as good as it gets right at the camera level, don't cheap out your camera settings and send garbage data to your robot controller. A camera is like your vision, you can't see in the dark, the camera can't either. Give your camera 20/20 vision.

Hope that helps.
__________________
Team T.H.R.U.S.T. 1501
Download all of our past robot's source code here:Repository

Favorite CD quote:
"That can't be their 'bot. not nearly enough (if any) rivets to be a 1501 machine." ~RogerR: Team #1369
  #5   Spotlight this post!  
Unread 07-01-2008, 13:06
Chris_Elston's Avatar
Chris_Elston Chris_Elston is offline
Controls Engineer
AKA: chakorules
FRC #1501 (Team THRUST)
Team Role: Engineer
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Huntington, Indiana
Posts: 747
Chris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond repute
Re: They scraped the camera :-(

Quote:
Originally Posted by Dr Nick View Post
For all the hype they put on the camera the past two years, I would have sworn they would have done more with it this year somehow. I was really looking forward to working with it again (though would liked to see something other than the green light again)
You can still use it. We are doing some testing, but the Camera is a great sensor. We've had no problems using it.

In 2005, was tough, though we did manage to find the Vision Tetra on the field, lighting was the main problem.

In 2006, we nailed the auto mode every time and if someone hit us, we still tried to correct and get a second aim. We also used the camera in tele-mode to "auto aim". Driver pulled the trigger and let the robot take aim, rather than human take the aim, worked pretty good for us.

The only troubles we noticed was the backup battery. We changed the backup battery after every match in 2005, then we we got the rechargeable circuit in 2006 for the battery that helped out ALOT...Camera was rock solid both years for us. In 2007 we was a lifter only robot, so no camera for us. we had no grippers to handle rings.
__________________
Team T.H.R.U.S.T. 1501
Download all of our past robot's source code here:Repository

Favorite CD quote:
"That can't be their 'bot. not nearly enough (if any) rivets to be a 1501 machine." ~RogerR: Team #1369
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Camera Success Stories, do they exist? Leav Programming 4 09-01-2008 20:59
They are back!!! - The Regional Events slickguy2007 Regional Competitions 7 03-03-2005 15:02
Are they cancelling the drill motor? Salik Syed Technical Discussion 2 10-10-2004 14:49
How do they get the tape so curved? comet22 Rules/Strategy 2 24-01-2003 22:21
The refs should know the rules, shouldn't they? Madison General Forum 27 28-03-2002 11:57


All times are GMT -5. The time now is 23:13.

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