diff --git a/sw/airborne/test/test_geodetic.c b/sw/airborne/test/test_geodetic.c index 4e017bdb30a..9d04e24b60f 100644 --- a/sw/airborne/test/test_geodetic.c +++ b/sw/airborne/test/test_geodetic.c @@ -28,7 +28,7 @@ static void test_ned_to_ecef_to_ned(void); static void test_enu_to_ecef_to_enu( void ); /* - * toulouse 43.6052765, 1.4427764, 180.123019274324 -> 4624497.0 116475.0 4376563.0 + * toulouse lat 43.6052765, lon 1.4427764, alt 180.123019274324 -> x 4624497.0 y 116475.0 z 4376563.0 */ int main(int argc, char** argv) { @@ -152,11 +152,11 @@ static void test_enu_of_ecef_int(void) { M_OF_CM((double)my_enu_point_i.z)); #endif - FLOAT_T ex = my_enu_point_f.x - M_OF_CM((double)my_enu_point_i.x); + float ex = my_enu_point_f.x - M_OF_CM((double)my_enu_point_i.x); if (fabs(ex) > max_err.x) max_err.x = fabs(ex); - FLOAT_T ey = my_enu_point_f.y - M_OF_CM((double)my_enu_point_i.y); + float ey = my_enu_point_f.y - M_OF_CM((double)my_enu_point_i.y); if (fabs(ey) > max_err.y) max_err.y = fabs(ey); - FLOAT_T ez = my_enu_point_f.z - M_OF_CM((double)my_enu_point_i.z); + float ez = my_enu_point_f.z - M_OF_CM((double)my_enu_point_i.z); if (fabs(ez) > max_err.z) max_err.z = fabs(ez); sum_err += ex*ex + ey*ey + ez*ez; }