16 Commits

Author SHA1 Message Date
Matthias Grob
65679fbcbb Features and fixes
* added the trace function for a SquareMatrix

* added Vector3.hat() and it's counterpart Dcm.vee()
for skewsymskew symmetric matrix operations in relation to the cross product
see https://en.wikipedia.org/wiki/Hat_operator

* Matrix::write_string produced runtime errors when I used it in PX4 posix simulation, i simplified it

* a Matrix3f is a SquareMatrix

* added tests for SquareMatrix.trace, Vector3.hat and Dcm.vee

* added a test for quaternion initialisation from array

* preventing buffer overflows in Matrix.write_string method
2016-04-28 15:16:36 -04:00
Thomas Gubler
99ac532746 remove unnecessary ; 2015-12-26 12:07:12 +01:00
jgoppert
222a97e73f Merge ../Firmware/src/lib/matrix 2015-11-08 12:08:52 -05:00
jgoppert
5c573b075f Fixes for nuttx. 2015-11-08 12:08:19 -05:00
jgoppert
9b995e19f3 Added vector2. 2015-11-07 14:27:12 -05:00
jgoppert
1fb0f33eb4 Removed old references to matrix.hpp. 2015-11-07 11:08:17 -05:00
jgoppert
cefe7b3e80 Cleaned up header includes. 2015-11-05 19:25:44 -05:00
jgoppert
00a0b36836 Moved inverse outside of matrix definition. 2015-11-05 15:43:36 -05:00
jgoppert
5566b3dc77 expm testing and fixes. 2015-11-05 15:39:41 -05:00
jgoppert
9d88b0d573 Fix for gcc 4.6 2015-11-05 11:29:18 -05:00
jgoppert
bb6b375390 Travis fix. 2015-11-05 11:25:47 -05:00
jgoppert
5b0ea675c3 Fixed float in square matrix. 2015-11-05 11:23:54 -05:00
jgoppert
0062cbcbe2 Added more warnings, and fixed issues. 2015-11-05 11:17:54 -05:00
jgoppert
52956e360a Added filtering test. 2015-11-04 20:43:22 -05:00
jgoppert
b2e9e1e3c7 Added kalman filter. 2015-11-04 18:58:29 -05:00
jgoppert
18f80462b7 Got coverage working for templates. 2015-11-04 12:11:32 -05:00