• NormalizeG.js
    NormalizeG.wxm
    6 Dec 2016
    Attached are two files that use matrix rotations on an xyz vector to produce a vector where x1=0,y1=0,z1= - sqrt(x^2+y^2+z^3)
    It’s still need some work as the matrix direction values depend on the vector quadrant.
    This is likely the result of computerizing the trig and algebra.
    The goal is to use the matrices and accelerometer readings to level the magnetometer readings and produce a compass heading.
    The file with the wxm extension can be opened using the Maxima software.
    This allows an analytic derivation as well as a numerical one.
    http://maxima.sourceforge.net/


    2 Attachments

About