Browse Source

AP_NavEKF: Change misnomer (NFC)

c415-sdk
murata 4 years ago committed by Peter Barker
parent
commit
6e6e807223
  1. 2
      libraries/AP_NavEKF/Models/GimbalEstimatorExample/GenerateEquations.m
  2. 2
      libraries/AP_NavEKF/Models/GimbalEstimatorExample/calcMagAng.m

2
libraries/AP_NavEKF/Models/GimbalEstimatorExample/GenerateEquations.m

@ -215,7 +215,7 @@ Tmn = Tsn*Tms; @@ -215,7 +215,7 @@ Tmn = Tsn*Tms;
save 'symeqns.mat';
% rotate magentic field measured at top plate into nav axes
% rotate magnetic field measured at top plate into nav axes
magMeasNED = Tmn*[magX;magY;magZ];
% the predicted measurement is the angle wrt magnetic north of the horizontal
% component of the measured field

2
libraries/AP_NavEKF/Models/GimbalEstimatorExample/calcMagAng.m

@ -11,7 +11,7 @@ Tms = calcTms(gPhi,gPsi,gTheta); @@ -11,7 +11,7 @@ Tms = calcTms(gPhi,gPsi,gTheta);
Tsn = Quat2Tbn([q0;q1;q2;q3]);
% Define rotation from magnetometer to NED axes
Tmn = Tsn*Tms;
% rotate magentic field measured at top plate into nav axes
% rotate magnetic field measured at top plate into nav axes
magMeasNED = Tmn*[magX;magY;magZ];
% the predicted measurement is the angle wrt magnetic north of the horizontal
% component of the measured field

Loading…
Cancel
Save