EKF: Add function to calculate the magnetic declination to use

This commit is contained in:
Paul Riseborough
2016-02-14 22:01:53 +01:00
committed by Roman
parent 9017e077f8
commit 83945581ed
3 changed files with 28 additions and 0 deletions
+3
View File
@@ -201,6 +201,9 @@ private:
// return true if successful
bool resetMagHeading(Vector3f &mag_init);
// calculate the magnetic declination to be used by the alignment and fusion processing
void calcMagDeclination();
// reset position states of the ekf (only vertical position)
void resetPosition();