Browse Source

AP_Mount: Reduce header includes

master
Michael du Breuil 6 years ago committed by Andrew Tridgell
parent
commit
fbd19f30e7
  1. 1
      libraries/AP_Mount/AP_Mount_Alexmos.cpp
  2. 1
      libraries/AP_Mount/AP_Mount_Alexmos.h
  3. 1
      libraries/AP_Mount/AP_Mount_SToRM32.cpp
  4. 1
      libraries/AP_Mount/AP_Mount_SToRM32.h
  5. 2
      libraries/AP_Mount/AP_Mount_SToRM32_serial.cpp
  6. 2
      libraries/AP_Mount/AP_Mount_SToRM32_serial.h
  7. 1
      libraries/AP_Mount/AP_Mount_Servo.cpp
  8. 1
      libraries/AP_Mount/AP_Mount_Servo.h
  9. 1
      libraries/AP_Mount/AP_Mount_SoloGimbal.cpp
  10. 1
      libraries/AP_Mount/AP_Mount_SoloGimbal.h
  11. 1
      libraries/AP_Mount/SoloGimbal.h

1
libraries/AP_Mount/AP_Mount_Alexmos.cpp

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

1
libraries/AP_Mount/AP_Mount_Alexmos.h

@ -7,7 +7,6 @@ @@ -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"

1
libraries/AP_Mount/AP_Mount_SToRM32.cpp

@ -1,6 +1,7 @@ @@ -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;

1
libraries/AP_Mount/AP_Mount_SToRM32.h

@ -8,7 +8,6 @@ @@ -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"

2
libraries/AP_Mount/AP_Mount_SToRM32_serial.cpp

@ -2,7 +2,7 @@ @@ -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;

2
libraries/AP_Mount/AP_Mount_SToRM32_serial.h

@ -8,9 +8,7 @@ @@ -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

1
libraries/AP_Mount/AP_Mount_Servo.cpp

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

1
libraries/AP_Mount/AP_Mount_Servo.h

@ -5,7 +5,6 @@ @@ -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>

1
libraries/AP_Mount/AP_Mount_SoloGimbal.cpp

@ -7,6 +7,7 @@ @@ -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;

1
libraries/AP_Mount/AP_Mount_SoloGimbal.h

@ -10,7 +10,6 @@ @@ -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"

1
libraries/AP_Mount/SoloGimbal.h

@ -14,7 +14,6 @@ @@ -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>

Loading…
Cancel
Save