James Goppert
34fccdd680
add renormalize method ( #32 )
8 years ago
James Goppert
3aeb099249
Revert "Use Hamilton quaternion definition."
...
This reverts commit 19554c4470
.
9 years ago
James Goppert
0eb8aa0c0b
Support more of mathlib function for easier swap in px4.
9 years ago
James Goppert
558777f34c
Fix formatting.
9 years ago
James Goppert
262a715d90
Fix some when building in px4.
9 years ago
James Goppert
6197515a51
Fix shadow warnings.
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
cbb7e06a1f
Replace float with Type in kalman.
9 years ago
James Goppert
9353e4cb64
Fix bugs in axis angle.
9 years ago
James Goppert
7b7297b674
Fix for ctor comments on axis angle.
9 years ago
James Goppert
0b1bed6b00
Added deprecation warnings in source code.
9 years ago
James Goppert
0f41af271a
Added axis angle attitude representation. ( #25 )
9 years ago
Beat Küng
b1f76782f6
Euler, Quaternion: fix compiler errors for GCC 6.1.1 ( #23 )
...
* Euler, Quaternion: fix compiler errors for GCC 6.1.1
GCC output:
error: implicit conversion from ‘float’ to ‘double’ to match other operand
of binary expression [-Werror=double-promotion]
* astyle: fix formatting for Euler.hpp & Quaternion.hpp
9 years ago
Roman
eeb595d1db
applied formatting
9 years ago
Roman
f4e2b21608
- better description for quaternion class
...
- revert conversion functions to constructor
9 years ago
Andreas Bircher
81eacb0cfa
removing body and intertial frame expressions and establishing consistency
9 years ago
Roman
4a405e7f60
make it clear that we are using right hand rotation convention
9 years ago
Roman
10c1b49bde
fix typo
9 years ago
Roman
1033e145a5
fix some typos and better explanation of quaternion ordering
9 years ago
Roman
2b3bdb523d
better description for quaternion class
9 years ago
Roman
3152d3d6cf
better function descriptions for rotation classes:
...
- do not talk specifically about body or earth frame, just use frame 1 and frame 2
9 years ago
Andreas Bircher
e3a1d67444
adding detailed comments on rotation classes
9 years ago
Andreas Bircher
af2e6d952e
correcting comments
9 years ago
Andreas Bircher
34e6e2a941
refactoring rotation classes and adding initial description
9 years ago
jaredkw
3509329f30
Define M_PI float, change logical and to &&
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
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
9 years ago
James Goppert
07fba8322a
Fix for effective cpp.
9 years ago
James Goppert
711b57d2d4
Added unit function that returns normalized vector.
9 years ago
James Goppert
0e14e11183
Added support for attitude_estimator_q functions.
9 years ago
James Goppert
6c04605531
Added conversion for scalar to vector.
9 years ago
James Goppert
2d27cd79d3
Added scalar to matrix conversion.
9 years ago
James Goppert
6974f97b1c
Added scalar const conversion operator.
9 years ago
James Goppert
7b969094cb
Fix for scalar type.
9 years ago
James Goppert
15865897d5
Added pow.
9 years ago
mcsauder
46c83a8c18
Correct a few indexing copy/paste errors that likely previously only functioned properly on square matrices.
9 years ago
James Goppert
95e3d7d6ce
Added set function.
9 years ago
James Goppert
5a01e6c939
Added slice function for matrix.
9 years ago
James Goppert
1ae114b3d2
Improved rk4 integration to allow longer time interval than 1 step.
9 years ago
James Goppert
1778ac199c
Fixed euler wrapping.
9 years ago
James Goppert
a92d5c1338
Removed unneeded headers.
9 years ago
James Goppert
e639a3612f
Fix typo.
9 years ago
James Goppert
5aef810e7c
Fixed euler angles.
9 years ago
James Goppert
ffbe58ca10
Added better roundtrip euler test.
9 years ago
James Goppert
d761bd3721
Fixed formatting. Made traivs more verbose.
9 years ago
James Goppert
38211e1aff
Fix testing mechanism.
9 years ago
Mark Charlebois
306f0ac25d
Added dspal_math.h for missing constants
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
9 years ago
Lorenz Meier
48a3288753
Fix QuRT build
9 years ago