57 Commits (807c4ced346862e0424f8df5768318fdbf18715a)

Author SHA1 Message Date
Andrew Tridgell 22ff8cb197 examples: fixed build of some examples with new AP_Declination code 13 years ago
Andrew Tridgell a6d66dc45b Math: added mul_transpose() operation 13 years ago
Andrew Tridgell fe55a76335 Math: moved matrix multiple operations to .cpp file 13 years ago
Andrew Tridgell 17fbb8ea26 Math: fixed the build of the eulers test in SITL 13 years ago
Andrew Tridgell 17f7292fe9 Math: added a test for the rotate() method 13 years ago
Andrew Tridgell c16b353ea7 Math: added rotate() method to Matrix3f 13 years ago
Andrew Tridgell 31e566475b Math: added zero() and identity() methods to Matrix3f 13 years ago
Andrew Tridgell d948a28e7c Math: change signs in quaternion library 13 years ago
Andrew Tridgell af9ce0cfc9 Math: allow eulers test to build with AP_Declination library 13 years ago
Andrew Tridgell 72a761170b Math: fixed build of eulers test on SITL 13 years ago
Andrew Tridgell 58a68c89d9 Math: added a function to combine standard rotations 13 years ago
Andrew Tridgell 0ec9857689 Math: any euler angle with pitch > 90 is invalid 13 years ago
Andrew Tridgell 4d3789d11c AP_Math: update the test suite 13 years ago
Andrew Tridgell 4422486d44 AP_Math: made rotation matrices more C++ 13 years ago
Andrew Tridgell 5c6368bad3 AP_Math: allow null pointers in Quaternion::to_euler() 13 years ago
Andrew Tridgell 9f0cb78f08 AP_Math: re-work quaternion functions to be more C++ like 13 years ago
Andrew Tridgell 55aa43a70d Math: added a test suite for the new rotation methods 13 years ago
Andrew Tridgell 289c64c0b9 Math: added vector3.rotate() and matrix3.rotation() methods 13 years ago
Andrew Tridgell a92fb67b70 AP_Math: expanded the math test suite 13 years ago
Andrew Tridgell 4d65cda0ea AP_Math: added quaternion->matrix and earth frame routines 13 years ago
Andrew Tridgell 8abbbe5713 AP_Math: better way of handling safe_sqrt() 13 years ago
Andrew Tridgell 1ec4c0777c Math: added comment on quaternion constructor 13 years ago
Andrew Tridgell f5e6dc0757 Math: added is_inf() on vector3f 13 years ago
Andrew Tridgell c7d5f06b21 AP_Math: added quaternion helper functions and a test suite 13 years ago
Andrew Tridgell 145fc91701 AP_Math: added a .zero() method to Vector3f 13 years ago
Andrew Tridgell 16ed8bc8f6 AP_Math: added rotmat <-> euler functions 13 years ago
Andrew Tridgell 17d16bc8c6 AP_Math: added safe_sqrt() function 13 years ago
Andrew Tridgell 502fbf6e17 AP_Math: added a safe_asin() function 13 years ago
Andrew Tridgell 17170da96e AP_Math: added is_nan() methods to vector3f and matrix3f 13 years ago
Andrew Tridgell 882cd4ea83 AP_Param: moved AP_Vector3f and AP_Matrix3f declarations to AP_Math.h 13 years ago
Andrew Tridgell 11b8d56434 added comment in polygon code 13 years ago
Andrew Tridgell e7568db237 fixed comment 13 years ago
Andrew Tridgell 6efa2e53cb AP_Math: re-work polygon algorithm for perfect precision 13 years ago
Andrew Tridgell a3a0e5646f polygon: improve the speed and precision of the polygon algorithm 13 years ago
Andrew Tridgell 42522baf9f geofence: store fence points as int32_t 13 years ago
Andrew Tridgell 9b6bab8904 AP_Math: better polygon algorithm 13 years ago
Andrew Tridgell 62e92f406e AP_Math: make out vector and matrix elements used types with fixed sizes 13 years ago
Andrew Tridgell 85e295332f AP_Math: added Polygon_complete() function 13 years ago
Andrew Tridgell 117a98f9a2 AP_Math: added a Polygon_outside() function 13 years ago
James Goppert 0c7c508541 Optional recursion added. 14 years ago
James Goppert 5489b84f8e Improvements to cmake. 14 years ago
James Goppert d887a28b91 Added ArduBoat/ ArduRover/ and APO library. 14 years ago
unknown a4e001bbcf Adding CMake support 14 years ago
jasonshort 7521ceed61 Vector3<T>() { x = y = x = 0; } 14 years ago
DrZiplok@gmail.com f10cbb011f ::transposed does not change the matrix; make it const. 14 years ago
DrZiplok@gmail.com 75e78dabae Back out the memset optimisation. It helps with code size but causes inexplicable link-time failures (undefined references to __cxa_pure_virtual). 14 years ago
DrZiplok@gmail.com 290635b354 Minor code size optimisation; use memset to zero *this rather than explicitly assigning zero to the vector elements. Still not quite optimal for matrix3 as it gets three memsets, but still cheaper in terms of code size. 14 years ago
rmackay9@yahoo.com e930dacb4d AP_Math - initialise vector2 and vector3 x,y,z values to zero. Doug found (and I confirmed) that if vectors or matrices were declared in a function (i.e. a local variable), they would often have non-zero values. Global declarations don't have this problem - it's a C++ performance thing it seems. 14 years ago
rmackay9@yahoo.com 8708675b1f added constructor with 9 elements to matrix3.h 15 years ago
DrZiplok@gmail.com 7721e622aa Rather than subclassing from the templated classes, just typedef directly to them. 15 years ago