Andrew Tridgell
|
9f0cb78f08
|
AP_Math: re-work quaternion functions to be more C++ like
thanks to Adam for the suggestion!
|
13 years ago |
Andrew Tridgell
|
289c64c0b9
|
Math: added vector3.rotate() and matrix3.rotation() methods
these operate on a "enum Rotation" which defines a set of standard
rotations. These are much faster than our previous method, plus use
less memory
|
13 years ago |
Andrew Tridgell
|
4d65cda0ea
|
AP_Math: added quaternion->matrix and earth frame routines
this will be used for 3d acceleration
|
13 years ago |
Andrew Tridgell
|
c7d5f06b21
|
AP_Math: added quaternion helper functions and a test suite
|
13 years ago |
Andrew Tridgell
|
16ed8bc8f6
|
AP_Math: added rotmat <-> euler functions
these will make the dcm matrix manipulation easier to understand
|
13 years ago |
Andrew Tridgell
|
17d16bc8c6
|
AP_Math: added safe_sqrt() function
this function will never return NAN. It will return zero for negative
numbers.
|
13 years ago |
Andrew Tridgell
|
502fbf6e17
|
AP_Math: added a safe_asin() function
this adds range checking to asin()
|
13 years ago |
Andrew Tridgell
|
882cd4ea83
|
AP_Param: moved AP_Vector3f and AP_Matrix3f declarations to AP_Math.h
this avoids us needing AP_Math.h in every utility sketch and example
|
13 years ago |
Andrew Tridgell
|
62e92f406e
|
AP_Math: make out vector and matrix elements used types with fixed sizes
this prevents differences between CPU types
|
13 years ago |
Andrew Tridgell
|
117a98f9a2
|
AP_Math: added a Polygon_outside() function
this tests if a point is outside of a polygon. This will be used as
part of our geo-fencing support, and also for a new 'fenced mode'
|
13 years ago |
DrZiplok@gmail.com
|
097161cd8d
|
Beginnings of a math library for ArduPilot(Mega) systems.
|
15 years ago |