diff --git a/libraries/AP_Math/AP_Math.h b/libraries/AP_Math/AP_Math.h index 9b31635887..7a9011bbb3 100644 --- a/libraries/AP_Math/AP_Math.h +++ b/libraries/AP_Math/AP_Math.h @@ -5,11 +5,11 @@ // Assorted useful math operations for ArduPilot(Mega) -#include -#include +#include +#include #include #ifdef __AVR__ -# include +# include "AP_Math_AVR_Compat.h" #endif #include #include "rotations.h" @@ -20,7 +20,7 @@ #include "polygon.h" #include "edc.h" #include "float.h" -#include "AP_Param.h" +#include #ifndef M_PI_F #define M_PI_F 3.141592653589793f diff --git a/libraries/AP_Math/edc.h b/libraries/AP_Math/edc.h index b8773a0f8a..ebb6fb903c 100644 --- a/libraries/AP_Math/edc.h +++ b/libraries/AP_Math/edc.h @@ -20,7 +20,7 @@ #ifndef __EDC_H_ #define __EDC_H_ -#include +#include #include diff --git a/libraries/AP_Math/examples/eulers/eulers.cpp b/libraries/AP_Math/examples/eulers/eulers.cpp index 05a6c97a43..e5a9896684 100644 --- a/libraries/AP_Math/examples/eulers/eulers.cpp +++ b/libraries/AP_Math/examples/eulers/eulers.cpp @@ -3,39 +3,39 @@ // Unit tests for the AP_Math euler code // -#include +#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER; diff --git a/libraries/AP_Math/examples/location/location.cpp b/libraries/AP_Math/examples/location/location.cpp index 27ef61b221..288f4cb851 100644 --- a/libraries/AP_Math/examples/location/location.cpp +++ b/libraries/AP_Math/examples/location/location.cpp @@ -3,39 +3,39 @@ // Unit tests for the AP_Math polygon code // -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER; diff --git a/libraries/AP_Math/examples/polygon/polygon.cpp b/libraries/AP_Math/examples/polygon/polygon.cpp index 2a3f7af80d..08b5fb7220 100644 --- a/libraries/AP_Math/examples/polygon/polygon.cpp +++ b/libraries/AP_Math/examples/polygon/polygon.cpp @@ -3,14 +3,14 @@ // Unit tests for the AP_Math polygon code // -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER; diff --git a/libraries/AP_Math/examples/rotations/rotations.cpp b/libraries/AP_Math/examples/rotations/rotations.cpp index f3fd66510e..911098a98d 100644 --- a/libraries/AP_Math/examples/rotations/rotations.cpp +++ b/libraries/AP_Math/examples/rotations/rotations.cpp @@ -2,40 +2,40 @@ // // Unit tests for the AP_Math rotations code // -#include +#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include // ArduPilot Mega Declination Helper Library -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include // ArduPilot Mega Declination Helper Library +#include +#include +#include +#include +#include +#include +#include +#include +#include const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER; diff --git a/libraries/AP_Math/location.cpp b/libraries/AP_Math/location.cpp index f271add324..5d7c81af80 100644 --- a/libraries/AP_Math/location.cpp +++ b/libraries/AP_Math/location.cpp @@ -20,7 +20,7 @@ /* * this module deals with calculations involving struct Location */ -#include +#include #include #include "AP_Math.h"