AP_Mount: Reduce header includes

This commit is contained in:
Michael du Breuil 2019-06-13 19:57:15 -07:00 committed by Andrew Tridgell
parent 892b687c09
commit fbd19f30e7
11 changed files with 5 additions and 8 deletions

View File

@ -1,4 +1,5 @@
#include "AP_Mount_Alexmos.h"
#include <AP_GPS/AP_GPS.h>
extern const AP_HAL::HAL& hal;

View File

@ -7,7 +7,6 @@
#include <AP_HAL/AP_HAL.h>
#include <AP_Param/AP_Param.h>
#include <AP_Math/AP_Math.h>
#include <AP_GPS/AP_GPS.h>
#include <AP_AHRS/AP_AHRS.h>
#include "AP_Mount_Backend.h"

View File

@ -1,6 +1,7 @@
#include "AP_Mount_SToRM32.h"
#include <AP_HAL/AP_HAL.h>
#include <GCS_MAVLink/GCS.h>
#include <AP_GPS/AP_GPS.h>
extern const AP_HAL::HAL& hal;

View File

@ -8,7 +8,6 @@
#include <AP_Math/AP_Math.h>
#include <AP_Common/AP_Common.h>
#include <AP_GPS/AP_GPS.h>
#include <RC_Channel/RC_Channel.h>
#include "AP_Mount_Backend.h"

View File

@ -2,7 +2,7 @@
#include <AP_HAL/AP_HAL.h>
#include <GCS_MAVLink/GCS_MAVLink.h>
#include <GCS_MAVLink/include/mavlink/v2.0/checksum.h>
#include <AP_HAL/utility/RingBuffer.h>
#include <AP_GPS/AP_GPS.h>
extern const AP_HAL::HAL& hal;

View File

@ -8,9 +8,7 @@
#include <AP_Math/AP_Math.h>
#include <AP_Common/AP_Common.h>
#include <AP_GPS/AP_GPS.h>
#include <GCS_MAVLink/GCS_MAVLink.h>
#include <RC_Channel/RC_Channel.h>
#include "AP_Mount_Backend.h"
#define AP_MOUNT_STORM32_SERIAL_RESEND_MS 1000 // resend angle targets to gimbal once per second

View File

@ -1,4 +1,5 @@
#include "AP_Mount_Servo.h"
#include <AP_GPS/AP_GPS.h>
extern const AP_HAL::HAL& hal;

View File

@ -5,7 +5,6 @@
#include <AP_Math/AP_Math.h>
#include <AP_Common/AP_Common.h>
#include <AP_GPS/AP_GPS.h>
#include <AP_AHRS/AP_AHRS.h>
#include <GCS_MAVLink/GCS_MAVLink.h>
#include <SRV_Channel/SRV_Channel.h>

View File

@ -7,6 +7,7 @@
#include <AP_Logger/AP_Logger.h>
#include <GCS_MAVLink/GCS_MAVLink.h>
#include <GCS_MAVLink/GCS.h>
#include <AP_GPS/AP_GPS.h>
extern const AP_HAL::HAL& hal;

View File

@ -10,7 +10,6 @@
#if AP_AHRS_NAVEKF_AVAILABLE
#include <AP_Math/AP_Math.h>
#include <AP_Common/AP_Common.h>
#include <AP_GPS/AP_GPS.h>
#include <GCS_MAVLink/GCS_MAVLink.h>
#include <RC_Channel/RC_Channel.h>
#include "AP_Mount_Backend.h"

View File

@ -14,7 +14,6 @@
#include "SoloGimbalEKF.h"
#include <AP_Math/AP_Math.h>
#include <AP_Common/AP_Common.h>
#include <AP_GPS/AP_GPS.h>
#include <GCS_MAVLink/GCS_MAVLink.h>
#include <AP_AccelCal/AP_AccelCal.h>