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
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
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
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
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