Gustavo Jose de Sousa
4790371f9b
AP_Math: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Lucas De Marchi
fb2eb262e7
AP_Math: use ARRAY_SIZE instead of defining another one
10 years ago
Andrew Tridgell
4d040bbb94
AP_Math: convert example from .pde to .cpp
10 years ago
Tom Pittenger
a5d2f3a82f
AP_Math: compiler warnings: float to double
10 years ago
Andrew Tridgell
eca675c556
AP_Math: fix for HAL_SITL rename
10 years ago
Randy Mackay
fecbf06008
AP_Math: fix example sketches
10 years ago
Tom Pittenger
a8dda9f2ed
AP_Math: fix compile warnings re float constants
10 years ago
Randy Mackay
689cc9e298
AP_Math: fix example sketch
10 years ago
Jonathan Challinger
cdd2199138
AP_Math: expand frame transformation test case for quaternions
10 years ago
Jonathan Challinger
70845882a7
AP_Math: fix up rotation test suite
10 years ago
Andrew Tridgell
917c9f7865
AP_Math: fixed example build
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
Andrew Tridgell
acd54d0826
AP_Math: fixed example build
11 years ago
Andrew Tridgell
2df314799e
AP_Math: added tests for quaternion to/from rotation matrix
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
Andrew Tridgell
a1187519a8
AP_HAL: use AP_HAL_BOARD_DRIVER in remaining test sketches
12 years ago
Pat Hickey
475da4eca4
CONFIG_HAL_BOARD - test sketches fixed up, build all passes
12 years ago
Pat Hickey
a4f1f6a5db
AP_Progmem: fix dependencies for all sketches touched by AP_HAL_AVR
12 years ago
Pat Hickey
7dbe198e5c
AP_Math: port to work on coreless arduino (AP_HAL)
12 years ago
Pat Hickey
3f1d9d7f69
AP_Param: #include <AP_Param.h> fixups for libraries & sketches
...
* I mostly went through with grep and added an #include <AP_Param.h> below
every #include <AP_Common.h>. Not all of these example sketches might
strictly need AP_Param.
12 years ago
rmackay9
56f88821e9
AP_AHRS: fix example sketch
...
AP_Airspeed: fix example sketch
AP_Baro: fix example sketch
AP_Declination: fix example sketch
AP_Math: fix example sketch
12 years ago
rmackay9
d6324b3964
AP_Math: fix compile errors example sketches
12 years ago
uncrustify
86627c9a9d
uncrustify libraries/AP_Math/examples/eulers/eulers.pde
13 years ago
Andrew Tridgell
22ff8cb197
examples: fixed build of some examples with new AP_Declination code
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
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
0ec9857689
Math: any euler angle with pitch > 90 is invalid
...
both DCM and quaternion always return pitch in the range -90 to 90
13 years ago
Andrew Tridgell
4d3789d11c
AP_Math: update the test suite
13 years ago
Andrew Tridgell
a92fb67b70
AP_Math: expanded the math test suite
13 years ago
Andrew Tridgell
c7d5f06b21
AP_Math: added quaternion helper functions and a test suite
13 years ago