AP_MotorsHeli: Update includes so that it builds

This commit is contained in:
Robert Lefebvre 2015-08-15 12:42:46 -04:00 committed by Randy Mackay
parent d1fbf739c0
commit 6a7996d367
5 changed files with 11 additions and 14 deletions

View File

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

View File

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

View File

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

View File

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

View File

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