Commit Graph

32 Commits

Author SHA1 Message Date
Peter Barker 0e36ca3154 AP_NMEA_Output: take advantage of AP_Vehicle supplying dummy methods 2024-02-13 10:54:29 +11:00
Peter Barker fb7ccd327a AP_NMEA_Output: move logger object up to AP_Vehicle 2024-02-13 10:54:29 +11:00
Andrew Tridgell 85537c2e97 AP_NMEA_Output: fixed NMEA output altitude
the key fix is to multiply hdop by 0.01. It was being passed as a
uint16_t which led to it being swallowed by the %f in the format
string
2024-01-02 20:59:50 +11:00
Aleksey Ploskov 81ab6a9461 AP_NMEA_Output: fix time format 2024-01-02 16:29:50 +11:00
Peter Barker 0e0f50b661 AP_NMEA_Output: allow for compilation without AP_RTC_ENABLED 2023-10-11 19:17:27 +11:00
Peter Barker 9d74b3d2d9 AP_NMEA_Output: remove from 1MB boards 2023-08-15 08:45:30 +10:00
Peter Barker 55eec0ff09 AP_NMEA_Output: add and use AP_AHRS_ENABLED 2023-06-21 22:28:48 +10:00
Peter Barker afccfee001 AP_NMEA_Output: use minimize_features.inc for more features 2023-06-06 10:14:02 +10:00
Tom Pittenger 4a2cbf17f9 AP_NMEA_Output: fix GPGGA hdop, fix, sats 2023-03-14 12:45:47 -07:00
Liam 41ba830008 AP_NMEA_Output: UTC time decimal places, gps fix type, number of satellites and hdop. 2023-03-14 12:45:47 -07:00
Tom Pittenger 3f5276c3d7 AP_NMEA_Output: add params and optimized 2023-02-07 21:12:07 +11:00
Tom Pittenger a929a5006a AP_NMEA_Output: add msg sentence $PASHR 2023-02-07 21:12:07 +11:00
Iampete1 57e35f39b1 AP_NMEA_Output: align param info structures to save flash 2023-01-11 18:41:34 +11:00
Peter Barker 1ce48a9947 AP_NMEA_Output: tidy AP_SerialManager.h includes 2022-11-08 09:49:19 +11:00
davidsastresas 670a702ea0 AP_NMEA_Output.cpp: Fix conversion precision issue:
We were casting the location in integer 32 bits
to float, and making fabsf in float as well, so
we were losing precision translated in about 40 cm
minimum variation in position for the NMEA output.

Also, even if using double and fabsF, we were still
rounding up last 2 decimals, so now the logic is
done in degree * 10e7 to not loose precision and
then converted properly before building the string
2022-10-07 08:37:59 +11:00
Andrew Tridgell ada6554578 AP_NMEA_Output: use a fixed maximum number of NMEA outputs
this improves ccache performance
2022-02-23 12:36:59 +11:00
Peter Barker 88b463947a AP_NMEA_Output: rename AP_AHRS::get_position to get_location 2022-01-25 10:47:22 +11:00
Peter Barker 939407a26f AP_NMEA_Output: remove pointless use of intermediate res variables 2021-12-23 21:04:18 +11:00
Josh Henderson 51023fc846 AP_NMEA_Output: use vector.xy().length() instead of norm(x,y) 2021-09-14 10:43:46 +10:00
Peter Barker 3a5062c90b AP_NMEA_Output: eliminate AP::ahrs().get_location 2021-08-31 09:47:31 +10:00
Peter Barker 78e63a8852 AP_NMEA_Output: stop using AHRS as conduit for Compass pointer 2021-07-30 12:19:42 +10:00
Peter Barker 5160b4f6ca AP_AHRS: move AP_NMEA_Output to AHRS frontend 2021-07-27 16:55:35 +10:00
Peter Barker 48e9fa7ebd AP_NMEA_Output: rename for AHRS restructuring 2021-07-21 21:01:39 +10:00
Peter Barker b9c4d40c46 AP_NMEA_Output: remove ability to use DCM as AHRS 2021-07-21 21:01:39 +10:00
Pierre Kancir 2953aa3748 AP_NMEA: fix example 2021-03-03 18:07:38 +11:00
Peter Barker e6150533fc AP_NMEA_Output: EKF objects have moved into AP_AHRS_NavEKF 2020-01-21 11:53:18 +11:00
Peter Barker 248001b404 AP_NMEA_Output: NavEKF constructors no longer take rangefinder 2019-12-11 08:09:01 +11:00
Randy Mackay ef5a2cc470 AP_NMEA_Output: 10hz rate limiting uses uint32_t 2019-11-29 12:28:51 +08:00
Peter Barker 46d0425fcf AP_NMEA_Output: correct 10Hz rate limiting
integer promotion issue
2019-11-29 11:53:45 +11:00
Peter Barker 6b92f3dae9 AP_NMEA_Output: add example 2019-10-26 00:38:27 +11:00
Peter Barker a6b6bb99f3 AP_NMEA_Output: skip sending sentences if no space on UART
AP_NMEA_Output: clean scope by removing unneeded temps

AP_NMEA_Output: redo last_sent to last_run

AP_NMA_Output: early-exit if no data
2019-10-08 11:07:19 +11:00
Francisco Ferreira 80093f41b0 AP_NMEA_Output: new library for writing NMEA to serial ports 2019-05-21 09:41:15 +10:00