Advice about PID tuning
Posted: Wed May 04, 2016 1:28 pm
Hi all,
I'm going to calibrate PID but I'm not sure about how to do this. I need to fix drone in position and start to perform test with increasing values. I've found a guide in this forum that tells to set all PID(kp,ki,kd) to 0 and then start with a single R or P or Y to calibrate.
About fixing drone, I should fix it with more gravity at bottom? (so it will not go upsidedown when motors are off)
And about thrust, how much thrust should I apply when I performing tuning? (about 25%? much higher like when it taking off from ground(about 60-70%) or more?)
Also, I've found that I can nullify R, P or Y inside crazyflie code with TUNE_ROLL, TUNE_PITCH and TUNE_YAW and also I can also nullify sending R, P or Y from my controller(in case I accidentally move them). Are this options necessary if I set all PIDs to 0?
Thank you.
I'm going to calibrate PID but I'm not sure about how to do this. I need to fix drone in position and start to perform test with increasing values. I've found a guide in this forum that tells to set all PID(kp,ki,kd) to 0 and then start with a single R or P or Y to calibrate.
About fixing drone, I should fix it with more gravity at bottom? (so it will not go upsidedown when motors are off)
And about thrust, how much thrust should I apply when I performing tuning? (about 25%? much higher like when it taking off from ground(about 60-70%) or more?)
Also, I've found that I can nullify R, P or Y inside crazyflie code with TUNE_ROLL, TUNE_PITCH and TUNE_YAW and also I can also nullify sending R, P or Y from my controller(in case I accidentally move them). Are this options necessary if I set all PIDs to 0?
Thank you.