Browse Source

AP_Motors: tidy includes

apm_2208
Peter Barker 3 years ago committed by Andrew Tridgell
parent
commit
8930b5f6f5
  1. 1
      libraries/AP_Motors/AP_MotorsMatrix_6DoF_Scripting.cpp
  2. 1
      libraries/AP_Motors/AP_Motors_Class.cpp
  3. 5
      libraries/AP_Motors/AP_Motors_Class.h

1
libraries/AP_Motors/AP_MotorsMatrix_6DoF_Scripting.cpp

@ -18,6 +18,7 @@ @@ -18,6 +18,7 @@
#include <AP_HAL/AP_HAL.h>
#include "AP_MotorsMatrix_6DoF_Scripting.h"
#include <AP_Vehicle/AP_Vehicle.h>
#include <SRV_Channel/SRV_Channel.h>
extern const AP_HAL::HAL& hal;

1
libraries/AP_Motors/AP_Motors_Class.cpp

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

5
libraries/AP_Motors/AP_Motors_Class.h

@ -1,10 +1,9 @@ @@ -1,10 +1,9 @@
#pragma once
#include <AP_Common/AP_Common.h>
#include <AP_Math/AP_Math.h> // ArduPilot Mega Vector/Matrix math Library
#include <AP_Notify/AP_Notify.h> // Notify library
#include <SRV_Channel/SRV_Channel.h>
#include <AP_Math/AP_Math.h>
#include <Filter/Filter.h> // filter library
#include <GCS_MAVLink/GCS_MAVLink.h>
// offsets for motors in motor_out and _motor_filtered arrays
#define AP_MOTORS_MOT_1 0U

Loading…
Cancel
Save