李孟晓
2822c30307
AP_Baro: added ICP201XX support
3 years ago
李孟晓
522f1fa6de
AP_Baro: add support for ICP101XX
3 years ago
Peter Barker
b863f8a331
AP_Baro: allow baro backends to be individually compiled out
3 years ago
Andrew Tridgell
75c789fc57
AP_Baro: added ExternalAHRS backend
4 years ago
Andrew Tridgell
d099af87b2
AP_Baro: renamed parameters and mark pressure and temperature readonly
...
this is ready for BARO parameter prefix
4 years ago
yaapu
ea53ce2a3f
AP_Baro: support for MSP barometer
4 years ago
Andrew Tridgell
978a7d2859
AP_Baro: added device IDs for barometers
...
this allows us to tell what barometers were detected in logs
5 years ago
Andrew Tridgell
322bad3fd9
AP_Baro: make all semaphores recursive
...
the cost is very similar and this prevents an easy coding error which
can occur on less used code paths
5 years ago
Andrew Tridgell
097519926d
AP_Baro: removed unusued AP_Common/Semaphore.h
6 years ago
Andrew Tridgell
e4e793b295
AP_Baro: use WITH_SEMAPHORE()
...
and removed usage of hal.util->new_semaphore()
6 years ago
Siddharth Purohit
5ef5537371
AP_Baro: move Baro UAVCAN subscribers and handlers to AP_Baro_UAVCAN
7 years ago
Andrew Tridgell
b2cc992e0c
AP_Baro: convert to use WITH_SEMAPHORE()
7 years ago
night-ghost
cb8a34f784
AP_Baro: added range filter to backend, use it in most sensors (thanks khancyr for style correction)
7 years ago
Peter Barker
1748e7cb0c
AP_Baro: make backends responsible for setting their health
...
This resolves a problem in SITL where the barometer would
not change value for prolonged period of time, making it
go unhealthy
8 years ago
Eugene Shamaev
331419a51e
AP_Baro: support for UAVCAN connected barometers
8 years ago
Andrew Tridgell
bedee31f61
AP_Baro: fixed semaphore and thread usage in baro drivers
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Lucas De Marchi
81a298c9c8
AP_Baro: reduce header scope
...
We don't need to expose to other libraries how each backend is
implemented. AP_Baro.h is the main header, included by other libraries.
Instead of including each backend in the main header, move them to where
they are needed. Additionally standardize the order and how we include
the headers.
The advantages are:
- Internals of each backend is not exposed outside of the
library
- Faster incremental builds since we don't need to recompile
whoever includes AP_Baro.h because a backend changed
9 years ago
Andrew Tridgell
5bb57a31f7
AP_Baro: split into frontend/backend
...
this allows for support of multiple sensors on a board
10 years ago