43 Commits (e0c2a45eec133be7ccf32c9289ebfd800642ba51)

Author SHA1 Message Date
Randy Mackay e892bbbac0 AP_Math: add Vector3f::distance_to_segment 8 years ago
Randy Mackay e6328c350d AP_Math: add Vector3f::distance_squared 8 years ago
Mathieu OTHACEHE 152edf7189 Global: remove mode line from headers 8 years ago
Peter Barker 779f78d471 AP_Math: vector3 perpendicular function 9 years ago
Gustavo Jose de Sousa 3b05ec1157 AP_Math: make vectors and matrix constructors constexpr 9 years ago
Ricardo de Almeida Gonzaga 481e3a2af6 AP_Math: Fix typos 9 years ago
Lucas De Marchi ab1fa4b435 AP_Math: reorganize headers 9 years ago
Ricardo de Almeida Gonzaga 5bd034a5a8 Global: start using cmath instead of math.h 9 years ago
Lucas De Marchi b4a8a0b961 AP_Math: replace header guard with pragma once 9 years ago
Peter Barker 80bc7a50d7 AP_Math: define MATH_CHECK_INDEXES 9 years ago
Jonathan Challinger 7ed8b3814f AP_Math: add rotate_inverse to Vector3 9 years ago
Lucas De Marchi fb28f426da AP_Math: remove check for AVR CPUs 9 years ago
Tom Pittenger bdda11b327 AP_Math: compiler warning: is_zero special case for vector3.h in a template 10 years ago
Grant Morphett 300a02f4e4 AP_Math: Changes to fix the warnings in rover sitl build. 10 years ago
Niels Joubert 879eb5936b AP_MATH: Adding WGS GPS conversions, CRC16 checks, and double-precision Vectors and Matrices 11 years ago
Andrew Tridgell 4c99d09265 AP_Math: fixed build of vectorN class on PX4 11 years ago
Andrew Tridgell 2c1e0ba130 AP_Math: added vectorN class, and index checking 11 years ago
Andrew Tridgell 828eed1984 AP_Math: allow vector3 and matrix3 objects to be used as arrays 11 years ago
Andrew Tridgell db400ffa51 AP_Math: added is_zero() method to Vector3 11 years ago
Andrew Tridgell d2deee07df AP_Math: fixed zero function for integer vectors 11 years ago
Andrew Tridgell 97b7130bb9 libraries: update license header to GPLv3 12 years ago
Andrew Tridgell 468e55d425 AP_Math: added two new vector/matrix ops for kalman airspeed filter 12 years ago
Andrew Tridgell 5024da2695 AP_Math: fixed indent-tabs-mode 12 years ago
Andrew Tridgell 43c3c60de2 AP_Math: moved a lot of vector templates to cpp from .h 12 years ago
James Bielman 5631f865b2 Update floating point calculations to use floats instead of doubles. 12 years ago
uncrustify 57d4db2be4 uncrustify libraries/AP_Math/vector3.h 13 years ago
Andrew Tridgell 468dfe3faa AP_Math: the windows arduino build is missing acosf() 13 years ago
Andrew Tridgell dd200cba31 Math: added location functions to math library 13 years ago
Andrew Tridgell c30b0d85a3 Math: moved more template functions to the .cpp files 13 years ago
Andrew Tridgell 289c64c0b9 Math: added vector3.rotate() and matrix3.rotation() methods 13 years ago
Andrew Tridgell f5e6dc0757 Math: added is_inf() on vector3f 13 years ago
Andrew Tridgell 145fc91701 AP_Math: added a .zero() method to Vector3f 13 years ago
Andrew Tridgell 17170da96e AP_Math: added is_nan() methods to vector3f and matrix3f 13 years ago
Andrew Tridgell 62e92f406e AP_Math: make out vector and matrix elements used types with fixed sizes 13 years ago
jasonshort 7521ceed61 Vector3<T>() { x = y = x = 0; } 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
DrZiplok@gmail.com 7721e622aa Rather than subclassing from the templated classes, just typedef directly to them. 15 years ago
DrZiplok@gmail.com ac2e14c4ec Remove a bunch of probably wrong const cruft. Ditch the dubious array index operators from vector2. 15 years ago
DrZiplok@gmail.com 815e5f871a Remove the trivial operator= implementations, the default shallow copy is fine. 15 years ago
DrZiplok@gmail.com 646045ef44 Some minor fixes prompted while looking at the code for other reasons. 15 years ago
DrZiplok@gmail.com 097161cd8d Beginnings of a math library for ArduPilot(Mega) systems. 15 years ago