Go to Post We only ask that, when able, you too help other teams as we have helped you. It is this mentality of passing it forward that makes teams and FIRST great. - E. Wood [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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
  #7   Spotlight this post!  
Unread 20-02-2010, 21:49
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Built in distance calculations?

In reality, all of these methods are pretty imprecise. Encoders on drive wheels cannot account for slip or sideways motion due to a collision with field or another robot.

The camera method works by knowing the real-world size of the target. At a given distance, the target should measure the same pixel size. Moving closer to the target increases the pixel size, and moving farther decreases. You can think through the symmetric triangles or use trig if you like, but estimating distance based on the perceived size of a known object is a pretty accurate approach. The thing that can cause moderate error is if the vision selects the inner circle rather than the outer error to base the distance computation.

The best way to determine the error is to measure it. Determine if it is accurate enough for what you need and determine if other approaches are more accurate.

Greg McKaskle
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
Torque Calculations AndyB General Forum 7 19-05-2007 00:06
Autonomous calculations Tz0m Programming 5 24-02-2007 06:15
Motor Calculations John Gutmann Motors 3 25-06-2006 08:39
Distance calculations Max Brin Programming 3 22-02-2006 21:38
Seeding Calculations archiver 2000 50 23-06-2002 21:57


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

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