mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 07:03:34 +08:00
replace <cfloat> with <float.h>
- <cfloat> isn't available in the NuttX c++ library
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user