Go to Post "FIRST" is not a verb (yet - give us time, and we will see what happens). - dlavery [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-01-2009, 18:48
Luke Pike's Avatar
Luke Pike Luke Pike is offline
Programmer
FRC #1501 (THRUST)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Huntington
Posts: 114
Luke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to all
Re: Measuring distance with cameria

I wasn't going to try to determine the distance with the camera, instead I was going to use an ultrasonic sensor pointed in the same direction as the camera. I don't think the difference in the height would be great enough, and you really need an accurate measure of distance in order to shoot a ball at it.
Reply With Quote
  #2   Spotlight this post!  
Unread 04-01-2009, 19:11
GaryVoshol's Avatar
GaryVoshol GaryVoshol is offline
Cogito ergo arbitro
no team
 
Join Date: Aug 2005
Rookie Year: 2000
Location: Royal Oak, MI
Posts: 5,750
GaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond repute
Re: Measuring distance with cameria

The vision target on the trailer is at a fixed height. Your camera will be mounted on your robot at a fixed height; make it lower than the vision target. If you measure the angle (above horizontal) that your camera is at to point at the target, you can use trig to figure out how far away you are from the target.
__________________
(since 2004)
Reply With Quote
  #3   Spotlight this post!  
Unread 05-01-2009, 08:08
XXShadowXX's Avatar
XXShadowXX XXShadowXX is offline
They call me Cody.
no team (None currently :\)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Pontiac; MI
Posts: 408
XXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud of
Re: Measuring distance with cameria

Quote:
Originally Posted by GaryVoshol View Post
The vision target on the trailer is at a fixed height. Your camera will be mounted on your robot at a fixed height; make it lower than the vision target. If you measure the angle (above horizontal) that your camera is at to point at the target, you can use trig to figure out how far away you are from the target.
sounds by far the simplest solution, of course the object will still get smaller the further you are from the object, so it wall have some margin of error, it will still need some optic curve...
__________________
Is now an engineer thanks to FIRST.

Last edited by XXShadowXX : 05-01-2009 at 08:14.
Reply With Quote
Reply


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
White Paper Discuss: Measuring Distance with Analog Potentiometers Daniel Extra Discussion 4 26-11-2008 13:52
Help with Angles and distance charlie1218 Programming 5 13-12-2007 18:54
Measuring Muzzle Velocity Team 614 Rules/Strategy 8 28-01-2006 14:53
Measuring Motor Characteristics DonRotolo Motors 1 08-01-2006 19:39
SHU measuring stick sanddrag Rules/Strategy 13 08-01-2003 21:23


All times are GMT -5. The time now is 09:20.

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