mirror of https://github.com/ArduPilot/ardupilot
AP_Compass: remove use of AP_AHRS from most headers
don't need to know the details, just that it is a class
This commit is contained in:
parent
9eec4fdff2
commit
42b8ee78cf
|
@ -13,6 +13,7 @@
|
||||||
#include <AP_ExternalAHRS/AP_ExternalAHRS.h>
|
#include <AP_ExternalAHRS/AP_ExternalAHRS.h>
|
||||||
#include <AP_CustomRotations/AP_CustomRotations.h>
|
#include <AP_CustomRotations/AP_CustomRotations.h>
|
||||||
#include <GCS_MAVLink/GCS.h>
|
#include <GCS_MAVLink/GCS.h>
|
||||||
|
#include <AP_AHRS/AP_AHRS.h>
|
||||||
|
|
||||||
#include "AP_Compass_config.h"
|
#include "AP_Compass_config.h"
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,12 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <AP_AHRS/AP_AHRS.h>
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
compass learning using magnetic field tables from AP_Declination and GSF
|
compass learning using magnetic field tables from AP_Declination and GSF
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class CompassLearn {
|
class CompassLearn {
|
||||||
public:
|
public:
|
||||||
CompassLearn(Compass &compass);
|
CompassLearn(class Compass &compass);
|
||||||
|
|
||||||
// called on each compass read
|
// called on each compass read
|
||||||
void update(void);
|
void update(void);
|
||||||
|
|
Loading…
Reference in New Issue