Tom, I have a couple of questions on a quad using the gluonpilot that I would appreciate your feedback on .
I have built a quad using the same motors and ESC as you suggest on the quad page on the forum. I have it set up in a test rig to tune the PID values. I am getting good stability on the roll axis (Motor 1 & 3) but getting consistent downward pitch at the front end at take-off speed settings. The quad holds a stable downward pitch so the system is stable. I have modified the glunopilot ground station so I can see the values being passed to the ESC for each motor and I see the value increase for the front motor M2 increase as the front pitches down - which is what I would expect to see but it is not enough to bring the quad horizontal again.
I have the P values close to each other for the pitch and roll axes with a low value for I and a zero value for D value.
Current values - for pitch P = 0.04, I = 0.0001, D = 0. For roll p = 0.045, I = 0.0001, D= 0.
I have tried higher values of P but it just causes it to oscillate about the horizontal which is what I would expect.
I am considering swapping the M2 & M4 motors to see if it pitches upwards instead which would suggest that one motor is slightly more powerful than the other. If that is the case then I think I would need to include a tweak in the software to slightly increase the speeed of motor 2. I don't have much experience with PID settings so I am wondering how I could tune the PID pitch settings so that I don't need to tweak the software. I have tried multiple settings on the PID values and these values are giving me the best results.
(1) Have you seen a similar behaviour and if so do you have any suggestion on how I might adjust the PID values
(2) On the PID config screen there is a field called altitude error - do I need to set the PID values in this ?
Thanks for your help.