mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 02:53:34 +08:00
remove unnecessary <cmath> include
This commit is contained in:
@@ -96,5 +96,5 @@ using ecl_abstime = uint64_t;
|
|||||||
|
|
||||||
#endif /* PX4_POSIX || PX4_NUTTX */
|
#endif /* PX4_POSIX || PX4_NUTTX */
|
||||||
|
|
||||||
#include <cmath>
|
#include <math.h>
|
||||||
#define ISFINITE(x) __builtin_isfinite(x)
|
#define ISFINITE(x) __builtin_isfinite(x)
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <cmath>
|
#include <math.h>
|
||||||
#include "EKF/ekf.h"
|
#include "EKF/ekf.h"
|
||||||
|
|
||||||
class EkfInitializationTest : public ::testing::Test {
|
class EkfInitializationTest : public ::testing::Test {
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <cmath>
|
#include <math.h>
|
||||||
#include "EKF/ekf.h"
|
#include "EKF/ekf.h"
|
||||||
|
|
||||||
class EkfSamplingTestParametrized : public ::testing::TestWithParam<std::tuple<float,float>>
|
class EkfSamplingTestParametrized : public ::testing::TestWithParam<std::tuple<float,float>>
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <cmath>
|
#include <math.h>
|
||||||
#include "EKF/ekf.h"
|
#include "EKF/ekf.h"
|
||||||
|
|
||||||
struct sample {
|
struct sample {
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <cmath>
|
#include <math.h>
|
||||||
#include "EKF/ekf.h"
|
#include "EKF/ekf.h"
|
||||||
|
|
||||||
class EkfImuSamplingTestParametrized : public ::testing::TestWithParam<std::tuple<float,float>>
|
class EkfImuSamplingTestParametrized : public ::testing::TestWithParam<std::tuple<float,float>>
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <cmath>
|
#include <math.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
class DataValidator
|
class DataValidator
|
||||||
|
|||||||
Reference in New Issue
Block a user