LordLadybug / LaserTracker

Laser tracking program that moves camera to keep laser pointer in focus; crude visual encoder for making measurements along a ruler.
GNU General Public License v3.0
0 stars 0 forks source link

Servo Duty Cycle Calculations #4

Closed LordLadybug closed 3 years ago

LordLadybug commented 3 years ago

The current PWM code will sometimes ask for a PWM duty cycle of over 100%, despite max and min PWM being 10% and 2.5%, respectively. This suggests a need for changing the code for correcting horizontal positioning error to give a duty cycle between 2.5%-10%.