Jonathan Challinger
0a701088d4
AP_Math: fix bug in Quaternion::operator*=
9 years ago
Andrew Tridgell
c9ec8b3f67
AP_Math: added O3 optimisation to core math libraries
...
this costs some flash space but speeds things up considerably
9 years ago
Andrew Tridgell
2a8f645d81
AP_Math: use matrix3 euler312 operations in quaternion library
10 years ago
Tom Pittenger
5f677c2b5b
AP_Math: float to double promotion via cos instead of cosf
10 years ago
Tom Pittenger
330e4126bb
Ap_Math: compile warnings: float to double. use atan2f instead of atan2
10 years ago
Jonathan Challinger
3812773485
AP_Math: make quaternion divide by zero protection more conservative
10 years ago
Jonathan Challinger
fb8da1b2d8
AP_Math: add get_euler_(roll|pitch|yaw) functions to quaternion
10 years ago
Tom Pittenger
10c933966b
AP_Math: fix compile warning re float constants
10 years ago
Jonathan Challinger
6baec4952b
AP_Math: add conversions to and from 3-1-2 euler angles
10 years ago
Jonathan Challinger
a1d4f40c16
AP_Math: change quaternion operator* and operator/ to const
10 years ago
Jonathan Challinger
07735fefa6
AP_Math: fix div by zero in quaternion
10 years ago
Paul Riseborough
255252f387
AP_Math: Fix bug in quaternion division
10 years ago
Paul Riseborough
17445d03f0
AP_Math: Add quaternion division
10 years ago
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