Tom Pittenger
f5bf98041e
AP_ADSB: do not spam to all mavlink ports, require the transceiver health heartbeat
9 years ago
Tom Pittenger
b6e25e7d64
AP_ADSB: add support for ADSB transceiver mavlink packets
9 years ago
Tom Pittenger
2223216ca2
AP_ADSB: add param ADSB_LIST_RADIUS to ignore distant aircraft
9 years ago
Tom Pittenger
454560ca4c
AP_ADSB: organize variables into in_state and avoid_state structs
9 years ago
Tom Pittenger
37f990bfad
AP_ADSB: allow param based VEHICLE list sizes, 1 to 100.
9 years ago
Tom Pittenger
746e2211e9
AP_ADSB: remove extra include
9 years ago
Tom Pittenger
4cd1721bf9
AP_ADSB: add ADSB_streamrate
9 years ago
Tom Pittenger
8036912173
AP_ADSB: clarified some minor logic
9 years ago
Tom Pittenger
ad81e56a64
AP_ADSB: allow buffer to add to the max, instead of one less than the max
9 years ago
Lucas De Marchi
5047f2b6f8
AP_ADSB: replace header guard with pragma once
9 years ago
Tom Pittenger
4e4c1831f0
AP_ADSB: added guided mode handling
9 years ago
Tom Pittenger
d003e24189
AP_ADSB: fix unit conversion
9 years ago
Tom Pittenger
87fccce9e2
AP_ADSB: update units for new mavlink msg
9 years ago
Tom Pittenger
decac5cb15
AP_ADSB: delete furthest when buffer is full
...
- added lowest/highest_threat tracking. This is currently defined as 2D distance. Room for improvement to make it 3D and be flight vector based instead of distance
- when trying to add a vehicle but the buffer is full, overwrite the lowest_threat/furthest
- added basic THREAT enum of high/low which means in or our of the 200m radius. Room for improvement here.
9 years ago
Tom Pittenger
f60f0e80c3
AP_ADSB: update msg sizeof comment
9 years ago
Randy Mackay
9e74222a3a
ADSB: minor update to parameter descriptions
...
Also minor format fixes
9 years ago
Andrew Tridgell
e80ca592c4
AP_ADSB: update for new message format
9 years ago
Andrew Tridgell
ce1b68cce8
AP_ADSB: ensure stack allocation Location is initialised
9 years ago
Andrew Tridgell
f9e865ef5e
AP_ADSB: don't disable ADSB permanently on init fail
...
we may be low on memory on only this boot
9 years ago
Tom Pittenger
426e40d30e
AP_ADSB: new ADS-B library support
...
- contains a list of ADS-B vehicles
- does threat analysis and sets a flag when threat is found
- dynamically allocated database, consumes 40*25 =1kB of RAM when param ADSB_ENABLE = 1
9 years ago