103 Commits

Author SHA1 Message Date
Matthias Grob
fa35635486 Matrix: change naming of sparse vector test 2022-03-17 13:02:22 +01:00
Daniel Agar
38516f7e9c
delete matrix submodule 2021-11-16 12:20:57 -05:00
bresch
984a698760 matrix: update to include min/max of slices 2021-10-08 09:35:40 +02:00
Beat Küng
291ca246d2 matrix: update submodule (improves matrix inversion) 2021-09-05 23:18:28 -04:00
PX4 BuildBot
6060ec8c9a Update submodule matrix to latest Thu Aug 5 00:39:10 UTC 2021
- matrix in PX4/Firmware (6be58a88905d2ef63bc3aaa1a01c82346c181742): b8568a89db
    - matrix current upstream: 3d1c9b988d
    - Changes: b8568a89db...3d1c9b988d

    3d1c9b9 2021-08-05 romain-chiap - quaternion exponential (#164)
2021-08-04 21:59:01 -04:00
PX4 BuildBot
96c7fe4978 Update submodule matrix to latest Thu Apr 15 12:39:10 UTC 2021
- matrix in PX4/Firmware (501b463b36b07481181c15b734861704d9f27020): 1d0e7f1ca1
    - matrix current upstream: b8568a89db
    - Changes: 1d0e7f1ca1...b8568a89db

    b8568a8 2021-04-14 Daniel Agar - Euler: improve quaternion constructor
2021-04-15 13:27:07 -04:00
PX4 BuildBot
592dc65bae Update submodule matrix to latest Thu Apr 15 00:39:06 UTC 2021
- matrix in PX4/Firmware (d9ebf2a842f611976d7ba5078d3f31ad8cde55a7): 3679f7fd51
    - matrix current upstream: 1d0e7f1ca1
    - Changes: 3679f7fd51...1d0e7f1ca1

    1d0e7f1 2021-04-14 Daniel Agar - Matrix: use naive per element copy instead of memcpy call
1344ce0 2021-04-14 Daniel Agar - Euler: simplify DCM constructor
2021-04-14 23:11:41 -04:00
Daniel Agar
1981519aad L1 position controller: use double precision floating point for all lat/lon 2021-02-12 21:59:56 +01:00
PX4 BuildBot
f571b29ae8 Update submodule matrix to latest Sun Jan 24 12:39:24 UTC 2021
- matrix in PX4/Firmware (92f2043d8ba1320ff185bdb13274332b649a0ffa): 054f8b12f4
    - matrix current upstream: 977cf52322
    - Changes: 054f8b12f4...977cf52322

    977cf52 2021-01-22 Julian Kent - Ignore debug line in code coverage
4837316 2021-01-22 Julian Kent - Fix small inconsistencies and compiler warnings
d540ca5 2021-01-13 Julian Kent - Coerce default epsilon values to Type
2021-01-24 09:21:02 -05:00
PX4 BuildBot
01e3f0d586 Update submodule matrix to latest Tue Jan 5 12:40:51 UTC 2021
- matrix in PX4/Firmware (fd97e28019fa9c665d9b3c6995098dd51b4ab022): https://github/commit/15e54ceda176f05e1ae38e71692d15cafb9e3a62
    - matrix current upstream: https://github/commit/054f8b12f4da79767df6e05bb1d2cc8d679b99f3
    - Changes: https://github/compare/15e54ceda176f05e1ae38e71692d15cafb9e3a62...054f8b12f4da79767df6e05bb1d2cc8d679b99f3

    054f8b1 2021-01-04 Julian Kent - Use a single inverse implementation for a single matrix size
2021-01-05 19:24:42 -05:00
PX4 BuildBot
5868463d06 Update submodule matrix to latest Fri Dec 18 12:38:33 UTC 2020
- matrix in PX4/Firmware (a505e82391bdb9d81c03d45919f2158cee6baa8c): https://github/commit/ea43303c1cd55b0da8e152373b49dd2d5e381772
    - matrix current upstream: https://github/commit/15e54ceda176f05e1ae38e71692d15cafb9e3a62
    - Changes: https://github/compare/ea43303c1cd55b0da8e152373b49dd2d5e381772...15e54ceda176f05e1ae38e71692d15cafb9e3a62

    15e54ce 2020-11-04 Julian Kent - Rework rank-detection tolerance in pseudoinverse
d9a5e3d 2020-11-04 Julian Kent - Add test for new cutoff threshold
2020-12-18 10:15:20 -05:00
PX4 BuildBot
e5a00033f5 Update submodule matrix to latest Thu Dec 17 23:05:20 UTC 2020
- matrix in PX4/Firmware (788e6b9ad163f314ddd53a23f3705ca0018519f4): https://github/commit/a504b6e88152d88dba936bc74e449f2f281b84e2
    - matrix current upstream: https://github/commit/ea43303c1cd55b0da8e152373b49dd2d5e381772
    - Changes: https://github/compare/a504b6e88152d88dba936bc74e449f2f281b84e2...ea43303c1cd55b0da8e152373b49dd2d5e381772

    ea43303 2020-12-16 JacobCrabill - test/vector3: Add test for scalar +/- operators
158409a 2020-03-23 JacobCrabill - Vector3f: Add operator+/- for scalars
2020-12-17 19:05:46 -05:00
PX4 BuildBot
5ce0b5a32c Update submodule matrix to latest Sat Nov 7 19:38:27 EST 2020
- matrix in PX4/Firmware (0c3c9bea0f8466d0c14326d134fd0fa06f480cf5): https://github/commit/ce6b10b99af722a4e653387d40019a8428d2a54f
    - matrix current upstream: https://github/commit/a504b6e88152d88dba936bc74e449f2f281b84e2
    - Changes: https://github/compare/ce6b10b99af722a4e653387d40019a8428d2a54f...a504b6e88152d88dba936bc74e449f2f281b84e2

    a504b6e 2020-11-04 Mitchell-Lee-93 - precision of tol for float has been changed
2020-11-08 12:35:27 +01:00
PX4 BuildBot
e54df5c57a Update submodule matrix to latest Fri Aug 28 00:40:08 UTC 2020
- matrix in PX4/Firmware (5d014729e6cce9ca5814b5b803347ea561743cec): 25c0455348
    - matrix current upstream: ce6b10b99a
    - Changes: 25c0455348...ce6b10b99a

    ce6b10b 2020-08-27 Julian Oes - Fix clang-tidy warnings
13f092a 2020-08-26 Kamil Ritz - sparse quadratic form
3a5bfb2 2020-08-25 Julian Oes - matrix: inline to prevent multiple definitions (#147)
e101edc 2020-08-24 Julian Oes - Matrix: fix warning if M == N (#146)
cd8ad15 2020-08-24 Morten Fyhn Amundsen - Make wrap() work with integer types (#145)
2020-08-27 21:40:26 -04:00
kritz
9d962cdfbc
Pr update matrix (#15520)
* Update submodule Matrix

* replace deprecated matrix functions

* update submodule ECL

* Update Matrix submodule

* Use absolute value of loiter radius

* Update ECL submodule
2020-08-11 10:08:41 +02:00
PX4 BuildBot
650b601206 Update submodule matrix to latest Sun Jul 19 12:40:00 UTC 2020
- matrix in PX4/Firmware (20d5e7acd6d7be141de802ad155592e7be4c9f77): 9a30828a0a
    - matrix current upstream: 0fd99c59f1
    - Changes: 9a30828a0a...0fd99c59f1

    0fd99c5 2020-07-14 Matthias Grob - Switch operator() to return a const reference
8a59b46 2020-07-17 kamilritz - Quaternion: Use template type instead of single hardcoded type
2020-07-19 12:25:55 -04:00
PX4 BuildBot
19d2de0726 Update submodule matrix to latest Tue Jun 30 14:40:13 UTC 2020
- matrix in PX4/Firmware (a1043f6ce068cc4d039d6808ef98fd8c3f379582): f529358e9a
    - matrix current upstream: 9a30828a0a
    - Changes: f529358e9a...9a30828a0a

    9a30828 2020-06-30 Julian Kent - Add explicit matrix + scalar test
f3cf615 2020-06-30 Julian Kent - Do += -= and scalar *= /= in place
2020-06-30 11:11:45 -04:00
PX4 BuildBot
b463a2f0d5 Update submodule matrix to latest Sun Jun 28 12:38:27 UTC 2020
- matrix in PX4/Firmware (2337b7e2f7b4eecddbb9103ab7672fac2c741fc5): 674bd99f3b
    - matrix current upstream: f529358e9a
    - Changes: 674bd99f3b...f529358e9a

    f529358 2020-06-27 kamilritz - Add missing const modifier
2020-06-28 19:55:06 -04:00
PX4 BuildBot
f89dac03f3 Update submodule matrix to latest Sun Jun 14 12:39:39 UTC 2020
- matrix in PX4/Firmware (18f14ebefad29873ddeef6396c7c3a728c90b996): 2bee0d078c
    - matrix current upstream: 674bd99f3b
    - Changes: 2bee0d078c...674bd99f3b

    674bd99 2020-06-11 kamilritz - Add operator* and operator/ for slice with type
38b3acc 2020-06-11 Nicolas MARTIN - fix conjugate_inversed comment
2020-06-14 11:18:00 -04:00
PX4 BuildBot
fa64c3862d Update submodule matrix to latest Thu May 7 00:38:16 UTC 2020
- matrix in PX4/Firmware (b14143229d5aa79e060c2bf65a2eb35f36b7a38c): d613055462
    - matrix current upstream: 2bee0d078c
    - Changes: d613055462...2bee0d078c

    2bee0d0 2020-05-06 Matthias Grob - Quaternion: refactor multiplication to matrix multiplication style
2020-05-06 22:27:07 -04:00
Daniel Agar
746b3124ab
Update submodule matrix to latest Wed Apr 8 12:39:43 UTC 2020
- matrix in PX4/Firmware (222e0636c4b53ea18013f2bf0d35a798fab6ae76): a32892926c
    - matrix current upstream: d613055462
    - Changes: a32892926c...d613055462

d613055 2020-04-06 kamilritz - Add more assignment operators for slices
976ada4 2020-03-21 Matthias Grob - Matrix: min max comments and test style
fa7153e 2020-03-21 Matthias Grob - Matrix: omit min max nan case with same result
2020-04-08 16:25:00 -04:00
Matthias Grob
eb3b0f6b55 mathlib: get rid of now duplicate sign() function
Instead use the one that was copied to the matrix library in
https://github.com/PX4/Matrix/pull/116/
2020-03-17 10:01:42 +01:00
PX4 BuildBot
2da38ae81c Update submodule matrix to latest Thu Mar 12 00:38:40 UTC 2020
- matrix in PX4/Firmware (db0c95ed5620e8ffad3dd3281b511cf5f9ee7848): 649c837b6b
    - matrix current upstream: 4873dc1c1e
    - Changes: 649c837b6b...4873dc1c1e

    4873dc1 2020-03-04 kritz - Analytic inverse implementation (#122)
2020-03-12 00:01:38 -04:00
Julian Kent
18754225c9 Update matrix library 2020-02-26 10:27:32 +01:00
PX4 BuildBot
6beecafbad Update submodule matrix to latest Fri Jan 17 00:39:22 UTC 2020
- matrix in PX4/Firmware (b9c304e461b8fe9a8060110a902fce7eac0eea8d): 3b581fb599
    - matrix current upstream: a37b91c96a
    - Changes: 3b581fb599...a37b91c96a

    a37b91c 2020-01-13 kamilritz - Type cast remaining integer
2020-01-16 20:34:06 -05:00
PX4 BuildBot
a986a63504 Update submodule matrix to latest Sat Jan 4 12:39:31 UTC 2020
- matrix in PX4/Firmware (1cee4d3b0de55e2a7b874dfdaf7a9975a099195c): d18be0d0fa
    - matrix current upstream: 3b581fb599
    - Changes: d18be0d0fa...3b581fb599

    3b581fb 2020-01-01 Lorenz Meier - Update .travis.yml
efa5580 2020-01-01 Lorenz Meier - Update CMakeLists.txt
20a9e91 2019-12-31 Lorenz Meier - Fix CMake configuration for coverage tests on Mac OS
2020-01-04 10:43:35 -05:00
PX4 BuildBot
b3889e6187 Update submodule matrix to latest Sun Dec 29 00:38:26 UTC 2019
- matrix in PX4/Firmware (82244037f4f4be591cf1c8b9a25bb4969d0d33a9): e81483a808
    - matrix current upstream: d18be0d0fa
    - Changes: e81483a808...d18be0d0fa

    d18be0d 2019-12-28 kritz - Fix AngleAxis constructors (#117)
2019-12-28 20:25:33 -05:00
PX4 BuildBot
b6b8a9a76e Update submodule matrix to latest Tue Dec 24 12:39:27 UTC 2019
- matrix in PX4/Firmware (0aa62a3bfff12d854d6a8e378a518bd8646a9f4b): 4f3565da94
    - matrix current upstream: e81483a808
    - Changes: 4f3565da94...e81483a808

    e81483a 2019-12-18 kritz - Catch quaternion canonical corner cases (#116)
2019-12-24 13:15:42 -05:00
PX4 BuildBot
4e75f54fcf Update submodule matrix to latest Tue Dec 10 00:39:17 UTC 2019
- matrix in PX4/Firmware (478a27ee8843a9bd91a0254f6b01a6a9c01946a4): a8009a36a3
    - matrix current upstream: 4f3565da94
    - Changes: a8009a36a3...4f3565da94

    4f3565d 2019-12-09 kritz - Add asserts (#115)
2f63981 2019-12-06 kritz - Add several functions that are useful for coavriance matrices: (#114)
5cbcf60 2019-12-05 kritz - Set Matrix's col amd row to single value (#113)
ef442fa 2019-12-05 kritz - Getter function for the diag elements of slice (#112)
de6a2d3 2019-12-04 kritz - Slice assign value (#111)
2019-12-09 20:42:39 -05:00
PX4 BuildBot
db904839c3 Update submodule matrix to latest Sat Nov 30 21:21:29 UTC 2019
- matrix in PX4/Firmware (572fb4751b6e01512ec358b00aa795b234179d85): dba84236cb
    - matrix current upstream: a8009a36a3
    - Changes: dba84236cb...a8009a36a3

    a8009a3 2019-11-26 Daniel Agar - Quaternion multiply inline return
2019-11-30 17:58:08 -05:00
PX4 BuildBot
fda7d71d16 Update submodule matrix to latest Thu Nov 28 12:39:45 UTC 2019
- matrix in PX4/Firmware (f2d08df7779e378710bca4872684910872e8fcc5): de85dcff97
    - matrix current upstream: dba84236cb
    - Changes: de85dcff97...dba84236cb

    dba8423 2019-11-28 Daniel Agar - Vector3f cross product directly return result (#109)
2019-11-28 12:45:52 -05:00
Daniel Agar
580308ff07
Update submodule matrix to latest Thu Nov 28 00:39:53 UTC 2019
- matrix in PX4/Firmware (1618e9d38fb8f0c76e6b5b7dfc25da565c22bbee): a172c3cdac
    - matrix current upstream: de85dcff97
    - Changes: a172c3cdac...de85dcff97

    de85dcf 2019-11-26 Matthias Grob - Vector: switch read only functions to const (#108)
2019-11-28 00:37:17 -05:00
Julien Lecoeur
a46581987c Update matrix submodule and add pseudoinverse tests (tests matrix) 2019-11-21 13:06:59 -05:00
PX4 BuildBot
6369ae858a Update submodule matrix to latest Wed Nov 13 22:07:30 UTC 2019
- matrix in PX4/Firmware (d3184c866c3012105c8950a9f6652a9722fa3296): 93d42947b6
    - matrix current upstream: cd185c995b
    - Changes: 93d42947b6...cd185c995b

    cd185c9 2019-11-13 Daniel Agar - add braces around statements and cleanup formatting (#107)
38e966c 2019-11-12 kritz - Add min, max, constrain function for Matrix (#105)
2019-11-13 19:07:24 -05:00
PX4 BuildBot
4dfe3e199e Update submodule matrix to latest Sat Nov 9 00:39:54 UTC 2019
- matrix in PX4/Firmware (c475bb84b7274d041065fc3fd673127ae2438f4d): 9f46483951
    - matrix current upstream: 93d42947b6
    - Changes: 9f46483951...93d42947b6

    93d4294 2019-11-08 kritz - Add test for setting Quaternion to Identity (#104)
2019-11-09 00:51:44 -05:00
PX4 BuildBot
6e395fe885 Update submodule matrix to latest Tue Nov 5 00:38:36 UTC 2019
- matrix in PX4/Firmware (dca3f78e198f89510890fbb8b305d2fa1c3caa69): 92d1c8761e
    - matrix current upstream: 9f46483951
    - Changes: 92d1c8761e...9f46483951

    9f46483 2019-11-04 Julian Kent - Fix GCC-4.8 bug
445f58d 2019-11-01 Julian Kent - Fix weird C preprocessor conflicts (#101)
215203f 2019-10-23 Julian Kent - Automatic Differentiation 'Dual' Type (#100)
2019-11-04 20:05:43 -05:00
Matthias Grob
c8f3f07ff7 matrix: pull explicit constructors 2019-10-05 11:46:07 -04:00
PX4 Build Bot
cee8c31649 Update submodule matrix to latest Wed Oct 2 20:37:38 EDT 2019
- matrix in PX4/Firmware (cb369cb6a75cae71035d72a3bacecce3e109f971): c34e8dc98f
    - matrix current upstream: 973999a4d3
    - Changes: c34e8dc98f...973999a4d3

    973999a 2019-09-23 Matthias Grob - Fix some template type conversions and style
2019-10-03 00:25:18 -04:00
PX4 Build Bot
c67a7536d4 Update submodule matrix to latest Sun Sep 22 08:37:30 EDT 2019
- matrix in PX4/Firmware (8b1f9546aabfe6ab2a0431f1d5af6dcc976d4f59): 60c9c99dcc
    - matrix current upstream: c34e8dc98f
    - Changes: 60c9c99dcc...c34e8dc98f

    c34e8dc 2019-09-17 Matthias Grob - helper: consider matrices with the same NANs and INFINITYs equal
bbaa938 2019-09-17 Matthias Grob - helper: consider NAN equal to NAN such that vectors can be compared exactly
33a6291 2019-09-17 Matthias Grob - Matrix: add proper print function testing
b0b7d72 2019-09-17 Matthias Grob - Multiplication test: fix division resulting in NAN
3747232 2019-09-17 Matthias Grob - LeastSquaresSolver: Fix nasty GCC compile optimization error
5844b0e 2019-09-16 Matthias Grob - Implement one float equality check and use it everywhere
1e80807 2019-09-16 Matthias Grob - test: Add uncovered equality checks with NAN and INFINITE
a374f37 2019-09-16 Matthias Grob - Include helper_functions like all other library components
2019-09-22 11:34:53 -04:00
Matthias Grob
c8d0eba1d2 Update ecl and matrix to safe matrix access 2019-09-18 22:01:36 -04:00
Julian Kent
2d4ecab3b0 Remove unsafe access to .data() and _data in Matrix 2019-09-18 22:01:36 -04:00
Julian Kent
a8fbe6bba2
Remove references to pow(x,0.5), use sqrt instead (#12928)
* Remove references to pow(x,0.5), use sqrt instead

* Update matrix library
2019-09-10 13:29:39 +02:00
Tanja Baumann
f3c5ca6015 Collision Prevention: support multiple sensors and frames (#12883)
* build internal sensor map

* Extend testing coverage

* Update matrix library
2019-09-06 08:38:56 +02:00
PX4 Build Bot
511438d6ef Update submodule matrix to latest Thu Aug 29 00:42:01 UTC 2019
- matrix in PX4/Firmware (341c0ae739753db98dcd0711e91f621c1666b16d): 56b069956d
    - matrix current upstream: cc084e0791
    - Changes: 56b069956d...cc084e0791

    cc084e0 2019-08-26 Martina Rivizzigno - matrix: add method to check all values are nan (#82)
84b3da2 2019-08-22 kritz - Canonical Quaternion with tests (#81)
2019-08-28 21:45:09 -04:00
Martina Rivizzigno
8cdc2d9ae9 update matrix library submodule 2019-03-22 15:41:33 +01:00
PX4 Build Bot
b104b55cec Update submodule matrix to latest Mon Jan 21 20:57:42 UTC 2019
- matrix in PX4/Firmware (31bd46d2ed700b2da9fc314e9b87d9b683a66606): 18fba8221c
    - matrix current upstream: 6b0777d815
    - Changes: 18fba8221c...6b0777d815

    6b0777d 2019-01-21 Daniel Agar - stdlib_imports cinttypes currently unavailable in NuttX toolchain (#79)
2019-01-21 16:58:36 -05:00
PX4 Build Bot
582658f2e0 Update submodule matrix to latest Sat Dec 22 00:38:42 UTC 2018
- matrix in PX4/Firmware (3e5d66580520e5ae64555c5fc9252c6c661389e3): 9c0acfba36
    - matrix current upstream: 18fba8221c
    - Changes: 9c0acfba36...18fba8221c

    18fba82 2018-12-16 Matthias Grob - quaternion: improve comments
a4f39c0 2018-12-16 Matthias Grob - quaternion: reuse existing dot product
2018-12-21 23:39:07 -08:00
PX4 Build Bot
7d54913f80 Update submodule matrix to latest Wed Nov 21 00:38:27 UTC 2018
- matrix in PX4/Firmware (4005de7b9600db8a310d52f9bf7a47a0019868d8): 0d3bff5e00
    - matrix current upstream: 9c0acfba36
    - Changes: 0d3bff5e00...9c0acfba36

    9c0acfb 2018-11-20 Matthias Grob - Matrix: remove unsafe copyToRaw method
2018-11-20 20:35:15 -05:00
Matthias Grob
ada0179cda matrix lib: update to latest version 2018-10-01 08:10:21 -04:00
PX4 Build Bot
a4a9b02ff1 Update submodule matrix to latest Tue Sep 18 12:37:50 UTC 2018
- matrix in PX4/Firmware (6a217407806bac38328cd12903ee3aff52df14b0): dc3af80977
    - matrix current upstream: 30d5a79432
    - Changes: dc3af80977...30d5a79432

    30d5a79 2018-09-14 Bart Slinger - testing float/double with Type template
707e288 2018-09-13 Bart Slinger - explicit casting
480c5f1 2018-09-13 Bart Slinger - static assert M>=N. floats to Type, arguments as const reference
7495794 2018-09-12 Bart Slinger - test zero divisions
3f2d3cf 2018-09-12 Bart Slinger - fix a div/0 condition
983a3f0 2018-09-12 Bart Slinger - use Matrix and Vector class for A and tau
98b8e2d 2018-09-12 Bart Slinger - formatting
0009328 2018-09-09 Bart Slinger - least squares solver for MxN matrices using QR householder algorithm
2018-09-18 18:36:51 +02:00