Go to Post don't be grumpy. No one is allowed to be grumpy during build. - JaneYoung [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 07-01-2006, 11:32
Total Meltdown Total Meltdown is offline
Programming Mentor
AKA: Sean Edwards
FRC #0172 (Northern Force)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2002
Location: Maine
Posts: 21
Total Meltdown is an unknown quantity at this point
Send a message via AIM to Total Meltdown Send a message via Yahoo to Total Meltdown
What information can we access from the camera?

What information do we have access to regarding the camera? I heard about Height of the target, angle from the robot to said target, etc. What other information is returned?
  #2   Spotlight this post!  
Unread 07-01-2006, 11:48
fowlerm's Avatar
fowlerm fowlerm is offline
Bringing .NET to Robots
AKA: Matthew Fowler
FRC #0312 (Heatwave); FRC #1369 (Minotaur)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2001
Location: St. Petersburg, FL, USA
Posts: 78
fowlerm has a spectacular aura aboutfowlerm has a spectacular aura aboutfowlerm has a spectacular aura about
Re: The CMUcam

Quote:
Originally Posted by Total Meltdown
What information do we have access to regarding the camera? I heard about Height of the target, angle from the robot to said target, etc. What other information is returned?
You can get all that along with motion tracking using the IFI CMUcam not the Google digital camera. The Google camera is ment only to take pictures of your robot and upload them as a "photo essay".
  #3   Spotlight this post!  
Unread 07-01-2006, 11:50
Elgin Clock's Avatar
Elgin Clock Elgin Clock is offline
updates this status less than FB!
AKA: the one who "will break into your thoughts..."
FRC #0237 (Black Magic)
Team Role: Mentor
 
Join Date: May 2001
Rookie Year: 2001
Location: H20-Town, Connecticut
Posts: 7,773
Elgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond repute
Send a message via AIM to Elgin Clock
Re: The Google Camera

I think you are a bit confused.

Google was announced as a sponsor of FIRST last year, and so the camera in the kit is a digital camera for taking pictures donated by Google for all teams to document their build/team progress.

The camera which is going to be on robots, is the return of 2005's CMU Cam system.

This is used for defining the green color, and going to be used for the purposes you are thinking of.

Quote:
Originally Posted by fowlerm
You can get all that along with motion tracking using the IFI CMUcam not the Google digital camera.
The CMU Cam was made by Carnegie-Mellon University (CMU) and is not an IFI part. I think your confusion is because IFI handles the ordering of the CMU cameras. (If I'm not mistaken)
__________________
The influence of many leads to the individuality of one. - E.C.C. (That's me!!)


Last edited by Elgin Clock : 07-01-2006 at 11:52.
  #4   Spotlight this post!  
Unread 07-01-2006, 11:52
Ken Leung's Avatar Unsung FIRST Hero
Ken Leung Ken Leung is offline
Dare to Live!
FRC #0115 (Monta Vista Robotics Team)
Team Role: Mentor
 
Join Date: May 2001
Rookie Year: 1999
Location: Palo Alto, California
Posts: 2,390
Ken Leung has a reputation beyond reputeKen Leung has a reputation beyond reputeKen Leung has a reputation beyond reputeKen Leung has a reputation beyond reputeKen Leung has a reputation beyond reputeKen Leung has a reputation beyond reputeKen Leung has a reputation beyond reputeKen Leung has a reputation beyond reputeKen Leung has a reputation beyond reputeKen Leung has a reputation beyond reputeKen Leung has a reputation beyond repute
Send a message via AIM to Ken Leung
Re: What information can we access from the camera?

I just edited the thread title, correcting the confusion between the Google ditigal camera and the CMU camera. Hopefully that will clear things up and provide the right answer for the person who asked the question.
__________________
Hardware Test Engineer supporting RE<C, Google.

1999-2001: Team 192 Gunn Robotics Team
2001-2002: Team 100, 192, 258, 419
2002-2004: Western Region Robotics Forum, Score Keeper @ Sac, Az, SVR, SC, CE, IRI, CalGames
2003-2004, 2006-2007: California Robot Games Manager
2008: MC in training @ Sac, CalGames
2009: Master of Ceremony @ Sac, CalGames
2010: GA in training @ SVR, Sac.
2010-2011: Mechanical Mentor, Team 115 MVRT
  #5   Spotlight this post!  
Unread 07-01-2006, 11:55
Elgin Clock's Avatar
Elgin Clock Elgin Clock is offline
updates this status less than FB!
AKA: the one who "will break into your thoughts..."
FRC #0237 (Black Magic)
Team Role: Mentor
 
Join Date: May 2001
Rookie Year: 2001
Location: H20-Town, Connecticut
Posts: 7,773
Elgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond repute
Send a message via AIM to Elgin Clock
Re: What information can we access from the camera?

Quote:
Originally Posted by Ken Leung
I just edited the thread title, correcting the confusion between the Google ditigal camera and the CMU camera. Hopefully that will clear things up and provide the right answer for the person who asked the question.
I was wondering who did that. Thanks Ken.
__________________
The influence of many leads to the individuality of one. - E.C.C. (That's me!!)

  #6   Spotlight this post!  
Unread 07-01-2006, 12:12
fowlerm's Avatar
fowlerm fowlerm is offline
Bringing .NET to Robots
AKA: Matthew Fowler
FRC #0312 (Heatwave); FRC #1369 (Minotaur)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2001
Location: St. Petersburg, FL, USA
Posts: 78
fowlerm has a spectacular aura aboutfowlerm has a spectacular aura aboutfowlerm has a spectacular aura about
Re: The Google Camera

Quote:
Originally Posted by Elgin Clock
The CMU Cam was made by Carnegie-Mellon University (CMU) and is not an IFI part. I think your confusion is because IFI handles the ordering of the CMU cameras. (If I'm not mistaken)
The camera we get in the kit is an IFI manufactured part. They licensed it from Carnegie-Mellon.
  #7   Spotlight this post!  
Unread 07-01-2006, 12:18
Total Meltdown Total Meltdown is offline
Programming Mentor
AKA: Sean Edwards
FRC #0172 (Northern Force)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2002
Location: Maine
Posts: 21
Total Meltdown is an unknown quantity at this point
Send a message via AIM to Total Meltdown Send a message via Yahoo to Total Meltdown
Re: What information can we access from the camera?

Yes, sorry, I meant the IFI camera, not the Google one.

We're developing a system for auto-tracking the top goal autonomously, so that our "gun" will always be pointing at the correct angle to fire the ball into the goal, using some basic laws of projectile motion. I'll make a thread about it if the team decides they like it and it goes anywhere.
  #8   Spotlight this post!  
Unread 07-01-2006, 13:00
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Cañada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Cañada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: What information can we access from the camera?

Quote:
Originally Posted by Total Meltdown
We're developing a system for auto-tracking the top goal autonomously, so that our "gun" will always be pointing at the correct angle to fire the ball into the goal, using some basic laws of projectile motion.
This is precisely what I (and others) hope teams will do this year. I'm writing a one page white paper on computing range, which I'll post soon. Basically, range = (green light height - camera height)/tan(tilt angle), where green light height equals 10' 10", camera height is the distance the camera is mounted above the floor and tilt angle is the calculated tilt angle derived from the tilt PWM value when the tracking software has a good solution. I've posted the camera software Dave Lavery mentioned here: http://kevin.org/frc

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #9   Spotlight this post!  
Unread 07-01-2006, 13:19
Total Meltdown Total Meltdown is offline
Programming Mentor
AKA: Sean Edwards
FRC #0172 (Northern Force)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2002
Location: Maine
Posts: 21
Total Meltdown is an unknown quantity at this point
Send a message via AIM to Total Meltdown Send a message via Yahoo to Total Meltdown
Re: What information can we access from the camera?

Yeah, I could compute the distance if I need to, but I thought I heard them say that the distance was already returned right in the camera code itself.

...and would I be safe in assuming that the robot controller can do the basic Trig functions? Sin Cos Tan and the like?
  #10   Spotlight this post!  
Unread 07-01-2006, 13:26
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Cañada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Cañada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: What information can we access from the camera?

Quote:
Originally Posted by Total Meltdown
Yeah, I could compute the distance if I need to, but I thought I heard them say that the distance was already returned right in the camera code itself.

...and would I be safe in assuming that the robot controller can do the basic Trig functions? Sin Cos Tan and the like?
The current revision of the code does not give you range (I'll add this on the next rev.), but if you look at the code in terminal.c, you'll see how to calculate the tilt angle, which gets plugged into the equation mentioned above. Yes, the compiler has math.h support.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #11   Spotlight this post!  
Unread 07-01-2006, 13:54
Total Meltdown Total Meltdown is offline
Programming Mentor
AKA: Sean Edwards
FRC #0172 (Northern Force)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2002
Location: Maine
Posts: 21
Total Meltdown is an unknown quantity at this point
Send a message via AIM to Total Meltdown Send a message via Yahoo to Total Meltdown
Re: What information can we access from the camera?

Code:
Balls are scooped in between the front wheels, being shuffled toward 
the "Wheel" which works like an automated Baseball pitcher.

Front                                Back
                   \
                    \
            \        \  <-- Turret swivels 360
             \        \     Degrees, and tips from
              \        \    Straight up to about 30 degrees
|-------------------------------------|
|   Wheel   --> ()     /<-- Ball      |
| (not to scale)      / scooper brings|
| shoots balls up    / balls to turret|
| the barrell       /  base           |
|-------------------------------------|
...yes, I just made an ASCII diagram of my robot design.

What I was thinking, is that the program constantly calculates the launch vector based on the speed at which the mechanism launches balls, and rotates and tilts the turret. I'm taking Physics now and we've already gone over Projectile motion, so it shouldn't be too hard to figure out the Angle at which the turret has to be positioned based on how far away you are from the goal.

Note that this design requries that the ball be fired at the same speed every time, or have some way to determine how fast the ball will be fired.

Last edited by Total Meltdown : 07-01-2006 at 13:57.
  #12   Spotlight this post!  
Unread 07-01-2006, 18:16
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: What information can we access from the camera?

So far, I intend to mount the camera next to the launcher. This way, as long as I mirror the up/down motion of the camera, the laucnher should be always aiming correctly.

Does anyone know if we got the mount for the camera they used at the kick off, or if the plans are available for it.. it's a lot nicer then the one we used last year.

I find it nice we have a physics teacher as one of our mentors
  #13   Spotlight this post!  
Unread 08-01-2006, 12:08
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
Re: What information can we access from the camera?

Attached is a Windows app for version 2.0 of the .NET framework that I used when I reviewed the camera code last month. The app will display what the robot thinks its seeing and the values for the pan and tilt servos. Directions for sending the data are included in the zip file. Extract the exe and the dll to the same folder and run it.
Attached Thumbnails
Click image for larger version

Name:	cmucamvisualizer.PNG
Views:	143
Size:	14.2 KB
ID:	3781  
Attached Files
File Type: zip CMUCamVisualizer.zip (14.2 KB, 160 views)
  #14   Spotlight this post!  
Unread 08-01-2006, 13:50
Justin Stiltner's Avatar
Justin Stiltner Justin Stiltner is offline
The big guy
no team
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Blacksburg, Va.
Posts: 305
Justin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud of
Send a message via ICQ to Justin Stiltner Send a message via AIM to Justin Stiltner Send a message via MSN to Justin Stiltner Send a message via Yahoo to Justin Stiltner
Thumbs up Re: What information can we access from the camera?

devicenull,
Yes we recived the pan/tilt unit that was shown at kickoff, it should be in your electronics box in a bag marked frc-pantilt-01, I have not yet found directions on how to assemble the camera, but will be making some and posting them if noone beats me to it.
__________________
Justin Stiltner
Lead Robot Inspector, VCU Regional
Unmanned Systems Lab, Virginia Tech
KI4URQ
  #15   Spotlight this post!  
Unread 11-01-2006, 17:23
googlecamera googlecamera is offline
Registered User
no team
 
Join Date: Jan 2006
Location: San Jose
Posts: 3
googlecamera is an unknown quantity at this point
Re: What information can we access from the camera?

Hi,

download pdf file.

http://kevin.org/frc/CMUcam2_mount_assembly.pdf

Google camera
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
Scripting Setup and the Camera + Serial Port Drivers CJO Programming 22 11-01-2006 17:42
**FIRST EMAIL**/Important December 2nd Deadline Information Pat Fairbank FIRST E-Mail Blast Archive 0 21-11-2005 17:34
CMUCam2 Camera Code - Are important parts commented out? Mr. Lim Programming 4 14-01-2005 12:11
**FIRST EMAIL**/Autodesk Inventor Training Date, Time and Access Information Rich Wong FIRST E-Mail Blast Archive 2 16-12-2004 19:15
**FIRST EMAIL**/Important December 3rd Deadline Information - Please Read! dez250 FIRST E-Mail Blast Archive 1 23-11-2004 13:35


All times are GMT -5. The time now is 12:43.

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