Jonathan Challinger
3befe74afa
AP_Math: change quaternion class to use const references where optimal
10 years ago
Jonathan Challinger
1f7e393e38
AP_Math: refactor quaternion library
10 years ago
Andrew Tridgell
689f230d40
AP_Math: added quaternion.from_rotation_matrix()
11 years ago
Andrew Tridgell
90c41981ac
AP_Math: added quaternion normalization
11 years ago
Andrew Tridgell
96df09fd08
AP_Math: add const to quaternion API
11 years ago
James Bielman
5631f865b2
Update floating point calculations to use floats instead of doubles.
...
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
12 years ago
uncrustify
424baf3f29
uncrustify libraries/AP_Math/quaternion.cpp
13 years ago
Andrew Tridgell
d948a28e7c
Math: change signs in quaternion library
...
thanks to Justin for the suggestion
13 years ago
Andrew Tridgell
5c6368bad3
AP_Math: allow null pointers in Quaternion::to_euler()
...
this matches the Matrix3f method
13 years ago
Andrew Tridgell
9f0cb78f08
AP_Math: re-work quaternion functions to be more C++ like
...
thanks to Adam for the suggestion!
13 years ago