Peter Barker
d73ce0ed57
AP_Common: tests: stop overriding non-virtual method
...
set_origin is no longer virtual. These tests can be reinstated once we
have a single origin for the AHRS
4 years ago
Peter Barker
2bd8a45c58
AP_Common: rename for AHRS restructuring
4 years ago
Andrew Tridgell
416c0724d2
AP_Common: use double precision for more location functions when available
...
this makes the location functions more accurate at long distances when
EKF double enabled
4 years ago
Andrew Tridgell
3ded1e6c10
AP_Common: added ftype precision offset call
4 years ago
Peter Barker
fc2338612e
AP_Common: stop setting terrain pointer in test_location
...
Also enable/disable as required for testing
4 years ago
Andrew Tridgell
56d9134e38
AP_Common: adjust test_location values
...
for adjusted longitude scale accuracy
4 years ago
Andrew Tridgell
a924f66f70
AP_Common: fixed comment
4 years ago
Andrew Tridgell
6a3b12956a
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
4 years ago
Andrew Tridgell
b8e42be5d1
AP_Common: added double methods for SITL
4 years ago
Peter Barker
f69e2a49f6
AP_Common: add test for longitude wrapping
4 years ago
Pierre Kancir
983e402804
AP_Common: add more unitttests
4 years ago
Pierre Kancir
614ebff842
AP_Common: add more unit tests
4 years ago