Peter Barker
c25ce2cee8
AP_AirSpeed: move sending of airspeed_autocal into AP_AirSpeed
6 years ago
duran9dv
8d4215fd82
Update AP_Airspeed_MS4525.cpp
...
update airspeed sensor to read and work with Pixhawk 4 adding { 3, MS4525D0_I2C_ADDR }, to the code
6 years ago
Peter Barker
7a674254e5
AP_Airspeed: uavcan: reindent after WITH_SEMAPHORE change (NFC)
6 years ago
Peter Barker
c96cdf1f16
AP_Airspeed: uavcan: use WITH_SEMAPHORE in place of give/take _registry
6 years ago
Tom Pittenger
0c32453505
AP_Airspeed: unify singleton naming to _singleton and get_singleton()
6 years ago
Tom Pittenger
95c903c7cf
AP_Airspeed: disable airspeed (_TYPE=0) as rover default
6 years ago
Tom Pittenger
74299906b1
AP_Airspeed: log health failure probability
6 years ago
ChrisBird
c9af223579
AP_Airspeed: Renaming the check method name and readding the overall option check. This will set it up for future options.
6 years ago
Tom Pittenger
1a04a540f5
AP_Airspeed: convert the defines into static consts
...
- also perform logging at end of update
- convert Options Mask into an enum
6 years ago
ChrisBird
d77906cb06
AP_Airspeed: This adds the ability to turn off and on the airspeed sensor if faulty.
6 years ago
Nathan E
0401078694
Update AP_Airspeed.cpp
6 years ago
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
TsuyoshiKawamura
8faadc2ebb
AP_Airspeed: removed #include duplicates
6 years ago
DOMINATOR\Eugene
d3eb24bc01
AP_Airspeed: Temperature conversion in consistence with other libraries
6 years ago
DOMINATOR\Eugene
c81f9e6baa
AP_Airspeed: update data with logging
6 years ago
Andrew Tridgell
fe064a2d4e
AP_Airspeed: use WITH_SEMAPHORE()
...
and removed usage of hal.util->new_semaphore()
6 years ago
Michael du Breuil
88aa20d691
AP_Airspeed: Make user facing messages clearer, improve handling of bad tube order
6 years ago
liang.tang
653766c4cc
AP_Airspeed: uavcan airspeed supported
7 years ago
liang.tang
f4a8006333
AP_Airspeed: fix spd3x correct pressure issue
7 years ago
Michael du Breuil
f2b4e06a1a
AP_Airspeed: Add 5"H2O DLVR differential sensor driver
7 years ago
Michael du Breuil
6225f51815
AP_Airspeed: Remove APM doc references
7 years ago
Michael du Breuil
fc44f693e5
AP_Airspeed: Remove unused ADC include
7 years ago
Michael du Breuil
57f3e9cd88
AP_Airspeed: Remove unused ADC include
7 years ago
Andrew Tridgell
8a2f1fdb3d
AP_Airspeed: fixed airspeed filtering issue
...
this fixes an issue where an airspeed sensor that becomes unhealthy
can have an undue effect after the sensor becomes healthy again.
In a recent flight log the MS4525 airspeed sensor went unhealthy for a
few seconds, and at the same time gave a reading of 12m/s. The plane
was flying at 24m/s. While the sensor was unhealthy the code correctly
switched to the airspeed estimate, which was fine.
When the airspeed sensor become healthy again the IIR filter in
AP_Airspeed meant that the speed read at 12m/s initially, then came up
to 24m/s over a couple of seconds. This caused the VTOL motors to come
on for a few seconds.
7 years ago
Michael du Breuil
abd5bffda5
AP_Airspeed: Clean up some comments, prevent a potential out of range access
7 years ago
Patrick José Pereira
237101a50e
AP_Airspeed: Use SSL air density
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Michael du Breuil
f6624cc8b2
AP_Airspeed: Use named float wrapper
7 years ago
Peter Barker
30f944b921
AP_AirSpeed: notify of calibration start
7 years ago
Michael du Breuil
a46c60f4de
AP_Airspeed: Create a singleton
7 years ago
Tom Pittenger
b1a4540359
Revert "AP_Airspeed: blending of several sensors and failure recognition"
...
This reverts commit 26c7614118
.
7 years ago
Eugene Shamaev
26c7614118
AP_Airspeed: blending of several sensors and failure recognition
7 years ago
Peter Barker
a7647e77d9
AP_Airspeed: fix compiler warnings
...
In file included from
../../libraries/AP_Airspeed/AP_Airspeed_SDP3X.cpp:21:
../../libraries/AP_Airspeed/AP_Airspeed_SDP3X.h:57:11: warning: private
field '_temperature' is not used [-Wunused-private-field]
float _temperature;
^
../../libraries/AP_Airspeed/AP_Airspeed_SDP3X.h:58:11: warning: private
field '_pressure' is not used [-Wunused-private-field]
float _pressure;
7 years ago
David Ingraham
2547ca399a
AP_Airspeed: Fix ARSPD2_TYPE docs
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
Michael du Breuil
5fedc65efb
AP_Airspeed: Allow specifying the MS5525 address
7 years ago
Andrew Tridgell
55f73f4163
AP_Airspeed: fixed timing errors in MS5525 driver
...
this fixes issue #7188 , where we could read from the MS5525 sensor too
soon after requesting data and the result coming back would be garbage
7 years ago
Hiroshi Takey (hiro2233)
fb5b6f2169
AP_Airspeed: Updated Airspeed example.
7 years ago
Andrew Tridgell
8c1cf9affe
AP_Airspeed: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
7 years ago
Peter Barker
1e512338f9
AP_AirSpeed: clarify comment
7 years ago
Lucas De Marchi
69b6d95cb2
global: use static method to construct AP_Board_Config{,_CAN}
7 years ago
Andrew Tridgell
2c68b5dac3
AP_Airspeed: fixed airspeed autocal
...
don't use negative pressures
7 years ago
Mark Whitehorn
f32f51f843
AP_Airspeed: eliminate airspeed positive bias
7 years ago
Lucas De Marchi
e2e836f676
AP_Airspeed: use FALLTHROUGH define
...
When falling through on a case switch, allow to add an empty statement
with the correct attribute to tell the compiler this behavior is
intended.
8 years ago
Francisco Ferreira
d3ed4420e6
AP_Airspeed: remove unused MS4525D0_I2C_BUS macro
8 years ago
Vinicius Juvinski
78deddabda
AP_Airspeed: MS4525: Add support to I2C Bus 2
...
BBBMini use I2C Bus number 2 and MS4525 just use up to bus 1, so I
addedd this bus 2 to address struct.
8 years ago
Peter Barker
3214b48f8c
AP_AirSpeed: eliminate GCS_MAVLINK::send_statustext_all
8 years ago
Andrew Tridgell
7b73004882
AP_Airspeed: added ARSPD_USE=2 for gliders
8 years ago
Pierre Kancir
3f4a3e535b
AP_Airspeed: example fix travis warning
...
missing function declaration
implicit cast
some style fix
8 years ago