nicholas-inocencio
c270c392c4
AP_ADSB: Style fixes
2024-10-31 15:28:34 -07:00
nicholas-inocencio
7a6031c746
AP_ADSB: Bugfixes and improvements to ping200X integration
...
AP_ADSB: uAvionix Transponder Status V3
+ Current version of ping200X sends the v1 status message periodically and the v3 status message in response to the transponder control message, so ardupilot needs to handle both gracefully; version 1 and version 3 are very different in structure and naively assuming one version over another will cause errors.
AP_ADSB: Process additional xpdr status v3 fields
AP_ADSB: Send GCS xpdr status at least every 10s
AP_ADSB: Send ping200X estimated HPL
+ When AP sends the ping200X the GPS data GDL90 message, it needs to provide a valid HPL for the ping200X to report a valid NIC.
AP_ADSB: Don't send unsolicited transponder status
AP_ADSB: Better initialization of xpdr id/config
AP_ADSB: Better initialization of frontend status
AP_ADSB: Suggestions from review
2024-10-31 15:28:34 -07:00
Peter Barker
aaec6824f6
AP_ADSB: re-order initialiser lines so -Werror=reorder will work
2024-09-24 22:50:28 +10:00
Peter Barker
9eec4fdff2
AP_ADSB: remove use of AP_AHRS from most headers
...
don't need to know the details, just that it is a class
2024-09-03 10:35:54 +10:00
Peter Barker
05a22aaffc
AP_ADSB: cache course-over-ground for GPS message
...
stops the vehicle flipping around as speed goes to/comes from 0
2024-06-19 10:14:50 +10:00
Andrew Tridgell
715e8346a6
AP_ADSB: use NEW_NOTHROW for new(std::nothrow)
2024-06-04 09:20:21 +10:00
Andrew Tridgell
127c41f541
AP_ADSB: use gmtime_r() instead of gmtime()
...
using gmtime_r makes gmtime thread safe
2024-02-21 12:09:48 +11:00
Peter Barker
5dbe08c454
AP_ADSB: send absolute height in GPS packet to MXS device
...
Documentation specifies WGS-84 ellipsoid.
2024-01-16 13:41:22 +11:00
Peter Barker
e5ec596a03
AP_ADSB: emit last char for callsign in statustext
2024-01-16 12:42:42 +11:00
Peter Barker
f8078a1e74
AP_ADSB: de-duplicate packing of operating message
...
the same message is sent in two places, and much code was duplicated.
2024-01-16 11:33:52 +11:00
Peter Barker
37fccc118f
AP_ADSB: add missing includes
2024-01-11 15:29:54 +11:00
Andrew Tridgell
ce9c7dfdd1
AP_ADSB: fixed a crash in ADSB when baro not healthy
...
zero pressure leads to a floating point exception
2024-01-02 08:12:37 +11:00
Peter Barker
232edac8d7
AP_ADSB: create and use AP_MAVLINK_MSG_UAVIONIX_ADSB_OUT_STATUS_ENABLED
...
narrower define we can use when not compiling in the backends which use this
2023-11-21 13:21:13 +11:00
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
fdcd13746d
AP_ADSB: allow for compilation without AP_RTC_ENABLED
2023-10-11 19:17:27 +11:00
Peter Barker
1b3e471556
AP_ADSB: allow more libraries to compile with no HAL_GCS_ENABLED
2023-09-05 22:23:51 +10:00
Peter Barker
d8eafc7a51
AP_ADSB: remove unused get_transceiver_status method
2023-09-05 09:59:23 +10:00
Peter Barker
1c85512f8f
AP_ADSB: add missing includes
2023-08-30 12:26:14 +10:00
Peter Barker
dc8455411a
AP_ADSB: add and use a HAL_ADSB_BACKEND_DEFAULT_ENABLED
2023-08-28 09:40:33 -07:00
Tom Pittenger
61f6c0dc3d
AP_ADSB: correct compilation when GCS not compiled in
...
... and logging.
Also correct default compilation for mavlink backend to not be attempted if HAL_GCS_ENABLED is false
2023-08-28 09:40:33 -07:00
Tom Pittenger
0b13fa2c0f
AP_ADSB: correct bad 16bit port read in ADSB drivers
2023-07-12 08:05:29 +10:00
Peter Barker
fbc66132e3
AP_ADSB: correct bad port read in Sagetech driver
2023-07-12 08:05:29 +10:00
Michael du Breuil
25a118cbda
AP_ADSB: Fix spam of lost transciever message at update() rate
2023-06-28 09:35:35 -07:00
Tom Pittenger
d23d808f07
AP_ADSB: fix SageTech MXS climbRate sign
2023-06-06 20:09:28 +10:00
Peter Barker
5984857751
AP_ADSB: correct climbRate in SageTechMXS
...
down vs up issue
2023-06-06 20:09:28 +10:00
Peter Barker
15682fa6c9
AP_ADSB: clarify get_vert_pos_rate AHRS method name to include 'D'
2023-06-06 20:09:28 +10:00
Peter Barker
7bbeab7aaa
AP_ADSB: don't check MINIMIZE_FEATURES when also checking BOARD_FLASH_SIZE
...
we have an assertion that no board with >1MB of flash is minimized
2023-04-15 09:33:35 +10:00
Tom Pittenger
35daf81c27
AP_ADSB: create AP_ADSB_config.h
2023-01-31 11:11:26 +11:00
Tom Pittenger
792ad6b5fc
AP_ADSB: fix ADSB_STATIC_CALLSIGN
2023-01-31 11:11:26 +11:00
Tom Pittenger
59bd27519a
AP_ADSB: bug fix send mavlink status for only two types
2023-01-27 08:54:09 -08:00
Peter Barker
877b1413ea
AP_ADSB: change namespace of MultiCopter and FixedWing params
...
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
jackhong12
4a4f361a17
all: use CLASS_NO_COPY() macro
2022-10-04 11:23:04 +11:00
Henry Wurzburg
eb3f80da7c
AP_ADSB: correct metadata in libraries failing checks on emitter
2022-08-16 11:50:11 +10:00
Iampete1
cb6e6c82e5
AP_ADSB: params always use set method
2022-08-03 13:43:48 +01:00
Tom Pittenger
7b681d55a8
AP_ADSB: fix sagetech MXS SDK linking error
2022-06-14 07:10:17 -07: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
Pierre Kancir
22dae61c80
AP_ADSB: fix line ending
2022-06-08 08:16:42 +09:00
Ruffalo-sunghwan
e4a4fbe17a
AP_ADSB : correct comment spelling
2022-05-24 20:27:45 +09:00
Peter Barker
d3563e72c8
AP_ADSB: tidy includes
2022-05-03 09:14:58 +10:00
Peter Barker
e089f23c70
AP_ADSB: rename AP_AHRS::get_position to get_location
2022-01-25 10:47:22 +11:00
Andrew Tridgell
0da0f6dd37
AP_ADSB: use have_serial when detecting
...
avoid find_serial() as it changes port options
2021-12-21 11:07:44 +11:00
Tom Pittenger
e48adbf1c0
AP_ADSB: post link to uAvionix UCP protocol
2021-12-17 09:53:02 +09:00
Tom Pittenger
6107dcc8e7
AP_ADSB: bugfix vertical velocity sign was backwards
2021-10-28 09:51:33 +11: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
9578b9bcd4
AP_ADSB: Ping200X update health, remove option for external baro, and gnss altitude units bugfix
2021-10-03 09:57:39 -05:00