From f4bef9b1aad3577a881f2c43b642adcba6d2e9d3 Mon Sep 17 00:00:00 2001 From: Felix Ruess Date: Tue, 26 Oct 2010 01:20:19 +0000 Subject: [PATCH] uuups, of course use angle brackets for standard c math.h library --- sw/airborne/airspeed_ets.c | 2 +- sw/airborne/arch/sim/jsbsim_gps.c | 2 +- sw/airborne/arch/sim/jsbsim_ir.c | 2 +- sw/airborne/arch/sim/sim_gps.c | 2 +- sw/airborne/baro_ets.c | 2 +- sw/airborne/beth/overo_estimator.c | 2 +- sw/airborne/booz/test/test_scaling.c | 2 +- sw/airborne/csc/csc_autopilot.c | 2 +- sw/airborne/estimator.c | 2 +- sw/airborne/fms/libeknav/estimate_attitude.h | 2 +- sw/airborne/fms/libeknav/libeknav_from_log.hpp | 4 ++-- sw/airborne/fms/libeknav/test_libeknav_4.hpp | 2 +- sw/airborne/gps_nmea.c | 2 +- sw/airborne/gps_ubx.c | 2 +- sw/airborne/latlong.c | 2 +- sw/airborne/lisa/test_float.c | 2 +- sw/airborne/main_ap.c | 2 +- sw/airborne/math/pprz_algebra_float.h | 2 +- sw/airborne/math/pprz_geodetic_double.c | 2 +- sw/airborne/math/pprz_geodetic_float.c | 2 +- sw/airborne/math/pprz_simple_matrix.h | 2 +- sw/airborne/modules/cam_control/cam.c | 2 +- sw/airborne/modules/cam_control/cam_roll.c | 2 +- sw/airborne/modules/cam_control/point.c | 2 +- sw/airborne/modules/multi/formation.c | 2 +- sw/airborne/modules/multi/potential.c | 2 +- sw/airborne/modules/sensors/airspeed_ets.c | 2 +- sw/airborne/modules/sensors/baro_ets.c | 2 +- sw/airborne/nav.c | 2 +- sw/airborne/snav.c | 2 +- sw/airborne/test/test_algebra.c | 2 +- sw/airborne/test/test_bla.c | 2 +- sw/airborne/test/test_geodetic.c | 2 +- sw/airborne/vor/i86_vor_test_filters.c | 2 +- sw/airborne/vor/vor_float_demod.c | 2 +- sw/airborne/vor/vor_int_demod.c | 2 +- sw/ground_segment/cockpit/actuators.c | 4 ++-- sw/ground_segment/cockpit/ant_track.c | 2 +- sw/ground_segment/joystick/usb_stick.c | 2 +- sw/ground_segment/modem/main.c | 2 +- sw/ground_segment/multimon/demod_afsk12.c | 2 +- sw/ground_segment/multimon/demod_afsk48p.c | 2 +- sw/ground_segment/multimon/demod_display.c | 2 +- sw/ground_segment/multimon/mkcostab.c | 2 +- sw/ground_segment/multimon/pprzlib.c | 2 +- sw/ground_segment/multimon/xdisplay.c | 2 +- sw/ground_segment/tmtc/gpsd2ivy.c | 2 +- sw/include/std.h | 2 +- sw/logalizer/ahrs2fg.c | 2 +- sw/logalizer/ahrsview.c | 2 +- sw/logalizer/ctrlstick.c | 2 +- sw/logalizer/disp3d.c | 2 +- sw/logalizer/ffjoystick.c | 2 +- sw/logalizer/imuview.c | 2 +- sw/logalizer/motor_bench.c | 2 +- sw/logalizer/plot3dparse.c | 2 +- sw/logalizer/plot_roll_loop.c | 2 +- sw/logalizer/test_2.c | 2 +- sw/logalizer/utils.h | 2 +- sw/simulator/fg.c | 2 +- sw/simulator/nps/nps_flightgear.c | 2 +- sw/simulator/nps/nps_random.c | 2 +- sw/simulator/old_booz/booz_flight_model.c | 2 +- sw/simulator/old_booz/booz_flight_model_utils.c | 2 +- sw/simulator/old_booz/booz_flightgear.c | 2 +- sw/simulator/old_booz/booz_randlcg.c | 2 +- sw/simulator/old_booz/booz_sensors_model.c | 2 +- sw/simulator/old_booz/booz_sensors_model_utils.c | 2 +- 68 files changed, 70 insertions(+), 70 deletions(-) diff --git a/sw/airborne/airspeed_ets.c b/sw/airborne/airspeed_ets.c index 71a9312ef0..ed4b0fd787 100644 --- a/sw/airborne/airspeed_ets.c +++ b/sw/airborne/airspeed_ets.c @@ -37,7 +37,7 @@ #include "airspeed_ets.h" #include "i2c.h" #include "nav.h" -#include "math.h" +#include #ifdef SITL #include "gps.h" diff --git a/sw/airborne/arch/sim/jsbsim_gps.c b/sw/airborne/arch/sim/jsbsim_gps.c index af58c7eb47..60bcdb658f 100644 --- a/sw/airborne/arch/sim/jsbsim_gps.c +++ b/sw/airborne/arch/sim/jsbsim_gps.c @@ -1,7 +1,7 @@ /* OCaml binding to link the simulator to autopilot functions. */ #include -#include "math.h" +#include #include /** From airborne/autopilot/ */ diff --git a/sw/airborne/arch/sim/jsbsim_ir.c b/sw/airborne/arch/sim/jsbsim_ir.c index ca3e8c55fb..579caf645c 100644 --- a/sw/airborne/arch/sim/jsbsim_ir.c +++ b/sw/airborne/arch/sim/jsbsim_ir.c @@ -6,7 +6,7 @@ #include "jsbsim_hw.h" -#include "math.h" +#include #ifndef JSBSIM_IR_ROLL_NEUTRAL #define JSBSIM_IR_ROLL_NEUTRAL 0. diff --git a/sw/airborne/arch/sim/sim_gps.c b/sw/airborne/arch/sim/sim_gps.c index 7a4160e8b5..0887176e2d 100644 --- a/sw/airborne/arch/sim/sim_gps.c +++ b/sw/airborne/arch/sim/sim_gps.c @@ -1,7 +1,7 @@ /* OCaml binding to link the simulator to autopilot functions. */ #include -#include "math.h" +#include #include /** From airborne/autopilot/ */ diff --git a/sw/airborne/baro_ets.c b/sw/airborne/baro_ets.c index 7d74971b55..04902994e4 100644 --- a/sw/airborne/baro_ets.c +++ b/sw/airborne/baro_ets.c @@ -37,7 +37,7 @@ #include "baro_ets.h" #include "i2c.h" -#include "math.h" +#include #ifdef SITL #include "gps.h" diff --git a/sw/airborne/beth/overo_estimator.c b/sw/airborne/beth/overo_estimator.c index db0680f164..b74f96735d 100644 --- a/sw/airborne/beth/overo_estimator.c +++ b/sw/airborne/beth/overo_estimator.c @@ -1,7 +1,7 @@ #include "overo_estimator.h" #include "subsystems/imu.h" -#include "math.h" +#include #include "messages2.h" #include "overo_gcs_com.h" diff --git a/sw/airborne/booz/test/test_scaling.c b/sw/airborne/booz/test/test_scaling.c index d8fa977093..c554a3f4a1 100644 --- a/sw/airborne/booz/test/test_scaling.c +++ b/sw/airborne/booz/test/test_scaling.c @@ -22,7 +22,7 @@ */ #include -#include "math.h" +#include #include #include "math/pprz_algebra_int.h" diff --git a/sw/airborne/csc/csc_autopilot.c b/sw/airborne/csc/csc_autopilot.c index 4cb5e3da61..72ffc953a6 100644 --- a/sw/airborne/csc/csc_autopilot.c +++ b/sw/airborne/csc/csc_autopilot.c @@ -26,7 +26,7 @@ #include "csc_autopilot.h" #include -#include "math.h" +#include #include "commands.h" #include "csc_xsens.h" diff --git a/sw/airborne/estimator.c b/sw/airborne/estimator.c index e32b4ddcdd..ca25719e44 100644 --- a/sw/airborne/estimator.c +++ b/sw/airborne/estimator.c @@ -27,7 +27,7 @@ */ #include -#include "math.h" +#include #include "estimator.h" #include "uart.h" diff --git a/sw/airborne/fms/libeknav/estimate_attitude.h b/sw/airborne/fms/libeknav/estimate_attitude.h index 0f6a518cc0..ac2756299d 100644 --- a/sw/airborne/fms/libeknav/estimate_attitude.h +++ b/sw/airborne/fms/libeknav/estimate_attitude.h @@ -2,7 +2,7 @@ #define ESTIMATE_ATTITUDE_H /* for sqrt */ -#include "math.h" +#include #include "paparazzi_eigen_conversion.h" #include "../../math/pprz_algebra.h" diff --git a/sw/airborne/fms/libeknav/libeknav_from_log.hpp b/sw/airborne/fms/libeknav/libeknav_from_log.hpp index 0614f26e7b..edea4995c8 100644 --- a/sw/airborne/fms/libeknav/libeknav_from_log.hpp +++ b/sw/airborne/fms/libeknav/libeknav_from_log.hpp @@ -23,7 +23,7 @@ #include "math/pprz_geodetic_int.h" #include "math/pprz_geodetic_float.h" #include "math/pprz_geodetic_double.h" -#include "math.h" +#include #include #include @@ -53,7 +53,7 @@ /** baro-sensor **/ // I only want the function -#define NPS_SENSORS_PARAMS "math.h" +#define NPS_SENSORS_PARAMS // Params taken from trunk/conf/simulator/nps/nps_sensors_params_booz2_a1.h #define NPS_BARO_QNH 900. #define NPS_BARO_SENSITIVITY 17.066667 diff --git a/sw/airborne/fms/libeknav/test_libeknav_4.hpp b/sw/airborne/fms/libeknav/test_libeknav_4.hpp index f364ae9dd1..8442786f04 100644 --- a/sw/airborne/fms/libeknav/test_libeknav_4.hpp +++ b/sw/airborne/fms/libeknav/test_libeknav_4.hpp @@ -31,7 +31,7 @@ extern "C" { #include "math/pprz_geodetic.h" #include "math/pprz_geodetic_float.c" #include "math/pprz_geodetic_double.c" -#include "math.h" +#include /* constants */ diff --git a/sw/airborne/gps_nmea.c b/sw/airborne/gps_nmea.c index f010c0f35b..8c8df2b3dd 100644 --- a/sw/airborne/gps_nmea.c +++ b/sw/airborne/gps_nmea.c @@ -35,7 +35,7 @@ #include #include -#include "math.h" +#include #ifdef LINUX // do debug-output if run on the linux-target #include diff --git a/sw/airborne/gps_ubx.c b/sw/airborne/gps_ubx.c index 8067161451..68543b421a 100644 --- a/sw/airborne/gps_ubx.c +++ b/sw/airborne/gps_ubx.c @@ -28,7 +28,7 @@ #include #include -#include "math.h" +#include #ifdef FMS_PERIODIC_FREQ //for printf diff --git a/sw/airborne/latlong.c b/sw/airborne/latlong.c index 84cc6a7a44..2d8da47ac0 100644 --- a/sw/airborne/latlong.c +++ b/sw/airborne/latlong.c @@ -1,7 +1,7 @@ /** c.f. sw/lib/ocaml/latlong.ml */ #include -#include "math.h" +#include #include "std.h" #include "latlong.h" #include "led.h" diff --git a/sw/airborne/lisa/test_float.c b/sw/airborne/lisa/test_float.c index d24c3b6425..aa6b5ca388 100644 --- a/sw/airborne/lisa/test_float.c +++ b/sw/airborne/lisa/test_float.c @@ -21,7 +21,7 @@ * Boston, MA 02111-1307, USA. */ -#include "math.h" +#include #include BOARD_CONFIG #include "init_hw.h" diff --git a/sw/airborne/main_ap.c b/sw/airborne/main_ap.c index 701a5a5260..ef028ed848 100644 --- a/sw/airborne/main_ap.c +++ b/sw/airborne/main_ap.c @@ -31,7 +31,7 @@ #define MODULES_C -#include "math.h" +#include #include "main_ap.h" diff --git a/sw/airborne/math/pprz_algebra_float.h b/sw/airborne/math/pprz_algebra_float.h index 1d08e37b8e..7286c62f3d 100644 --- a/sw/airborne/math/pprz_algebra_float.h +++ b/sw/airborne/math/pprz_algebra_float.h @@ -27,7 +27,7 @@ #include "pprz_algebra.h" -#include "math.h" +#include #include // for FLT_MIN struct FloatVect2 { diff --git a/sw/airborne/math/pprz_geodetic_double.c b/sw/airborne/math/pprz_geodetic_double.c index c11b95243f..4c2e1f64dd 100644 --- a/sw/airborne/math/pprz_geodetic_double.c +++ b/sw/airborne/math/pprz_geodetic_double.c @@ -1,6 +1,6 @@ #include "pprz_geodetic_double.h" -#include "math.h" +#include void ltp_def_from_ecef_d(struct LtpDef_d* def, struct EcefCoor_d* ecef) { diff --git a/sw/airborne/math/pprz_geodetic_float.c b/sw/airborne/math/pprz_geodetic_float.c index f3babd17de..0df4c4f4a0 100644 --- a/sw/airborne/math/pprz_geodetic_float.c +++ b/sw/airborne/math/pprz_geodetic_float.c @@ -1,7 +1,7 @@ #include "pprz_geodetic_float.h" #include "pprz_algebra_float.h" -#include "math.h" +#include void ltp_def_from_ecef_f(struct LtpDef_f* def, struct EcefCoor_f* ecef) { diff --git a/sw/airborne/math/pprz_simple_matrix.h b/sw/airborne/math/pprz_simple_matrix.h index 215c483549..83427de1f0 100644 --- a/sw/airborne/math/pprz_simple_matrix.h +++ b/sw/airborne/math/pprz_simple_matrix.h @@ -2,7 +2,7 @@ #define PPRZ_SIMPLE_MATRIX_H #include /* for FLT_EPSILON */ -#include "math.h" +#include #ifdef HAVE_STDIO #include /* for printf'ing warnings */ #define warn_message printf diff --git a/sw/airborne/modules/cam_control/cam.c b/sw/airborne/modules/cam_control/cam.c index dfa36bdd19..56cd07a5b7 100644 --- a/sw/airborne/modules/cam_control/cam.c +++ b/sw/airborne/modules/cam_control/cam.c @@ -26,7 +26,7 @@ * */ -#include "math.h" +#include #include "cam.h" #include "common_nav.h" #include "autopilot.h" diff --git a/sw/airborne/modules/cam_control/cam_roll.c b/sw/airborne/modules/cam_control/cam_roll.c index 9775637db2..feab0bf050 100644 --- a/sw/airborne/modules/cam_control/cam_roll.c +++ b/sw/airborne/modules/cam_control/cam_roll.c @@ -26,7 +26,7 @@ * */ -#include "math.h" +#include #include "cam.h" #include "nav.h" #include "autopilot.h" diff --git a/sw/airborne/modules/cam_control/point.c b/sw/airborne/modules/cam_control/point.c index e552f896b4..5e13c9abc5 100644 --- a/sw/airborne/modules/cam_control/point.c +++ b/sw/airborne/modules/cam_control/point.c @@ -71,7 +71,7 @@ * */ -#include "math.h" +#include #include "point.h" typedef struct { diff --git a/sw/airborne/modules/multi/formation.c b/sw/airborne/modules/multi/formation.c index fc925025f4..90ebb6cf97 100644 --- a/sw/airborne/modules/multi/formation.c +++ b/sw/airborne/modules/multi/formation.c @@ -4,7 +4,7 @@ #define FORMATION_C -#include "math.h" +#include #ifndef DOWNLINK_DEVICE #define DOWNLINK_DEVICE DOWNLINK_AP_DEVICE diff --git a/sw/airborne/modules/multi/potential.c b/sw/airborne/modules/multi/potential.c index 32722c0f65..bebec53abb 100644 --- a/sw/airborne/modules/multi/potential.c +++ b/sw/airborne/modules/multi/potential.c @@ -3,7 +3,7 @@ #define POTENTIAL_C -#include "math.h" +#include #ifndef DOWNLINK_DEVICE #define DOWNLINK_DEVICE DOWNLINK_AP_DEVICE diff --git a/sw/airborne/modules/sensors/airspeed_ets.c b/sw/airborne/modules/sensors/airspeed_ets.c index 1fceb04675..29939da85e 100644 --- a/sw/airborne/modules/sensors/airspeed_ets.c +++ b/sw/airborne/modules/sensors/airspeed_ets.c @@ -36,7 +36,7 @@ */ #include "sensors/airspeed_ets.h" #include "estimator.h" -#include "math.h" +#include #define AIRSPEED_ETS_ADDR 0xEA #ifndef AIRSPEED_ETS_SCALE diff --git a/sw/airborne/modules/sensors/baro_ets.c b/sw/airborne/modules/sensors/baro_ets.c index 3b8ffdd4f1..0d3064b11e 100644 --- a/sw/airborne/modules/sensors/baro_ets.c +++ b/sw/airborne/modules/sensors/baro_ets.c @@ -38,7 +38,7 @@ #include "sensors/baro_ets.h" #include "i2c.h" #include "estimator.h" -#include "math.h" +#include #ifdef SITL #include "gps.h" diff --git a/sw/airborne/nav.c b/sw/airborne/nav.c index db5525c803..81667148e8 100644 --- a/sw/airborne/nav.c +++ b/sw/airborne/nav.c @@ -28,7 +28,7 @@ #define NAV_C -#include "math.h" +#include #include "nav.h" #include "gps.h" diff --git a/sw/airborne/snav.c b/sw/airborne/snav.c index 02027b1065..0170bdb167 100644 --- a/sw/airborne/snav.c +++ b/sw/airborne/snav.c @@ -1,7 +1,7 @@ /* Smooth navigation to wp_a along an arc (around wp_cd), a segment (from wp_rd to wp_ta) and a second arc (around wp_ca) */ -#include "math.h" +#include #include "airframe.h" #include "snav.h" #include "estimator.h" diff --git a/sw/airborne/test/test_algebra.c b/sw/airborne/test/test_algebra.c index eb590b2f98..b72960d8cb 100644 --- a/sw/airborne/test/test_algebra.c +++ b/sw/airborne/test/test_algebra.c @@ -1,6 +1,6 @@ #include #include -#include "math.h" +#include #include "std.h" diff --git a/sw/airborne/test/test_bla.c b/sw/airborne/test/test_bla.c index 0852885134..cf44820534 100644 --- a/sw/airborne/test/test_bla.c +++ b/sw/airborne/test/test_bla.c @@ -3,7 +3,7 @@ #include #include -#include "math.h" +#include #include "std.h" diff --git a/sw/airborne/test/test_geodetic.c b/sw/airborne/test/test_geodetic.c index 17d5705f2c..e9ef0944a1 100644 --- a/sw/airborne/test/test_geodetic.c +++ b/sw/airborne/test/test_geodetic.c @@ -4,7 +4,7 @@ #include #include -#include "math.h" +#include #include "std.h" diff --git a/sw/airborne/vor/i86_vor_test_filters.c b/sw/airborne/vor/i86_vor_test_filters.c index fb04bc2c27..60374a2930 100644 --- a/sw/airborne/vor/i86_vor_test_filters.c +++ b/sw/airborne/vor/i86_vor_test_filters.c @@ -1,4 +1,4 @@ -#include "math.h" +#include #include #include #include diff --git a/sw/airborne/vor/vor_float_demod.c b/sw/airborne/vor/vor_float_demod.c index 04f596fdd8..8beeebbf6e 100644 --- a/sw/airborne/vor/vor_float_demod.c +++ b/sw/airborne/vor/vor_float_demod.c @@ -1,7 +1,7 @@ #include "vor_float_demod.h" #include -#include "math.h" +#include #include "vor_float_filters.h" diff --git a/sw/airborne/vor/vor_int_demod.c b/sw/airborne/vor/vor_int_demod.c index e2859cffac..f4d3dd200f 100644 --- a/sw/airborne/vor/vor_int_demod.c +++ b/sw/airborne/vor/vor_int_demod.c @@ -34,7 +34,7 @@ #include "vor_int_demod.h" -#include "math.h" +#include #include "vor_int_filters.h" diff --git a/sw/ground_segment/cockpit/actuators.c b/sw/ground_segment/cockpit/actuators.c index 59e2fa7516..957a8a52da 100644 --- a/sw/ground_segment/cockpit/actuators.c +++ b/sw/ground_segment/cockpit/actuators.c @@ -1,13 +1,13 @@ #include #include -#include "math.h" +#include #include #include #include #include -#include "math.h" +#include gint ac_id = 42; GtkWidget *spin; /* awfull but a lot easier */ diff --git a/sw/ground_segment/cockpit/ant_track.c b/sw/ground_segment/cockpit/ant_track.c index 7383560a1d..7e64fab315 100644 --- a/sw/ground_segment/cockpit/ant_track.c +++ b/sw/ground_segment/cockpit/ant_track.c @@ -25,7 +25,7 @@ */ #include #include -#include "math.h" +#include #include #include diff --git a/sw/ground_segment/joystick/usb_stick.c b/sw/ground_segment/joystick/usb_stick.c index 709c19eb24..87c7a3fab8 100644 --- a/sw/ground_segment/joystick/usb_stick.c +++ b/sw/ground_segment/joystick/usb_stick.c @@ -31,7 +31,7 @@ #include #include #include -#include "math.h" +#include #include #include #include diff --git a/sw/ground_segment/modem/main.c b/sw/ground_segment/modem/main.c index b0f1029485..ed75ef3684 100644 --- a/sw/ground_segment/modem/main.c +++ b/sw/ground_segment/modem/main.c @@ -2,7 +2,7 @@ #include #include #include -#include "math.h" +#include #include "timer.h" diff --git a/sw/ground_segment/multimon/demod_afsk12.c b/sw/ground_segment/multimon/demod_afsk12.c index fabc1c475a..fa4d1a534f 100644 --- a/sw/ground_segment/multimon/demod_afsk12.c +++ b/sw/ground_segment/multimon/demod_afsk12.c @@ -23,7 +23,7 @@ #include "multimon.h" #include "filter.h" -#include "math.h" +#include #include /* ---------------------------------------------------------------------- */ diff --git a/sw/ground_segment/multimon/demod_afsk48p.c b/sw/ground_segment/multimon/demod_afsk48p.c index c44ad7803b..d9cc366366 100644 --- a/sw/ground_segment/multimon/demod_afsk48p.c +++ b/sw/ground_segment/multimon/demod_afsk48p.c @@ -24,7 +24,7 @@ #include "multimon.h" #include "filter.h" #include "pprz.h" -#include "math.h" +#include #include /* ---------------------------------------------------------------------- */ diff --git a/sw/ground_segment/multimon/demod_display.c b/sw/ground_segment/multimon/demod_display.c index a3e485c7e6..4362ef7d6c 100644 --- a/sw/ground_segment/multimon/demod_display.c +++ b/sw/ground_segment/multimon/demod_display.c @@ -27,7 +27,7 @@ #include #include #include -#include "math.h" +#include #include #include #include diff --git a/sw/ground_segment/multimon/mkcostab.c b/sw/ground_segment/multimon/mkcostab.c index 061d763a91..7991cb069b 100644 --- a/sw/ground_segment/multimon/mkcostab.c +++ b/sw/ground_segment/multimon/mkcostab.c @@ -21,7 +21,7 @@ /* ---------------------------------------------------------------------- */ -#include "math.h" +#include #include #include /* ---------------------------------------------------------------------- */ diff --git a/sw/ground_segment/multimon/pprzlib.c b/sw/ground_segment/multimon/pprzlib.c index 49edc12e89..caa9f83cfe 100644 --- a/sw/ground_segment/multimon/pprzlib.c +++ b/sw/ground_segment/multimon/pprzlib.c @@ -32,7 +32,7 @@ #include #include #include -#include "math.h" +#include #include #include #include diff --git a/sw/ground_segment/multimon/xdisplay.c b/sw/ground_segment/multimon/xdisplay.c index 11a9a7d778..a9110039b3 100644 --- a/sw/ground_segment/multimon/xdisplay.c +++ b/sw/ground_segment/multimon/xdisplay.c @@ -27,7 +27,7 @@ #include #include #include -#include "math.h" +#include #include #include #include diff --git a/sw/ground_segment/tmtc/gpsd2ivy.c b/sw/ground_segment/tmtc/gpsd2ivy.c index 2fe5d8ab2e..9c2882ba58 100644 --- a/sw/ground_segment/tmtc/gpsd2ivy.c +++ b/sw/ground_segment/tmtc/gpsd2ivy.c @@ -51,7 +51,7 @@ #include #include #include -#include "math.h" +#include #include #include #include diff --git a/sw/include/std.h b/sw/include/std.h index 8ea2cc84c6..a0dbe2e2cd 100644 --- a/sw/include/std.h +++ b/sw/include/std.h @@ -30,7 +30,7 @@ #include //#include -#include "math.h" +#include #ifndef FALSE #define FALSE 0 diff --git a/sw/logalizer/ahrs2fg.c b/sw/logalizer/ahrs2fg.c index d2f44625f5..0aa02a3908 100644 --- a/sw/logalizer/ahrs2fg.c +++ b/sw/logalizer/ahrs2fg.c @@ -1,6 +1,6 @@ #include #include -#include "math.h" +#include #include #include "flight_gear.h" diff --git a/sw/logalizer/ahrsview.c b/sw/logalizer/ahrsview.c index 007c1699bf..752fc8be8a 100644 --- a/sw/logalizer/ahrsview.c +++ b/sw/logalizer/ahrsview.c @@ -1,6 +1,6 @@ #include #include -#include "math.h" +#include #include #include diff --git a/sw/logalizer/ctrlstick.c b/sw/logalizer/ctrlstick.c index 4acf5b99db..d445722257 100644 --- a/sw/logalizer/ctrlstick.c +++ b/sw/logalizer/ctrlstick.c @@ -29,7 +29,7 @@ #include #include #include -#include "math.h" +#include #include #include #include diff --git a/sw/logalizer/disp3d.c b/sw/logalizer/disp3d.c index ff112d522e..4a3ed71a81 100644 --- a/sw/logalizer/disp3d.c +++ b/sw/logalizer/disp3d.c @@ -21,7 +21,7 @@ /* I apologize for horrible coding. */ -#include "math.h" +#include #include #include #include diff --git a/sw/logalizer/ffjoystick.c b/sw/logalizer/ffjoystick.c index d40dc96367..bf9ba8783d 100644 --- a/sw/logalizer/ffjoystick.c +++ b/sw/logalizer/ffjoystick.c @@ -29,7 +29,7 @@ #include #include #include -#include "math.h" +#include #include #include #include diff --git a/sw/logalizer/imuview.c b/sw/logalizer/imuview.c index 7426808177..07d3672442 100644 --- a/sw/logalizer/imuview.c +++ b/sw/logalizer/imuview.c @@ -1,6 +1,6 @@ #include #include -#include "math.h" +#include #include #include diff --git a/sw/logalizer/motor_bench.c b/sw/logalizer/motor_bench.c index 85feeb48a9..cbc79737d3 100644 --- a/sw/logalizer/motor_bench.c +++ b/sw/logalizer/motor_bench.c @@ -1,6 +1,6 @@ #include #include -#include "math.h" +#include #include #include diff --git a/sw/logalizer/plot3dparse.c b/sw/logalizer/plot3dparse.c index 0059f61ef7..82270439f4 100644 --- a/sw/logalizer/plot3dparse.c +++ b/sw/logalizer/plot3dparse.c @@ -27,7 +27,7 @@ pause -1 #include #include #include -#include "math.h" +#include #include int main( int argc, char* argv[] ) diff --git a/sw/logalizer/plot_roll_loop.c b/sw/logalizer/plot_roll_loop.c index 354c4522cf..52a346dc7a 100644 --- a/sw/logalizer/plot_roll_loop.c +++ b/sw/logalizer/plot_roll_loop.c @@ -1,6 +1,6 @@ #include #include -#include "math.h" +#include #include #include diff --git a/sw/logalizer/test_2.c b/sw/logalizer/test_2.c index ee1bb5176c..0c2af0f475 100644 --- a/sw/logalizer/test_2.c +++ b/sw/logalizer/test_2.c @@ -1,4 +1,4 @@ -#include "math.h" +#include #include "ahrs_utils.h" diff --git a/sw/logalizer/utils.h b/sw/logalizer/utils.h index 4fc0f34e1b..056ad9560e 100644 --- a/sw/logalizer/utils.h +++ b/sw/logalizer/utils.h @@ -1,7 +1,7 @@ #ifndef UTILS_H #define UTILS_H -#include "math.h" +#include extern void htond (double *x); extern void htonf (float *x); diff --git a/sw/simulator/fg.c b/sw/simulator/fg.c index f973136252..77157ee975 100644 --- a/sw/simulator/fg.c +++ b/sw/simulator/fg.c @@ -5,7 +5,7 @@ #include #include -#include "math.h" +#include #include #include "flight_gear.h" diff --git a/sw/simulator/nps/nps_flightgear.c b/sw/simulator/nps/nps_flightgear.c index 9d3d325f2b..59083cca44 100644 --- a/sw/simulator/nps/nps_flightgear.c +++ b/sw/simulator/nps/nps_flightgear.c @@ -5,7 +5,7 @@ #include #include #include -#include "math.h" +#include #include "std.h" diff --git a/sw/simulator/nps/nps_random.c b/sw/simulator/nps/nps_random.c index 28ae6a1d10..05315d483e 100644 --- a/sw/simulator/nps/nps_random.c +++ b/sw/simulator/nps/nps_random.c @@ -1,7 +1,7 @@ #include "nps_random.h" -#include "math.h" +#include #include /* diff --git a/sw/simulator/old_booz/booz_flight_model.c b/sw/simulator/old_booz/booz_flight_model.c index 689700827c..d65f1fa364 100644 --- a/sw/simulator/old_booz/booz_flight_model.c +++ b/sw/simulator/old_booz/booz_flight_model.c @@ -50,7 +50,7 @@ } -#include "math.h" +#include #include "booz_flight_model_params.h" #include "booz_flight_model_utils.h" diff --git a/sw/simulator/old_booz/booz_flight_model_utils.c b/sw/simulator/old_booz/booz_flight_model_utils.c index a32e155cf0..0ad50d91dd 100644 --- a/sw/simulator/old_booz/booz_flight_model_utils.c +++ b/sw/simulator/old_booz/booz_flight_model_utils.c @@ -1,6 +1,6 @@ #include "booz_flight_model_utils.h" -#include "math.h" +#include #include "6dof.h" void rk4(ode_fun f, VEC* x, VEC* u, double dt) { diff --git a/sw/simulator/old_booz/booz_flightgear.c b/sw/simulator/old_booz/booz_flightgear.c index e9b7da7add..943895036f 100644 --- a/sw/simulator/old_booz/booz_flightgear.c +++ b/sw/simulator/old_booz/booz_flightgear.c @@ -8,7 +8,7 @@ #include #include -#include "math.h" +#include static int fg_socket; static struct sockaddr_in fg_addr; diff --git a/sw/simulator/old_booz/booz_randlcg.c b/sw/simulator/old_booz/booz_randlcg.c index 6bcfc444e8..ae28970b62 100644 --- a/sw/simulator/old_booz/booz_randlcg.c +++ b/sw/simulator/old_booz/booz_randlcg.c @@ -3,7 +3,7 @@ */ -#include "math.h" +#include #include #define ALL_BITS 0xffffffff diff --git a/sw/simulator/old_booz/booz_sensors_model.c b/sw/simulator/old_booz/booz_sensors_model.c index b1d4fedf7c..9bd0223111 100644 --- a/sw/simulator/old_booz/booz_sensors_model.c +++ b/sw/simulator/old_booz/booz_sensors_model.c @@ -1,7 +1,7 @@ #include "booz_sensors_model.h" #include BSM_PARAMS -#include "math.h" +#include #include "std.h" #include "booz_flight_model.h" diff --git a/sw/simulator/old_booz/booz_sensors_model_utils.c b/sw/simulator/old_booz/booz_sensors_model_utils.c index 2a66f37b1e..29ba3f2530 100644 --- a/sw/simulator/old_booz/booz_sensors_model_utils.c +++ b/sw/simulator/old_booz/booz_sensors_model_utils.c @@ -1,7 +1,7 @@ #include "booz_sensors_model_utils.h" #include "6dof.h" -#include "math.h" +#include void UpdateSensorLatency(double time, VEC* cur_reading, GSList **history, double latency, VEC* sensor_reading) {