Andrew Tridgell
0bdd8231cf
AP_Airspeed: added ARSPD_OPTIONS bit for disabling voltage correction
...
if the MS4525 has its own LDO then we are should disable the
correction
4 years ago
Andrew Tridgell
ca1508b02e
AP_Airspeed: added DEVID parameters for airspeed
...
this makes log analysis easier
4 years ago
Andrew Tridgell
e6c7970a19
AP_Airspeed: support 3 I2C addresses for MS4525
...
and if bus number is configured then use only that bus number,
otherwise probe all buses as per existing behaviour
4 years ago
Andrew Tridgell
857d905d9f
AP_Airspeed: added MSP backend
4 years ago
Iampete1
2aff8787c1
AP_Airspeed: add NMEA water speed backend
4 years ago
Andrew Tridgell
1fac578b37
AP_Airspeed: 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
dafd030904
AP_Airspeed: switched to recursive semaphore
...
this is needed by the SDP3X driver. It is the simplest fix for the
issue
5 years ago
Andrew Tridgell
03fb0b803b
AP_Airspeed: removed unusued AP_Common/Semaphore.h
6 years ago
Andrew Tridgell
fe064a2d4e
AP_Airspeed: use WITH_SEMAPHORE()
...
and removed usage of hal.util->new_semaphore()
6 years ago
liang.tang
653766c4cc
AP_Airspeed: uavcan airspeed supported
7 years ago
Andrew Tridgell
58b0ac07ec
AP_Airspeed: support dual airspeed sensors
...
allow for a primary and secondary airspeed sensor
7 years ago
rde-mato
87e3777f67
AP_Airspeed: added SDP3X airspeed sensor driver
7 years ago
Andrew Tridgell
43bac678cd
AP_Airspeed: Added MS5525 airspeed driver
...
also improved averaging in MS4525 driver
8 years ago
Andrew Tridgell
14a1f559c7
AP_Airspeed: added ARSPD_TYPE and use standard driver backend methods
...
this will allow for new sensor types
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
ffe36afeb2
AP_Airspeed: replace header guard with pragma once
9 years ago
Lucas De Marchi
cc4504e613
AP_Airspeed: fix coding style
...
- replace tabs with spaces
- remove C-style void from function arguments
- use pragma once
- fix pointer alignement
- remove unused header: AP_Airspeed_I2C_PX4 - we actually use
AP_Airspeed_PX4
9 years ago
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
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
Mike McCauley
9bfc52d9af
HAL_FLYMAPLE: initial port to flymaple board
...
See libraries/AP_HAL_FLYMAPLE/FlymaplePortingNotes.txt
12 years ago
Andrew Tridgell
495c4bbbbe
AP_Notify: simplify interface to avoid timers and external calls
...
this changes AP_Notify to use updates via notify.update() at 50Hz,
avoiding the need for the 1kHz timer. It also creates a parent class
for ToshibaLED so that the I2C and PX4 ToshibaLED drivers can be
abstracted out.
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
12 years ago
Randy Mackay
2658cda4bc
Toshiba_LED_PX4: local #defines for led brightness
12 years ago
Randy Mackay
0c1db12538
AP_Notify: add ToshibaLED_PX4
12 years ago
Randy Mackay
a52b1831ca
AP_Notify: make flags static variable
12 years ago
Randy Mackay
54007854a9
Notify: add ToshibaLED
12 years ago