Michael du Breuil
ceb0a9c827
AP_Airspeed: Rearrange state to save memory
...
Saves 8 bytes per airspeed sensor (2 backends for 8 total), and removes
the unneeded width specifier, which has no impact on used memory, and
saves us 88 bytes of flash because we don't have to do work to shift the
bits around.
5 years ago
Andrew Tridgell
40f1b5f9ae
AP_Airspeed: use GCS_SEND_TEXT()
5 years ago
Peter Barker
6046aa3625
AP_Airspeed: rename APMrover2 to Rover
5 years ago
Andrew Tridgell
0f6f684bab
AP_Airspeed: expose get_corrected_pressure()
...
needed for AP_Periph
5 years ago
Andrew Tridgell
b5e091bc84
AP_Airspeed: hide unused parameters for AP_Periph
5 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
2e5fe75aa7
AP_Airspeed: use take_blocking instead of HAL_SEMAPHORE_BLOCK_FOREVER
...
this makes for cleaner and smaller code as the failure case is not
needed
5 years ago
Peter Barker
41d34e9f88
AP_Airspeed: add missing break statement
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
Peter Barker
f407e0dd55
AP_Airspeed: correct example; need instantiated AHRS for windspeed_max
5 years ago
Andrew Tridgell
f51378f2e8
AP_Airspeed: enable for use in AP_Periph
5 years ago
liang
8de44ec319
AP_Airspeed: protect sample timestamp while get data
5 years ago
Peter Barker
9197ebc3b2
AP_Airspeed: examples: var_info is now in GCS_MAVLINK_Parameters
6 years ago
Andrew Tridgell
c173f8e24d
AP_Airspeed: support both 5inH2O and 10inH2O versions of DLVR sensor
...
useful for faster aircraft
6 years ago
Andrew Tridgell
1ffc2cbe41
AP_Airspeed: allow setting of default airspeed pin
6 years ago
Peter Barker
ef8baf28ad
AP_Airspeed: clarify mavlink packet assembly is re-ordered field order
...
This makes it clear that the fields must be arranged according to the
order in the header file rather than that in the message definition
6 years ago
Peter Barker
00cfea03bc
AP_Airspeed: add missing includes for AHRS
6 years ago
Peter Barker
04ebb9de0b
AP_Airspeed: use send_to_active_channels for airspeed_autocal
6 years ago
Michael du Breuil
e43605cc9b
AP_Airspeed: Remove a number of unneeded top level includes
6 years ago
Jaaaky
061b4b7e70
AP_Airspeed: convert to unix style end-of-line
6 years ago
Michael du Breuil
157a3b1e34
AP_Airspeed: Fix AP_GPS.h include and use the singleton
6 years ago
Peter Barker
5cfba85095
AP_AirSpeed: take EAS2TAS directory from baro; use for all backends
...
Plane was only setting EAS2TAS in the primary frontend; calibration
expected it to be set on each instance.
6 years ago
Andrew Tridgell
03fb0b803b
AP_Airspeed: removed unusued AP_Common/Semaphore.h
6 years ago
murata
295c343959
AP_Airspeed: Commonize the CRC4 method
6 years ago
Andrew Tridgell
bbe4c92b58
AP_Airspeed: skip cal on watchdog reset
6 years ago
Michael du Breuil
a2ac0875a7
AP_Airspeed: Fix race condition in SDP3X leading to garbage data
6 years ago
Peter Barker
f0379ff7f0
AP_Airspeed: move logging of ARSP into Airspeed library
6 years ago
Peter Barker
59ef486da0
AP_Airspeed: add AP::airspeed() to get airspeed singleton
6 years ago
Peter Barker
4ab13b37ac
AP_Airspeed: logger uses the singleton for logging airspeed now
6 years ago
Sagnik Bhattacharya
eddeea18de
AP_Airspeed: add more comments to example
6 years ago
Tom Pittenger
e67b6e15fa
AP_Airspeed: rename dataflash to logger
6 years ago
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