Commit Graph

65 Commits

Author SHA1 Message Date
Peter Barker 6368ec4bd5 AP_ADSB: adjust MAVLink backend to use Loc _my_loc 2023-11-07 10:30:04 +11:00
Peter Barker b3ff88c519 AP_ADSB: avoid using GPS and RTC libraries in backend
instead, add fields to canonical AP_ADSB location "_my_loc" to hold all of the information backends might want.  This will allow consistent presentation of data regardless of backend type, and for the sources of the information to change more easily.
2023-11-07 10:30:04 +11:00
Peter Barker 37109e649e AP_ADSB: create an enum class for logging 2023-11-01 23:11:05 +11:00
Mykhailo Kuznietsov cfeaf47239 AP_ADSB: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Peter Barker d8eafc7a51 AP_ADSB: remove unused get_transceiver_status method 2023-09-05 09:59:23 +10:00
Tom Pittenger 35daf81c27 AP_ADSB: create AP_ADSB_config.h 2023-01-31 11:11:26 +11:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Iampete1 cb6e6c82e5 AP_ADSB: params always use set method 2022-08-03 13:43:48 +01:00
Chuck Faber c0b2b679a1 AP_ADSB: Added Sagtetech MXS Driver and it's SDK 2022-06-14 07:10:17 -07:00
Tom Pittenger 0645aee865 AP_ADSB: Driver cleanup and refactor 2022-06-14 07:10:17 -07:00
Peter Barker d3563e72c8 AP_ADSB: tidy includes 2022-05-03 09:14:58 +10:00
Tom Pittenger 99912e9e0f AP_ADSB: UCP cleanup 2021-10-26 16:53:00 -07:00
nicholas-inocencio f4ff8859e4 AP_ADSB: I implement new mavlink packets ADSB_OUT_STATUS and ADSB_OUT_CONTROL 2021-10-26 16:53:00 -07:00
Tom Pittenger b9918cd0d5 AP_ADSB: added Ping200X driver /w UCP protocol 2021-08-19 17:49:27 +10:00
Patrick José Pereira 7e01935893 AP_ADSB: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Tom Pittenger 8e6278f269 AP_ADSB: add Sagetech XP driver 2020-12-30 17:56:38 -08:00
Tom Pittenger d780e66cc4 AP_ADSB: remove deinit() 2020-11-30 16:05:17 +11:00
Tom Pittenger e94697cb4c AP_ADSB: Allow for multiple backends in the future drivers 2020-11-30 16:05:17 +11:00
Tom Pittenger df90e28b89 AP_ADSB: move code to new uAvionix backend 2020-11-05 07:02:56 -08:00
Tom Pittenger f784fc7c5c AP_ADSB: create frontend/backend split 2020-11-05 07:02:56 -08:00
Tom Pittenger 7a09f88e83 AP_ADSB: refactor and renamed things and general cleanup for pre-backend split 2020-11-04 16:22:47 +11:00
Andy Piper af8542b5d6 AP_ADSB: conditionally compile based on HAL_ADSB_ENABLED 2020-10-07 19:11:38 +11:00
Tom Pittenger 8e1f5ec6cd Revert "AP_ADSB: create backend and add Sagetech driver" 2020-10-07 19:11:38 +11:00
Tom Pittenger b2eb3eb881 Revert "AP_ADSB: conditionally compile based on HAL_ADSB_ENABLED"
This reverts commit 465357e715.
2020-10-07 19:11:38 +11:00
Andy Piper 465357e715 AP_ADSB: conditionally compile based on HAL_ADSB_ENABLED 2020-09-22 09:33:51 +10:00
Tom Pittenger 3cc985332d AP_ADSB: create backend and add Sagetech driver 2020-09-15 13:09:50 -07:00
Andrew Tridgell df90cee8a0 AP_ADSB: added handle_adsb_vehicle() API
this allows for UAVCAN ADSB adapters
2019-10-16 13:13:24 +11:00
Andrew Tridgell 8650229ad4 AP_ADSB: added singleton interface 2019-10-16 13:13:24 +11:00
Peter Barker 13352a4ca7 AP_ADSB: move is_valid_octal to is_valid_callsign and add tests for it 2019-10-01 09:18:15 +10:00
Peter Barker 08623c1712 AP_ADSB: use ObjectBuffer in place of AP_Buffer 2019-09-24 09:36:33 +10:00
Pierre Kancir 78cd3cc722 AP_ADSB: pass mavlink_message_t by const reference 2019-07-16 20:51:42 +10:00
Peter Barker 90edc8b51a AP_ADSB: move include of AHRS to .cpp
Not used in header, helps fix include loops
2019-07-16 09:29:48 +10:00
IamPete1 20e6f6045d AP_ADSB: add logging 2019-03-28 14:19:01 -07:00
Tom Pittenger 8d6748dc4f AP_ADSB: add special vehicle that ignores range filters 2019-03-15 14:50:53 -07:00
Tom Pittenger 624d6b5490 AP_ADSB: add accessor to fetch a vehicle from database by icao 2019-03-15 14:50:53 -07:00
Tom Pittenger 6145711931 ADSB: add param ADSB_LIST_ALT to filter aircraft by altitude. default is disabled 2019-02-05 20:03:52 -07:00
Peter Barker 384ab476b4 AP_ADSB: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Tom Pittenger 657f515f40 AP_ADSB: add cfg_out passthrough parsing
- add param ADSB_SQUAWK
- add param ADSB_RF_CAPABLE
2018-05-23 14:02:45 -07:00
Peter Barker ae3099ef4b AP_ADSB: use AP::ahrs() singleton 2018-03-07 12:34:39 +00:00
Andrew Tridgell 6487a22acd AP_ADSB: 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
2017-12-14 08:12:28 +11:00
Lucas De Marchi cce51ec1c3 AP_ADSB: add static create method 2017-09-26 03:01:21 +01:00
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.
2016-10-24 09:42:01 -02:00
Tom Pittenger b6810006eb AP_ADSB: move mavlink msg handling into library 2016-08-16 16:33:36 -07:00
Tom Pittenger 2be32e9daa AP_ADSB: remove all threat logic in adsb lib in favor of avoidance lib 2016-08-01 15:27:40 -07:00
Tom Pittenger 89271c29ab AP_ADSB: move variable into struct like the rest 2016-08-01 15:27:38 -07:00
Tom Pittenger 59135fc615 AP_ADSB: fixed comment for default chan -1 means transceiver is not detected 2016-07-28 09:41:38 -07:00
Peter Barker 1cdb97e605 AP_ADSB: support for provision of samples to other libraries 2016-07-25 20:24:37 +09:00
Peter Barker 4639d12f0e AP_ADSB: break circular dependency with Avoidance 2016-07-25 20:24:37 +09:00
Tom Pittenger 9b390fcc1b AP_ADSB: add mavlink handlers 2016-07-22 13:55:20 -07:00
Tom Pittenger a5f256229f AP_ADSB: remove mavlink specific source, xml not ready yet 2016-07-21 00:04:17 -07:00