Congrats Bill on another fantastic feature addition. Your analysis,
design, math, and coding work never cease to amaze!
A little question... I'm wondering if an optional misalignment 'hint'
setting might be useful so that the algorithm might compensate more
quickly. This would be for cases in which the magnetometer is
intentionally misaligned (by say 180 degrees).
Thanks again for all the great work!
BTW, I just posted a video that shows the ailerons and elevator
control surfaces during an aggressive flight of my HawkSky. The flight
includes several steep rolling dives and barrel rolls. Recovery from
each maneuver is controlled entirely by the UDB, since I let go of the
controls at the end of each one. It's interesting to see how fast the
control surfaces respond and how quickly the plane recovers to stable
level flight.
http://www.youtube.com/watch?v=2YN8vXAU1AQ
Best regards,
Phil
On Oct 14, 7:37 am, William Premerlani <
wpremerl...@gmail.com> wrote:
> Team,
>
> I made yet a few more improvements to the magnetometer software in r1060 of
> MatrixPilot trunk. At this point I am completely satisfied with it, I don't
> think there are any more improvements possible. In any case, I am now going
> to move on to the next research topic on my list, after I write up a report.
>
> Here are the changes in r1060:
>
> 1. There is a completely new magnetometer offset removal algorithm that is
> more accurate than the previous one in the face of magnetometer
> misalignment.
>
> 2. Realignment is done with a full rotation matrix that can handle any
> amount of misalignment.
>
> Attached are a few plots of the test results, including cases of
> magnetometer yaw misalignment of 10, 90 and 180 degrees.
>
> In other words, with the new software, you can mount the magnetometer in any
> orientation whatsoever, and the software can figure it out and compensate
> perfectly. That said, you should mount your magnetometer within 10 degrees
> of the correct alignment, that way the software will compensate for the
> misalignment more quickly.
>
> Best regards,
> Bill
>
> On Wed, Oct 12, 2011 at 5:43 PM, William Premerlani
> <
wpremerl...@gmail.com>wrote:
> spinTest.pdf
> 39KViewDownload
>
> 10DegreeYaw.pdf
> 50KViewDownload
>
> 90DegreeYaw.pdf
> 54KViewDownload
>
> 180DegreeYaw.pdf
> 59KViewDownload