Daniel Agar
|
41a1cc7583
|
LICENSE minor changes to template
|
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
|
84cd7483ae
|
Quaternion: added constructor which generates the shortest rotation that maps one vector to another
including tedious corner case handling for parallel vectors with 180 degree rotations
|
7 years ago |
Matthias Grob
|
d513c94f85
|
Test: added check for Vector.norm_squared()
|
7 years ago |
Matthias Grob
|
5130da206a
|
Vector: added norm_squared() because sometimes you can safe the sqrt operation
|
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
|
1dffd5930b
|
Matrix: add copyTo copying data to an array and copyToColumnMajor which does the same but with column-major order
same functionality explicitly for quaternions can be deleted
|
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
|
9e59691e43
|
Vector: Additional normalization with check for zero norm because it occurs so many times in applications
|
7 years ago |
Matthias Grob
|
f4243160e2
|
Quaternion: changed comments because of typos and unclear inconsistent indexing
|
7 years ago |
Matthias Grob
|
d259ab2108
|
Test: add Quaternion rotate() test that catches non-commutating rotations
|
7 years ago |
Matthias Grob
|
ee2219b836
|
Quaternion: replace conversion in rotate() with AxisAngle call
|
7 years ago |
Matthias Grob
|
b241cf5c95
|
Quaternion: Adjusted rotate() to the Hamilton convention (which we switched to)
Note: This error was not caught by a test because the test included only trivial cases which do not explore non-commuting quaternions.
|
7 years ago |
Matthias Grob
|
6b1fea76d0
|
Quaternion: added and adjusted comments to further explain conjugation and derivative functionality
|
7 years ago |
Matthias Grob
|
0527471a52
|
Matrix: adjust buffer size calculation to account for additional characters
Note: If the buffer is too small there's no memory corruption because of the snprintf limit but part of the output gets missing.
|
7 years ago |
Matthias Grob
|
0a772f59dd
|
Quaternion: added direct efficient body z-axis calculation with test
|
8 years ago |
Matthias Grob
|
976461eb0f
|
Dcm: more efficient conversion from quaternion, extend reuse of multiplications
|
8 years ago |
Matthias Grob
|
baf54ad29f
|
quaternion: correcting comments
^(-1) went missing and some phrase was inprecise
|
8 years ago |
James Goppert
|
e595ebb9a7
|
Switch to Hamilton quaternions and add Cholesky decomposition.
|
8 years ago |
Nate Weibley
|
471e96ff6f
|
Provide const dataptr access
|
8 years ago |
Nate Weibley
|
2ad3ec46b9
|
Mark simple min, max, abs methods as const
|
8 years ago |
Nate Weibley
|
66e1b406b8
|
Remove artifical need to virtualize dtors
|
8 years ago |
Pavel Kirienko
|
499b897e5f
|
Style fix
|
8 years ago |
Pavel Kirienko
|
99b44c0242
|
NuttX math lib workaround
|
8 years ago |
Pavel Kirienko
|
8dbe4a7531
|
NuttX workaround
|
8 years ago |
Pavel Kirienko
|
23def31d21
|
Fixed stdlib imports
|
8 years ago |
Pavel Kirienko
|
e09cf12e2e
|
Removed all uses of C library from tests
|
8 years ago |
Pavel Kirienko
|
9ebf5f89db
|
Removed all use of C library from the matrix namespace
|
8 years ago |
Pavel Kirienko
|
552dad40a1
|
Fixed inclusions in matrix/
|
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
|
d81ddb0f37
|
travis-ci only check formatting once
|
8 years ago |
Daniel Agar
|
de3517a5c7
|
cmake add asan and ubsan
|
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
|
fb87165051
|
cmake add check
|
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 |
Daniel Agar
|
e2211c5867
|
QuRT use __builtin_isfinite
|
8 years ago |
Lorenz Meier
|
2283e6946a
|
Matrix inversion: Ensure that null check is done against the same type
|
8 years ago |
James Goppert
|
843be9418b
|
Rename isfinite to is_finite to avoid name conflicts.
|
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 |
James Goppert
|
db6dfeafbe
|
Add helper_functions include for inverse and in general header
|
8 years ago |
James Goppert
|
230e84702a
|
Fix unit test, create matrix isfinite.
|
8 years ago |
Siddharth Bharat Purohit
|
7e3eff7b2d
|
remove unnecessary duplicate matrices from inverse
|
8 years ago |
Matthias Grob
|
47c0a93140
|
Quaternion: added tests for the corner cases of Dcm to quaternion conversion
|
8 years ago |