I've got the basic attitude estimator running. The Pitch and Roll drift is being corrected by the accelerometers, but I still need to use the magnetometers and/or GPS to correct the Yaw drift. The yaw drift is actually very small as you can see in the video.


Views: 2744

Comment by Alessandro Zupo on October 26, 2013 at 3:33pm

Hi brian,

for PID controls, in my Firmware i calculated the PID result at 200hz....but i was need to average with mobile avergare of 5 times the result for have a smooth motor output...in particular when i set the D parameters.....you think is bad idea to average the value?? Now i'm searching alghoritm for auto altitude hold and GPS hold....do you have any idea where search??


You need to be a member of DIY Drones to add comments!

Join DIY Drones


Season Two of the Trust Time Trial (T3) Contest 
A list of all T3 contests is here. The current round, the Vertical Horizontal one, is here

© 2020   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service