From ee292989b5b892f037e7b128bb89ce3c235c0bf0 Mon Sep 17 00:00:00 2001 From: guillaumd Date: Wed, 30 Nov 2016 08:25:51 +0100 Subject: [PATCH] fix ut_math error --- flight/tests/math/coordinateconversiontest.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/flight/tests/math/coordinateconversiontest.cpp b/flight/tests/math/coordinateconversiontest.cpp index 168de169a2..6034e2eaa1 100644 --- a/flight/tests/math/coordinateconversiontest.cpp +++ b/flight/tests/math/coordinateconversiontest.cpp @@ -4,6 +4,7 @@ #include /* printf */ #include /* abort */ #include /* memset */ +#include extern "C" { #include @@ -37,7 +38,7 @@ TEST_F(CoordinateConversionsTestRaw, LLA2ECEF) { int32_t LLAi[3] = { 419291818, 125571688, - 50 * 1e4 + 500000 }; int32_t LLAfromECEF[3]; @@ -56,14 +57,14 @@ TEST_F(CoordinateConversionsTestRaw, LLA2NED) { int32_t LLAi[3] = { 419291818, 125571688, - 50 * 1e4 + 50000 }; int32_t LLAfromNED[3]; int32_t HomeLLAi[3] = { 419291600, 125571300, - 24 * 1e4 + 24000 }; float Rne[3][3];