76 Commits

Author SHA1 Message Date
James Goppert
dd8ff8db12 Made coverage html output optional. 2016-05-09 12:13:00 -04:00
James Goppert
061609322a Added command line output for coverage. 2016-05-09 12:01:20 -04:00
James Goppert
155202f6b0 Found a few coverage gaps with local coverage testing. 2016-05-09 11:49:45 -04:00
James Goppert
8b7eae3b4a Merge branch 'maetugr-fix2' of https://github.com/MaEtUgR/Matrix into MaEtUgR-maetugr-fix2 2016-05-09 11:24:28 -04:00
James Goppert
bd8420fcf6 Added example of assignment to already created object. 2016-05-09 11:12:06 -04:00
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.
2016-05-05 13:18:51 +02:00
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
James Goppert
711b57d2d4 Added unit function that returns normalized vector. 2016-03-15 18:09:48 -04:00
James Goppert
0e14e11183 Added support for attitude_estimator_q functions. 2016-03-15 06:35:13 -04:00
James Goppert
2d27cd79d3 Added scalar to matrix conversion. 2016-02-26 05:56:21 -05:00
James Goppert
15865897d5 Added pow. 2016-02-26 03:39:04 -05:00
James Goppert
95e3d7d6ce Added set function. 2016-02-16 14:54:15 -05:00
James Goppert
5a01e6c939 Added slice function for matrix. 2016-02-16 12:22:08 -05:00
James Goppert
1ae114b3d2 Improved rk4 integration to allow longer time interval than 1 step. 2016-02-16 10:53:12 -05:00
James Goppert
ce30542dba Fix output for unit test. 2016-01-25 13:54:13 -05:00
James Goppert
1778ac199c Fixed euler wrapping. 2016-01-25 13:40:51 -05:00
James Goppert
5aef810e7c Fixed euler angles. 2016-01-24 01:50:34 -05:00
James Goppert
6e6033a1af Merge branch 'master' into euler_fix 2016-01-24 00:41:12 -05:00
James Goppert
b98ac75452 Formatting. 2016-01-24 00:39:59 -05:00
James Goppert
ffbe58ca10 Added better roundtrip euler test. 2016-01-24 00:39:21 -05:00
James Goppert
20a1f902b1 Merge branch 'master' into euler_fix
Conflicts:
	.travis.yml
	test/attitude.cpp
2016-01-23 23:56:35 -05:00
James Goppert
0969b0ae56 Removed uncessary print. 2016-01-23 23:35:44 -05:00
James Goppert
d761bd3721 Fixed formatting. Made traivs more verbose. 2016-01-23 23:33:25 -05:00
James Goppert
38211e1aff Fix testing mechanism. 2016-01-23 23:26:26 -05:00
James Goppert
fa31c61f2c Fix for euler. 2016-01-14 15:24:37 -05:00
James Goppert
f1968f51d6 Fixed coverage issues. 2016-01-12 01:28:48 -06:00
James Goppert
cc800454d2 Formatting. 2016-01-11 22:05:34 -06:00
James Goppert
684a6b626d Merge branch 'quaternion'
Conflicts:
	test/attitude.cpp
2016-01-11 21:59:28 -06:00
Thomas Gubler
45e6012818 matrix scalar pre multiplication and general scalar multiplication for
quaternions
2015-12-26 13:15:39 +01:00
Roman
10b395a782 added more quaternion methods 2015-12-19 09:47:03 +01:00
jgoppert
9cd6ac3dd9 Fixed coverage. 2015-11-14 09:04:38 -05:00
jgoppert
dc0eb16880 Fixed integration test. 2015-11-14 09:01:09 -05:00
jgoppert
b9924820e1 Work on kalman filter interface. 2015-11-12 16:41:07 -05:00
jgoppert
0a110a1b02 Fixed integration test. 2015-11-12 15:15:31 -05:00
jgoppert
7656385ea1 Changed rk4 signature. 2015-11-12 10:19:30 -05:00
jgoppert
a334cecfa7 Forced function instantiation for coverage testing. 2015-11-12 10:07:09 -05:00
jgoppert
c29c44b450 Added more testing to instantiate some missing templates. 2015-11-12 09:44:30 -05:00
jgoppert
10b89a2594 Switching coverage upload mechanism. 2015-11-12 01:22:40 -05:00
jgoppert
42f2e60b24 Added runge kutta integration. 2015-11-11 23:31:43 -05:00
jgoppert
2c7a375e3d Fixed kalman correct test. 2015-11-09 19:58:00 -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
32839006f3 Implemented vector 3 cross product. 2015-11-05 20:22:17 -05:00
jgoppert
c70994e6a5 Formatting. 2015-11-05 18:10:06 -05:00
jgoppert
4a6369cee5 More coverage testing. 2015-11-05 18:07:05 -05:00
jgoppert
550108cf1d More testing. 2015-11-05 17:29:57 -05:00
jgoppert
75399fb15e Cleanup of printing. 2015-11-05 17:13:03 -05:00
jgoppert
455cb58ebf New tests. 2015-11-05 17:03:22 -05:00
jgoppert
6ff42b7b31 Added some more vectors tests. 2015-11-05 16:59:59 -05:00
jgoppert
7136e5b7d1 More work on gimbal lock case. 2015-11-05 16:54:19 -05:00