i have been struggling with gyro drift and up to now no real solution exists.
it effects the pirates and the newer arducopter2 code base because both build upon the same dcm implementation.
i played around with the pirate code base and could improve the situation a little bit.
and after a few trials i decided to replace the current dcm implementation by the quaternion solution from sebastian madgwick.
what i need is some more tuning and a better pilot :)
there was quite a bit of wind today. and gusty wind between the rain showers.
Comments
hi roy,
your arguments are abs. correct.
to me it was amazing - i did not spend too much time on putting everything together. the video itself is made on the first day without crashes. my main problem area was the error feedback for the pid pwm calculation (actually only pi). here i prob. make an other change to simplify things.
computationally it is amazing - i upped the mainloop frequency up to 333 hz and my newer copter flew nicely. the older one is dead now ;-)
robert
@ken
pls. read jason's comment on gyrodrift
the quaternions might be a tad to non magic ;-)
sebastion claims it is not subject to accumulate errors: demonstration
comparison of methods
to me the integrator as is has a few flaws. the most important one is it introduces a delay and delays create an instable system. those delays are visible as low frequent whobbles in the air.
at the moment i need to increase the convergence of the gyroscope bias.
yes, i will publish the code.
i need more time to tune the parameters.
takes more time as expected.
Hi Robert,
Congratulations to your implementation. I hope we will see some longer video in the next time.
Is it possible to see the code of your solution?
By the way, it seems that your test area has exactly the same immense dimensions like mine ;)