2017-08-18 05:58:08 -03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
/*
|
2021-10-14 05:48:47 -03:00
|
|
|
compass learning using magnetic field tables from AP_Declination and GSF
|
2017-08-18 05:58:08 -03:00
|
|
|
*/
|
|
|
|
|
|
|
|
class CompassLearn {
|
|
|
|
public:
|
2024-08-30 23:01:02 -03:00
|
|
|
CompassLearn(class Compass &compass);
|
2017-08-18 05:58:08 -03:00
|
|
|
|
|
|
|
// called on each compass read
|
|
|
|
void update(void);
|
|
|
|
|
|
|
|
private:
|
|
|
|
Compass &compass;
|
|
|
|
};
|