Hi everyone!
I am trying to use the throttle to control a servo so it can move from left to right and increase the speed when i push the throttle.
Is this possible? & how would i write the code for this?
Hope any kind soul will reply me this question.
THANK YOU!!! :)
Replies
Hi Jnixetra,
The Servo is connected to an APM (or another Controller board) and the remote control receiver too, right ?
Now the software can give your changes directly from throttle to the servo (maximum speed),
now you need a software part that will reduce the speed of change of your servo, and the speed change reducing should be configurabel by 'left/right'. I'm still right?
So I think you need a PID controller in your software (at least an I Controller)
Here you can find some help for it:
http://brettbeauregard.com/blog/2011/04/improving-the-beginners-pid...
best Thomas