|
Re: Servo help
You should feed the number of pixels from the center of the camera in the X direction into a PID loop with the setpoing being the centermost pixel. Do the same for y. The output of these loops should be fed into the set servo positions for the x and y respectively. Then adjust the gain downward until the jittering stops.
To learn more about PID loops, download the white paper on PID's from chief delphi's media section.
|