mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 05:31:36 +08:00
EKF: Add function to calculate the magnetic declination to use
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user