View Single Post
  #3   Spotlight this post!  
Unread 10-02-2013, 08:15
Doron_Sivan Doron_Sivan is offline
Registered User
FRC #4590 (GreenBlitz)
Team Role: Programmer
 
Join Date: Oct 2012
Rookie Year: 2013
Location: Israel
Posts: 11
Doron_Sivan is an unknown quantity at this point
Re: |Calculating Distance to targets

Quote:
Originally Posted by Greg McKaskle View Post
Assuming the image element you are measuring is the retroreflective rectangle, you need to reconsider its physical height. I believe it is 12" inside the tape plus 4" tape on each side.

As mentioned, there are other sources of error, but I suspect those will be pretty small, definitely not 2 meters of error.

Greg McKskle
My fault - I was mistaken and wrote 12 inches but we used in the code 20 inches (now i edited the thread). sorry for that...
Still, we had this error of ~2 meters.

Does one of you tried this kind of that code and it worked with small errors?