View Single Post
  #1   Spotlight this post!  
Unread 07-02-2007, 19:48
herbboy's Avatar
herbboy herbboy is offline
Camera/Autonomous Programmer
AKA: Sid
FRC #0166 (ChopShop)
Team Role: Programmer
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Merrimack
Posts: 3
herbboy is an unknown quantity at this point
Re: I have a quiestion about a distance

simple get the coordinate for mid (x,y) then get coordinates for corner(x1,y1)
now use the distance formual --

sqareroot( (x-x1)^2 + (y-y1)^2) I think