|
Re: Who has the camera working?
I got it working! Kevin coded it to tilt the wrong way when it found the target. To fix this go to tracking.c. In the servo track function, find the y-axis/ tilt tracking code. Where it assigns the tilt error, multiply the whoole subtraction problem by -1. THen go down and find the two places where it assigns 1 or -1 to the step in a division erro occurs and reverse them. That should fix the problem.
|