mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
declination test update values
- test values entered from https://www.ngdc.noaa.gov/geomag-web/
This commit is contained in:
parent
29b3950747
commit
0814ac585e
@ -24,7 +24,7 @@ private:
|
||||
|
||||
bool AutoDeclinationTest::autodeclination_check()
|
||||
{
|
||||
ut_assert("declination differs more than 0.1 degrees", get_mag_declination(47.0, 8.0) - 1.6f < 0.1f);
|
||||
ut_assert("declination differs more than 0.1 degrees", get_mag_declination(47.0, 8.0) - 2.6f < 0.1f);
|
||||
// Test world endpoints
|
||||
ut_assert("declination differs more than 0.1 degrees", get_mag_declination(-90.0, 180.0) - 47.0f < 0.1f);
|
||||
ut_assert("declination differs more than 0.1 degrees", get_mag_declination(-90.0, -180.0) - 47.0f < 0.1f);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user