ardupilot/libraries/AP_Compass/Compass_learn.h
Peter Barker 42b8ee78cf AP_Compass: remove use of AP_AHRS from most headers
don't need to know the details, just that it is a class
2024-09-03 10:35:54 +10:00

17 lines
262 B
C++

#pragma once
/*
compass learning using magnetic field tables from AP_Declination and GSF
*/
class CompassLearn {
public:
CompassLearn(class Compass &compass);
// called on each compass read
void update(void);
private:
Compass &compass;
};