Gustavo Jose de Sousa
d42b132507
AP_Airspeed: 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
Andrew Tridgell
e66b56970e
AP_Airspeed: convert example from .pde to .cpp
10 years ago
Randy Mackay
2a6421d1bf
Airspeed: fix example sketch
10 years ago
Andrew Tridgell
c565d3b805
AP_Airspeed: fixed example build
10 years ago
Randy Mackay
293eb74a37
AirSpeed: fix example sketch
10 years ago
Andrew Tridgell
258542b939
AP_Airspeed: added ARSPD_SKIP_CAL parameter
...
allows airspeed calibration to be skipped for easier startup
10 years ago
Andrew Tridgell
f6f51ceebe
AP_Airspeed: fixed example build
11 years ago
Andrew Tridgell
c1646fec73
AP_Airspeed: fixed example build
11 years ago
Andrew Tridgell
0f7e78e418
Airspeed: fixed example to setup pin
11 years ago
Andrew Tridgell
dbd8f4b735
AP_Airspeed: fixed example build
11 years ago
Randy Mackay
c18b3f6094
AP_Airspeed: fix example sketch
11 years ago
Andrew Tridgell
a339ec25c8
AP_Airspeed: fixed example build
11 years ago
Andrew Tridgell
291369db7f
AP_Airspeed: split up airspeed driver
...
this gives us separate backends for PX4, analog and I2C. This allows
the MS airspeed sensor to work on Linux, and it should work on APM2 as well.
12 years ago
Andrew Tridgell
2e742582e4
AP_Airspeed: changed to AP_Vehicle.h
...
also allow updates to ARSPD_RATIO from user while autocal is running
12 years ago
Andrew Tridgell
97b7130bb9
libraries: update license header to GPLv3
...
we switched to GPLv3 a long time ago, but neglected to update the
per-file license headers
12 years ago
Andrew Tridgell
69c8df3326
AP_Airspeed: fixed example build
...
removed Airspeed_Calibration test, as it is not useful
12 years ago
Andrew Tridgell
98d6331387
AP_Airspeed: fixed example build
12 years ago
Randy Mackay
6cd18868c2
AirSpeed: fix example sketch compile error
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
Andrew Tridgell
53105efbcd
HAL_AVR: more uart0 -> console changes
12 years ago
Pat Hickey
dfc8e91fd3
AP_Airspeed: port to 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
e4c8eaa181
AP_Airspeed: fixed constructor compile error in example sketch
13 years ago
uncrustify
3c2873b4f5
uncrustify libraries/AP_Airspeed/examples/Airspeed/Airspeed.pde
13 years ago
Andrew Tridgell
feb456de56
Airspeed: Added AP_Airspeed sensor library
...
this will allow an airspeed sensor object to be passed to AHRS for
dead reckoning
13 years ago