Go to Post We are all insane aren't we? I just want to build a robot now. :P - Lowfategg [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 15-01-2006, 21:13
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
What is the field of view (FOV) of the default lens?

I can't seem to find any specs for the default CMU cam lens vertical/horizontal field of view. Obviously, I only need one since I know the aspect ratio.

Any ideas? Cheers.
  #2   Spotlight this post!  
Unread 15-01-2006, 21:21
phrontist's Avatar
phrontist phrontist is offline
Proto-Engineer
AKA: Bjorn Westergard
FRC #1418 (Vae Victus)
Team Role: College Student
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Falls Church, VA
Posts: 828
phrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond repute
Send a message via AIM to phrontist
Re: What is the field of view (FOV) of the default lens?

You could measure it... put some marks on a wall and tell us.
__________________

University of Kentucky - Radio Free Lexington

"I would rather have a really big success or a really spectacular crash and failure then live out the warm eventual death of mediocrity" - Dean Kamen
  #3   Spotlight this post!  
Unread 16-01-2006, 12:28
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,584
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: What is the field of view (FOV) of the default lens?

See this thread from last year: http://www.chiefdelphi.com/forums/sh...ght=field+view

I found that thread by searching for field of view in the technical forum and all subforums.
  #4   Spotlight this post!  
Unread 16-01-2006, 16:51
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: What is the field of view (FOV) of the default lens?

I did a bit of googling previously, what follows is my calculations for it. (Note that I'm not an optical expert and there's a good chance I'm wrong.)

For rectilinear (normal) lenses, the Field of View (FoV) is calculated as:
2 * arctan (<sensor size>/(<focal length> * 2))
I found that the OV7620 by default has the "Yasan 1/3" Focal Length 6.0mm, F1.8 Glass #604180 LCR1(Coating)" lens and the sensor is 4.86mm x 3.64mm.

After doing the necessary trig, I came up with the answer that the FoV is 44.09589 x 33.74860 degrees. I haven't confirmed this, nor looked at the other thread, yet.
  #5   Spotlight this post!  
Unread 16-01-2006, 16:58
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: What is the field of view (FOV) of the default lens?

Quote:
Originally Posted by Abwehr
I can't seem to find any specs for the default CMU cam lens vertical/horizontal field of view. Obviously, I only need one since I know the aspect ratio.

Any ideas? Cheers.
Needing to know this bit of information jogged some interesting control algorithms in my mind.
__________________
1139 Alumni
  #6   Spotlight this post!  
Unread 26-01-2006, 21:36
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: What is the field of view (FOV) of the default lens?

Visualization, actually.

I've written an OpenGL application that renders the field in 3D as the camera sees it, based on the tilt, pan, mx, and my values. The FOV is needed to convert mx and my into an angle. Right now I just added in a slider so teams can change it to whatever lens they're using.

The math itself is actually surprisingly complicated (converting to and from 2D screen coordinates to 3D world coordinates), so I don't think I'm going to try to implement something *quite* as precise on the RC. Besides, we don't really need to know the exact range unless the target is centered horizontally in our application, and this constraint turns the equation from matrix math into trig.

It is actually done, and works great - I'm just waiting on our teams' animators to texture the field nicely before I release it on here. I'm a programmer, so my 3D field left much to be desired...

Here's a screen cap from about a week ago - the current build is much prettier.

  #7   Spotlight this post!  
Unread 26-01-2006, 21:41
Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
FRC #5507 (Robotic Eagles)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,031
Greg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond repute
Re: What is the field of view (FOV) of the default lens?

Quote:
Originally Posted by Astronouth7303
After doing the necessary trig, I came up with the answer that the FoV is 44.09589 x 33.74860 degrees. I haven't confirmed this, nor looked at the other thread, yet.
From empirical measurements taken last year (which could very well have been incorrect), we found the camera's field of view to be approximately 55 x 35 degrees. These measurements were 'close enough' to accurately find which of the eight possible tetra locations on the floor were the two that had been randomly selected.

It would be wonderful if another team could take these measures and we can see if they line up. On Saturday, I will see if we have the spare manpower to re-do the tests, as I imagine they will be important for this year's camera system as well.
  #8   Spotlight this post!  
Unread 26-01-2006, 21:54
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: What is the field of view (FOV) of the default lens?

I did it today and got about 34 degrees vertical, which seems in line with the data sheets scattered about the web.
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's Field of View? Greg Marra Programming 1 26-01-2006 13:17
Multiple tetras in field of view Mr. Lim Programming 0 14-02-2005 14:52
Vetting and Idea: Modular Field Design... Justin General Forum 19 16-06-2004 15:46
Mobile/immobile objects on field Steve782 Rumor Mill 12 08-01-2004 04:15
What happens / why do motors stall? DanL Technical Discussion 19 21-11-2002 07:19


All times are GMT -5. The time now is 03:16.

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