Browse Source

AP_MotorsHeli: Update includes so that it builds

mission-4.1.18
Robert Lefebvre 10 years ago committed by Randy Mackay
parent
commit
457d939e77
  1. 6
      libraries/AP_Motors/AP_MotorsHeli.h
  2. 2
      libraries/AP_Motors/AP_MotorsHeli_RSC.cpp
  3. 7
      libraries/AP_Motors/AP_MotorsHeli_RSC.h
  4. 2
      libraries/AP_Motors/AP_MotorsHeli_Single.cpp
  5. 8
      libraries/AP_Motors/AP_MotorsHeli_Single.h

6
libraries/AP_Motors/AP_MotorsHeli.h

@ -9,9 +9,9 @@ @@ -9,9 +9,9 @@
#include <inttypes.h>
#include <AP_Common/AP_Common.h>
#include <AP_Math/AP_Math.h> // ArduPilot Mega Vector/Matrix math Library
#include <RC_Channel/RC_Channel.h> // RC Channel Library
#include "AP_Motors.h"
#include <AP_Math/AP_Math.h> // ArduPilot Mega Vector/Matrix math Library
#include <RC_Channel/RC_Channel.h> // RC Channel Library
#include "AP_Motors_Class.h"
#include "AP_MotorsHeli_RSC.h"
// maximum number of swashplate servos

2
libraries/AP_Motors/AP_MotorsHeli_RSC.cpp

@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
*/
#include <stdlib.h>
#include <AP_HAL.h>
#include <AP_HAL/AP_HAL.h>
#include "AP_MotorsHeli_RSC.h"

7
libraries/AP_Motors/AP_MotorsHeli_RSC.h

@ -3,10 +3,9 @@ @@ -3,10 +3,9 @@
#ifndef __AP_MOTORS_HELI_RSC_H__
#define __AP_MOTORS_HELI_RSC_H__
#include <inttypes.h>
#include <AP_Common.h>
#include <AP_Math.h>
#include <RC_Channel.h>
#include <AP_Common/AP_Common.h>
#include <AP_Math/AP_Math.h> // ArduPilot Mega Vector/Matrix math Library
#include <RC_Channel/RC_Channel.h> // RC Channel Library
class AP_MotorsHeli_RSC {
public:

2
libraries/AP_Motors/AP_MotorsHeli_Single.cpp

@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
*/
#include <stdlib.h>
#include <AP_HAL.h>
#include <AP_HAL/AP_HAL.h>
#include "AP_MotorsHeli_Single.h"
extern const AP_HAL::HAL& hal;

8
libraries/AP_Motors/AP_MotorsHeli_Single.h

@ -6,11 +6,9 @@ @@ -6,11 +6,9 @@
#ifndef __AP_MOTORS_HELI_SINGLE_H__
#define __AP_MOTORS_HELI_SINGLE_H__
#include <inttypes.h>
#include <AP_Common.h>
#include <AP_Math.h>
#include <RC_Channel.h>
#include <AP_Common/AP_Common.h>
#include <AP_Math/AP_Math.h> // ArduPilot Mega Vector/Matrix math Library
#include <RC_Channel/RC_Channel.h> // RC Channel Library
#include "AP_MotorsHeli.h"
#include "AP_MotorsHeli_RSC.h"

Loading…
Cancel
Save