View Single Post
  #10   Spotlight this post!  
Unread 07-01-2006, 13:26
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: What information can we access from the camera?

Quote:
Originally Posted by Total Meltdown
Yeah, I could compute the distance if I need to, but I thought I heard them say that the distance was already returned right in the camera code itself.

...and would I be safe in assuming that the robot controller can do the basic Trig functions? Sin Cos Tan and the like?
The current revision of the code does not give you range (I'll add this on the next rev.), but if you look at the code in terminal.c, you'll see how to calculate the tilt angle, which gets plugged into the equation mentioned above. Yes, the compiler has math.h support.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org