Arduino Forum

Using Arduino => Motors, Mechanics, and Power => Topic started by: matteov on Jun 13, 2018, 04:18 pm

Title: Pid
Post by: matteov on Jun 13, 2018, 04:18 pm
Hi, I'm trying to set pid control for a drone . When I have the output value, I have just to add to the velocity of the motor (in the function motor.write(velocity+output) ) or I have to use output in a different way ? Thank you .
Title: Re: Pid
Post by: jremington on Jun 13, 2018, 04:54 pm
It is not that simple. There are plenty of tutorials on line describing how PID controllers work, so do your reading.
Title: Re: Pid
Post by: zhomeslice on Jun 14, 2018, 06:25 am
this tutorial may help it is similar to setting up PID for a drone 
https://youtu.be/uyHdyF0_BFo (https://youtu.be/uyHdyF0_BFo)
z