mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 00:33:35 +08:00
PX4_ISFINITE use builtin everywhere
This commit is contained in:
@@ -44,6 +44,8 @@
|
||||
#include "health_flag_helper.h"
|
||||
#include "rc_check.h"
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#include <parameters/param.h>
|
||||
#include <systemlib/mavlink_log.h>
|
||||
#include <uORB/Subscription.hpp>
|
||||
|
||||
@@ -34,6 +34,8 @@
|
||||
#include "send_event.h"
|
||||
#include "temperature_calibration/temperature_calibration.h"
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#include <px4_getopt.h>
|
||||
#include <px4_log.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
#include "LandDetector.h"
|
||||
|
||||
#include <float.h>
|
||||
#include <math.h>
|
||||
|
||||
#include <px4_config.h>
|
||||
#include <px4_defines.h>
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
#include <stdbool.h>
|
||||
#include <float.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <poll.h>
|
||||
#include <math.h>
|
||||
#include <lib/cdev/CDev.hpp>
|
||||
|
||||
ORB_DEFINE(orb_test, struct orb_test, sizeof(orb_test), "ORB_TEST:int val;hrt_abstime time;");
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
#include <px4_defines.h>
|
||||
#include <px4_posix.h>
|
||||
#include <errno.h>
|
||||
#include <math.h>
|
||||
|
||||
namespace vmount
|
||||
{
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
|
||||
#include "input_rc.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <errno.h>
|
||||
#include <px4_posix.h>
|
||||
#include <px4_defines.h>
|
||||
|
||||
@@ -39,6 +39,8 @@
|
||||
|
||||
#include "input_test.h"
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#include <px4_posix.h>
|
||||
|
||||
|
||||
|
||||
@@ -40,6 +40,8 @@
|
||||
|
||||
#include "output_mavlink.h"
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#include <uORB/topics/vehicle_command.h>
|
||||
#include <px4_defines.h>
|
||||
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
* Outputs to the mounts can be RC (PWM) output or mavlink.
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
Reference in New Issue
Block a user