Statistics
| Branch: | Revision:

adafruit_bno055 / utility @ 88b09bb5

Name Size
imumaths.h 881 Bytes
matrix.h 4.889 KB
quaternion.h 6.541 KB
vector.h 4.79 KB

Latest revisions

# Date Author Comment
88b09bb5 2016-02-25 15:20 Gé Vissers

Simplify constructors

0ecc7129 2016-02-25 15:09 Gé Vissers

Simplify several functions by replacing the body with one-line calls to the
constructor. Furthermore, pass Quaternion arguments by reference to avoid
excessive copying.

4a94251b 2016-02-25 14:52 Gé Vissers

Quaternion needs the definition of a matrix. Include it.

e8e79779 2016-02-25 14:04 Gé Vissers

Fix conversion of impure rotation matrices to quaternions

The test for the largest element in the matrix diagonal was reversed, which
resulted in taking the square root of a negative value for matrices with
determinant less than zero.

02609f56 2016-02-24 16:09 Gé Vissers

Store determinant as double when computing matrix inverse. Does not matter on Arduino, but might on other platforms.

ba125e3b 2016-02-24 15:20 Gé Vissers

The recursive definition of the determinant function, combined with the fact
that no specialized function for the base case N==1 is given, leads to
instantiation of this function for all 256 possible values of a uint8_t (even
though these are not used in practice). Fix this by providing an explicit...

3e5e5286 2016-02-24 14:37 Gé Vissers

Remove inclusion of unused headers

322c0d59 2016-02-24 14:35 Gé Vissers

Fix calculation of inverse. We should divide by the determinant instead of multiply with it.

55604844 2016-02-24 14:01 Gé Vissers

Fix minor_matrix() accessing data past end of array.

b79e511b 2016-02-24 13:55 Gé Vissers

Get rid of superfluous _cell member

View revisions

Also available in: Atom