Go to Post ....you can't go to a single FIRST event without someone saying "Hey, Look! It's SuperNerd!" - [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 01-02-2009, 23:11
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
Re: how to find distance using two color servo camera?

There are a couple of ways to calculate distance with a camera. The ones I can think of off the top of my head are:
  1. Figure out what part of the visual field the object occupies, and assume that higher=farther
  2. Use relative size--based on the law of perspective, the farther an object is, the fewer pixels it will occupy
  3. If the object isn't moving, you can use the laws of parallax to calculate the distance based on apparent movement at a given robot speed.
__________________
Get yer robot source code here!
Reply With Quote
 


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
How do YOU find the distance from the light? Spencer E. Programming 13 24-03-2007 20:44
how do i find the camera with labview? CompMaster NI LabVIEW 0 16-02-2006 12:52
How do I get distance between Camera and the target? sjung9442 Programming 5 27-01-2006 09:44
How many teams are using the Camera? Matt Goulart Programming 5 06-02-2005 15:06
How many teams are using the Camera? Matt Goulart Electrical 3 30-01-2005 09:29


All times are GMT -5. The time now is 07:58.

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