Gustavo Jose de Sousa
f18802bc46
AP_Baro: 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
beeb9173ea
AP_Baro: change for new PX4 paths
10 years ago
Andrew Tridgell
5bb57a31f7
AP_Baro: split into frontend/backend
...
this allows for support of multiple sensors on a board
10 years ago
Andrew Tridgell
8b794602d1
AP_Baro: make get_temperature() a const function
10 years ago
Andrew Tridgell
5280d8936d
AP_Baro: remove usage of hrt_absolute_time()
...
use a single time base in all code
11 years ago
Randy Mackay
76634ee8c3
Baro_PX4: use healthy flag
11 years ago
Andrew Tridgell
fc119d9b80
AP_Baro: cleaned up temperature and pressure units
...
thanks to Mike McCauley for pointing this out
12 years ago
Andrew Tridgell
395739dded
AP_Baro: simplify PX4 driver
...
we can now rely on queueing in NuttX driver
12 years ago
Andrew Tridgell
d7ec985029
AP_Baro_PX4: fixed baro driver to run at full rate
...
we were skipping samples due to a timer handling bug. It now checks
for new samples at 100Hz
12 years ago
Andrew Tridgell
f0469a21f2
AP_Baro: fixed timestamp on baro for PX4
...
milliseconds not microseconds
12 years ago
Andrew Tridgell
b9b3ef91a1
AP_Baro: added timer to PX4 driver
...
this gives us more samples when main sketch is reading slowly
12 years ago
Andrew Tridgell
6a5421a361
AP_Baro: ask for maximum poll rate for PX4
12 years ago
Andrew Tridgell
74f7b0f218
AP_Baro: added accumulate method to PX4 driver, and fixed scaling
12 years ago
Andrew Tridgell
aa64a41512
AP_Baro: removed debug line
12 years ago
Andrew Tridgell
4fe7ad6267
AP_Baro: added averaging to PX4 baro driver
12 years ago
Andrew Tridgell
dbcaa4cf3c
AP_Baro: average over multiple samples in PX4 baro driver
12 years ago
Andrew Tridgell
2ac6541526
AP_Baro: added PX4 barometer driver
12 years ago