davidsastresas
4c9156eab9
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-14 17:13:10 +09: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