Bart Slinger
480c5f1f8e
static assert M>=N. floats to Type, arguments as const reference
7 years ago
Bart Slinger
7495794386
test zero divisions
7 years ago
Bart Slinger
98b8e2d43b
formatting
7 years ago
Bart Slinger
0009328257
least squares solver for MxN matrices using QR householder algorithm
7 years ago
Daniel Agar
f1bee775a0
use default constructors and skip unnecessary initialization
7 years ago
Daniel Agar
03a3e3ad46
helper_functions add wrap_2pi
7 years ago
James Goppert
e7c95fa027
Fix README/cmake format.
7 years ago
James Goppert
d142ac234c
Fix coverage and bug in matrix equal test.
7 years ago
Matthias Grob
f835d39017
Quaternion/Vector: Small refactor for review: put more comments, switched type conversions, took out default destination vector because confusing
7 years ago
Matthias Grob
af2610ec04
Test: added check for quaternion vector to vector rotation constructor
...
including all the parallel vector corner cases
7 years ago
Matthias Grob
d513c94f85
Test: added check for Vector.norm_squared()
7 years ago
Matthias Grob
41ad2bdea5
Matrix: added copyToRaw method to allow copying to a pointer
...
because most uORB messages still contain all components of a vector one by one after each other
7 years ago
Matthias Grob
308a6c91cb
Test: added copyTo tests for Vector3, Quaternion and Matrix including clolumn-major order
7 years ago
Matthias Grob
3bd94fcd6f
Test vector: structured & commented, added normalize and unit_or_zero tests, removed duplicate data preparation
7 years ago
Matthias Grob
d259ab2108
Test: add Quaternion rotate() test that catches non-commutating rotations
7 years ago
Matthias Grob
0a772f59dd
Quaternion: added direct efficient body z-axis calculation with test
8 years ago
James Goppert
e595ebb9a7
Switch to Hamilton quaternions and add Cholesky decomposition.
8 years ago
Pavel Kirienko
e09cf12e2e
Removed all uses of C library from tests
8 years ago
Pavel Kirienko
b74749fb61
Un-poisoned fabs
8 years ago
Pavel Kirienko
8af7b8c130
Poisoned the C library identifiers
8 years ago
Daniel Agar
cf924956d7
test vector3 using matrix::isEqual
8 years ago
Daniel Agar
cfa68c2196
clang-tidy trivial cleanup
8 years ago
Daniel Agar
5f2f6f0308
rename cmake "Profile" to "Coverage" and add builds
8 years ago
Daniel Agar
f00edc9442
update to astyle 2.06 and fix formatting
8 years ago
Daniel Agar
68c7cc5bfd
Quaternion add copyTo
8 years ago
James Goppert
63aea23f9e
Add cholesky decomp, Closes #30 , and dynamic print buf
8 years ago
James Goppert
a154e14439
Fix coverage for inverse.
8 years ago
Matthias Grob
47c0a93140
Quaternion: added tests for the corner cases of Dcm to quaternion conversion
8 years ago
James Goppert
74a120f554
Handle some divide by zero edge cases on init.
8 years ago
James Goppert
bf69be7f17
Fix formatting.
8 years ago
James Goppert
f3e478cbff
Fix matrix inverse pivotting logic.
8 years ago
James Goppert
34fccdd680
add renormalize method ( #32 )
8 years ago
James Goppert
db4374882b
Fix attitude tests.
9 years ago
James Goppert
3aeb099249
Revert "Use Hamilton quaternion definition."
...
This reverts commit 19554c4470
.
9 years ago
James Goppert
4653626d92
Format.
9 years ago
James Goppert
0eb8aa0c0b
Support more of mathlib function for easier swap in px4.
9 years ago
James Goppert
262a715d90
Fix some when building in px4.
9 years ago
James Goppert
9af58f7e08
Coverage fix.
9 years ago
James Goppert
37b00b0880
Added check or consistency of dcm and quaternion product.
9 years ago
James Goppert
1a87564b85
Added dcm quat prod consistency check.
9 years ago
James Goppert
4f13809420
Added axis angle accessors, removed == operator.
9 years ago
James Goppert
19554c4470
Use Hamilton quaternion definition.
9 years ago
James Goppert
e6a6b4680c
Use quaternion multiplaction for quaternion derivative.
9 years ago
James Goppert
9353e4cb64
Fix bugs in axis angle.
9 years ago
James Goppert
0f41af271a
Added axis angle attitude representation. ( #25 )
9 years ago
James Goppert
dd8ff8db12
Made coverage html output optional.
9 years ago
James Goppert
061609322a
Added command line output for coverage.
9 years ago
James Goppert
155202f6b0
Found a few coverage gaps with local coverage testing.
9 years ago
James Goppert
bd8420fcf6
Added example of assignment to already created object.
9 years ago
MaEtUgR
b2eb4d13d8
Matrix.setCol off by one bug fixed
...
The Column Vector you are copying from, only has one Column and it is indexed by 0 not 1.
I also completed the unit test stub that would have found this bug.
9 years ago