Browse Source

EKF: Documentation edits

master
Paul Riseborough 6 years ago committed by Paul Riseborough
parent
commit
fabd216ca5
  1. 2
      EKF/ekf.h
  2. 2
      EKF/ekf_helper.cpp

2
EKF/ekf.h

@ -550,7 +550,7 @@ private: @@ -550,7 +550,7 @@ private:
// It is used to align the yaw angle after launch or takeoff for fixed wing vehicle.
bool realignYawGPS();
// calculate the magnetic declination to be used by the alignment and fusion processing
// Return the magnetic declination in radians to be used by the alignment and fusion processing
float getMagDeclination();
// reset position states of the ekf (only horizontal position)

2
EKF/ekf_helper.cpp

@ -766,7 +766,7 @@ bool Ekf::resetMagHeading(Vector3f &mag_init, bool increase_yaw_var, bool update @@ -766,7 +766,7 @@ bool Ekf::resetMagHeading(Vector3f &mag_init, bool increase_yaw_var, bool update
return true;
}
// Calculate the magnetic declination to be used by the alignment and fusion processing
// Return the magnetic declination in radians to be used by the alignment and fusion processing
float Ekf::getMagDeclination()
{
// set source of magnetic declination for internal use

Loading…
Cancel
Save