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