mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 13:58:53 +08:00
replace <cfloat> with <float.h>
- <cfloat> isn't available in the NuttX c++ library
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
* Driver for the Eagle Tree Airspeed V3 connected via I2C.
|
||||
*/
|
||||
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
|
||||
#include <px4_config.h>
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
* Driver/configurator for the PX4 FMU
|
||||
*/
|
||||
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
|
||||
#include <board_config.h>
|
||||
#include <drivers/device/device.h>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
|
||||
#include <board_config.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
#include "mixer.h"
|
||||
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
#include <cstring>
|
||||
#include <cstdio>
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
* @author Anton Babushkin <anton.babushkin@me.com>
|
||||
*/
|
||||
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
#include <lib/ecl/geo_lookup/geo_mag_declination.h>
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
#include <parameters/param.h>
|
||||
|
||||
#include <cmath>
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
#include <cstring>
|
||||
|
||||
#include <uORB/topics/actuator_armed.h>
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
* @author Roman Bapst
|
||||
*/
|
||||
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <lib/ecl/EKF/ekf.h>
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
#include "launchdetection/LaunchDetector.h"
|
||||
#include "runway_takeoff/RunwayTakeoff.h"
|
||||
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
* @author Marco Zorzi <mzorzi@student.ethz.ch>
|
||||
*/
|
||||
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <lib/ecl/geo/geo.h>
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
#include "LandDetector.h"
|
||||
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
|
||||
#include <px4_config.h>
|
||||
#include <px4_defines.h>
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
|
||||
#include <px4_module_params.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
#include "mission_feasibility_checker.h"
|
||||
#include "navigator_mode.h"
|
||||
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
|
||||
#include <dataman/dataman.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
#include "navigator.h"
|
||||
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <dataman/dataman.h>
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
#include "vtol_type.h"
|
||||
#include "vtol_att_control_main.h"
|
||||
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
#include <px4_defines.h>
|
||||
#include <matrix/math.hpp>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <unit_test.h>
|
||||
#include <mc_pos_control/Utility/ControlMath.hpp>
|
||||
#include <mathlib/mathlib.h>
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
|
||||
#define SIGMA_SINGLE_OP 0.000001f
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <unit_test.h>
|
||||
|
||||
#include <px4_config.h>
|
||||
#include <cfloat>
|
||||
#include <float.h>
|
||||
|
||||
typedef union {
|
||||
float f;
|
||||
|
||||
Reference in New Issue
Block a user