View Single Post
  #7   Spotlight this post!  
Unread 20-01-2012, 11:13
Bryscus's Avatar
Bryscus Bryscus is offline
EE, CpE
AKA: Bryce B.
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 1999
Location: Jupiter, FL
Posts: 173
Bryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud of
Re: Our Algorithm\Idea for Target tracking

Quote:
Originally Posted by nileshp87 View Post
By no means do I have my heart set on this method. Has anyone gotten the camera working from ~30ft? (with detection of angle and distance?). Is there any way I can measure or see the issues with the accelerometer?
If you want to measure distance from 30ft, you could track the two center rectangles. To center the image, you could take the average of the x-axis centers of mass for the two rectangles. To measure distance, you can measure the difference between the center's of mass since the distance between the two rectangles is constant (they'll be closer together at farther distances and farther apart at closer distances).

This might be relatively accurate if you're in the center of the field (middle of 27ft) or just a few feet from center. However, you will probably have distance and centering errors when you get too far off center.

If you are only varying the angle of your ball shooter, you probably won't find a shooter speed that works at both close and far distances (at least not for consistency I would think). You could also potentially vary the firing speed and keep a constant firing angle.

- Bryce
__________________
The opulence of the front office decor varies inversely with the fundamental solvency of the firm.
Reply With Quote