AP_AHRS: move LogOriginType into AP_AHRS

only used to log the origins by the AHRS library
This commit is contained in:
Peter Barker 2021-12-02 13:04:02 +11:00 committed by Peter Barker
parent fe7e2ed657
commit 1dd34d87e7

View File

@ -425,6 +425,11 @@ public:
void Log_Write_Home_And_Origin();
void Write_AHRS2(void) const;
void Write_Attitude(const Vector3f &targets) const;
enum class LogOriginType {
ekf_origin = 0,
ahrs_home = 1
};
void Write_Origin(uint8_t origin_type, const Location &loc) const;
void Write_POS(void) const;