Gustavo Jose de Sousa
99fd585a54
AC_Sprayer: 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
Randy Mackay
1bf0139162
AC_Sprayer: init flags
...
Resolves warning from Coverity
10 years ago
Randy Mackay
ce2d0a14a6
AC_Sprayer: remove example sketch
...
This only tested compiling anyway
10 years ago
Randy Mackay
a5ec3e3ec1
AC_Sprayer: fix example sketch
10 years ago
Andrew Tridgell
5ec8ce933e
AC_Sprayer: updates for new AP_Baro API
10 years ago
Andrew Tridgell
31eeb657ca
AC_Sprayer: fixed example build
10 years ago
Andrew Tridgell
e2b813480f
AC_Sprayer: fixed example build
11 years ago
Randy Mackay
6a6482fb03
AC_Sprayer: fix example sketch
11 years ago
Andrew Tridgell
f75318ee0a
AC_Sprayer: fixed example build
11 years ago
Randy Mackay
10588d6d36
AC_Sprayer: append f to floating point constants
...
Reduces some compiler warnings
11 years ago
Randy Mackay
9b6a4e0fc7
AC_Sprayer: fix example sketch
11 years ago
Andrew Tridgell
1e9dcba3da
AC_Sprayer: fixed example build
11 years ago
Randy Mackay
889ee1bfef
AC_Sprayer: fix example sketch
11 years ago
Randy Mackay
35ef9c73d1
AC_Sprayer: minor comment fix
11 years ago
Andrew Tridgell
305c6e4b56
AC_Sprayer: fixed example build
11 years ago
Randy Mackay
2d202df98a
Sprayer: fixed example sketch
11 years ago
Randy Mackay
f56d00ebb6
AC_Sprayer: add doxygen info
11 years ago
Tobias
c62f2e3d0c
AC_Sprayer: replace unnecessary object with const ref
11 years ago
Tobias
e2c3ea0f56
AC_Sprayer: add consts, update comments
...
* removed some comments that were left over from the classes this class
was copypasta'ed from
11 years ago
Andrew Tridgell
e1aa6e3ff1
libraries: fixed examples for no flash_leds() callback
12 years ago
Randy Mackay
ac98644405
Sprayer: minor change to flags type
12 years ago
Randy Mackay
5e7a6b3b98
Sprayer: add pump min rate and test
...
If pump is enabled while copter is disarmed it will spray as if
travelling at 1m/s
12 years ago
Randy Mackay
c7464f635c
AC_Sprayer: turn on/off the spinner with the pump
12 years ago
Randy Mackay
e4ca7d2fdf
AC_Sprayer: first implementation
12 years ago