ardupilot/libraries/AP_Common
Andrew Tridgell 1d46e77942 AP_Common: make longitude_scale() a static
this changes the use of longitude_scale() to use the average latitude
instead of the lattitude at one end of the line when calculating
positions and distances. It means we obey the basic geometry rule
that:

 pos1 + offs = pos2
 pos2 - offs == pos1
2021-07-22 16:01:00 +10:00
..
examples/AP_Common AP_Common: example fix travis warning 2017-04-13 19:56:16 +01:00
missing AP_Common: missing: Add definition for strndupa 2020-08-25 07:15:00 -07:00
tests AP_Common: added ftype precision offset call 2021-07-22 16:01:00 +10:00
AP_Common.cpp AP_Common: added strncpy_noterm 2020-07-10 13:32:24 +10:00
AP_Common.h AP_Common: added CLASS_NO_COPY() macro 2021-06-08 11:14:52 +10:00
AP_ExpandingArray.cpp AP_Common: use standard realloc method from HAL 2020-03-24 10:32:14 +11:00
AP_ExpandingArray.h AP_Common: fixed cast warnings for ExpandingArray 2020-07-07 10:23:00 +10:00
AP_FWVersion.cpp AP_Common: AP_FWVersion: create singleton 2018-06-18 19:10:37 +01:00
AP_FWVersion.h AP_Common: add firmware string without git hash. 2021-06-09 17:35:11 +10:00
AP_FWVersionDefine.h AP_Common: add firmware string without git hash. 2021-06-09 17:35:11 +10:00
AP_Test.h Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
Bitmask.h AP_Common: create and use INTERNAL_ERROR macro so we get line numbers 2020-04-30 13:21:36 +10:00
ExpandingString.cpp AP_Common: fixed null termination bug in ExpandingString 2021-04-21 07:12:55 +10:00
ExpandingString.h AP_Common: added return to ExpandingString append 2021-04-21 07:12:55 +10:00
Location.cpp AP_Common: make longitude_scale() a static 2021-07-22 16:01:00 +10:00
Location.h AP_Common: make longitude_scale() a static 2021-07-22 16:01:00 +10:00
NMEA.cpp AP_Common: added common nmea_printf code 2021-04-13 09:36:52 +10:00
NMEA.h AP_Common: added common nmea_printf code 2021-04-13 09:36:52 +10:00
TSIndex.h AP_Common: Add % operator to TSIndex 2020-06-16 10:09:14 +10:00
c++.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00