dgrat
726d7df710
AP_Math: add is_equal to compare floats
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
Tom Pittenger
a8dda9f2ed
AP_Math: fix compile warnings 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
Andrew Tridgell
728dbf24db
AP_Math: fixed vector inequality test
...
many thanks to cat888
fixes issue #2039
10 years ago
Grant Morphett
300a02f4e4
AP_Math: Changes to fix the warnings in rover sitl build.
...
We are starting the process of resolving all the warnings in the
ardupilot builds of all vehicles and platforms.
10 years ago
Jonathan Challinger
5f7480b740
AP_Math: change fast_atan2 to use atan2f on fast CPUs
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
Randy Mackay
689cc9e298
AP_Math: fix example sketch
10 years ago
Andrew Tridgell
fefdc37a4d
AP_Math: fixed warnings on bounds checking in quaternion
10 years ago
Andrew Tridgell
6bb4a8c361
AP_Math: make location_path_proportion() and location_passed_point() more efficient
...
the dot product is much more efficient than the trigonometry. Thanks
to Paul for the suggestion
10 years ago
Jonathan Challinger
9e5a30d5ba
AP_Math: change ROTATION_YAW_293_PITCH_68_ROLL_180 to ROLL_90
10 years ago
Andrew Tridgell
f38f86ab8c
AP_Math: added location_path_proportion()
...
this can be used for glide slope calculations
10 years ago
Andrew Tridgell
38c5f25c70
AP_Math: fixed example build
10 years ago
Andrew Tridgell
8d54368650
AP_Math: fixed build warning
10 years ago
Randy Mackay
503d14428d
AP_Math: add new rotation to example rotation sketch
10 years ago
Randy Mackay
3d2c9910b3
AP_Math: add yaw 293, pitch 68, roll 180 rotation
10 years ago
Jonathan Challinger
cdd2199138
AP_Math: expand frame transformation test case for quaternions
10 years ago
Jonathan Challinger
3befe74afa
AP_Math: change quaternion class to use const references where optimal
10 years ago
Jonathan Challinger
70845882a7
AP_Math: fix up rotation test suite
10 years ago
Jonathan Challinger
1f7e393e38
AP_Math: refactor quaternion library
10 years ago
Andrew Tridgell
184c4c8ac5
AP_Math: fixed example build
11 years ago
Andrew Tridgell
917c9f7865
AP_Math: fixed example build
11 years ago
Daniel Frenzel
b1a9d6bbcc
AP_Math: Using const references in matrix3
...
Signed-off-by: Daniel Frenzel <dgdanielf@gmail.com>
11 years ago
Andrew Tridgell
b92873cab1
AP_Math: prevent negative longitude scaling
...
for crazy locations
11 years ago
Andrew Tridgell
03dc27147e
AP_Math: port examples to Linux
11 years ago
Andrew Tridgell
aa5940c378
AP_Math: fixed example build
11 years ago
Niels Joubert
398f32d538
AP_Math: Comments on WGS coordinate conversions
11 years ago
David Dewey
17374ff5e8
AP_Math: fast_atan2
...
This is 126us per call vs 199us on the AVR. it is accurate to about
0.28 degrees
Committed by rmackay9 but contribution is from David Dewey
11 years ago
Andrew Tridgell
7e5a491f14
AP_Math: prevent a floating point exception
11 years ago
Andrew Tridgell
e566802bf3
AP_Math: fixed example build
11 years ago
Niels Joubert
879eb5936b
AP_MATH: Adding WGS GPS conversions, CRC16 checks, and double-precision Vectors and Matrices
11 years ago
Andrew Tridgell
9278685cdf
AP_Math: fixed location build on SITL
11 years ago
Andrew Tridgell
acd54d0826
AP_Math: fixed example build
11 years ago
Andrew Tridgell
009913ec60
AP_Math: make is_nan const for quaternion and add .zero() for vector2
11 years ago
Andrew Tridgell
599c3a8abf
AP_Math: added more operators to VectorN
11 years ago
Andrew Tridgell
2df314799e
AP_Math: added tests for quaternion to/from rotation matrix
11 years ago
Andrew Tridgell
689f230d40
AP_Math: added quaternion.from_rotation_matrix()
11 years ago
Andrew Tridgell
c1dff6aa65
AP_Math: fixed example build
11 years ago
Andrew Tridgell
1e0f3f5398
AP_Math: make to_euler() const
11 years ago
Andrew Tridgell
90c41981ac
AP_Math: added quaternion normalization
11 years ago
Randy Mackay
37cfbc9ad5
AP_Math: float versions of wrap_360 and wrap_180
11 years ago
Randy Mackay
a963ec7e3b
AP_Math: bug fix to wrap_360 and wrap_180
...
angles above 720deg and below 3200deg might not have been properly
wrapped.
wrap_360_cd could return 36000 when really this should be wrapped back
to zero.
11 years ago
Andrew Tridgell
93070a673e
AP_Math: fixed example build
11 years ago
Andrew Tridgell
0d174db05b
AP_Math: added equality operator for VectorN
11 years ago