Browse Source

AP_NavEKF: Change misnomer (NFC)

c415-sdk
murata 4 years ago committed by Peter Barker
parent
commit
0536be1c88
  1. 4
      libraries/AP_NavEKF/Models/AttErrVecMathExample/FuseMagnetometer.m
  2. 4
      libraries/AP_NavEKF/Models/AttErrVecMathExample/FuseVelocity.m
  3. 4
      libraries/AP_NavEKF/Models/GimbalEstimatorExample/FuseMagnetometer.m
  4. 4
      libraries/AP_NavEKF/Models/GimbalEstimatorExample/FuseVelocity.m

4
libraries/AP_NavEKF/Models/AttErrVecMathExample/FuseMagnetometer.m

@ -49,8 +49,8 @@ end @@ -49,8 +49,8 @@ end
states(1:3) = 0;
states = states - Kfusion * innovation;
% the first 3 states represent the angular misalignment vector. This is
% is used to correct the estimate quaternion
% the first 3 states represent the angular misalignment vector.
% This is used to correct the estimate quaternion
% Convert the error rotation vector to its equivalent quaternion
% error = truth - estimate
rotationMag = sqrt(states(1)^2 + states(2)^2 + states(3)^2);

4
libraries/AP_NavEKF/Models/AttErrVecMathExample/FuseVelocity.m

@ -37,8 +37,8 @@ for obsIndex = 1:3 @@ -37,8 +37,8 @@ for obsIndex = 1:3
% Store tilt error estimate for external monitoring
angErrVec = angErrVec + states(1:3);
% the first 3 states represent the angular misalignment vector. This is
% is used to correct the estimated quaternion
% the first 3 states represent the angular misalignment vector.
% This is used to correct the estimated quaternion
% Convert the error rotation vector to its equivalent quaternion
% truth = estimate + error
rotationMag = sqrt(states(1)^2 + states(2)^2 + states(3)^2);

4
libraries/AP_NavEKF/Models/GimbalEstimatorExample/FuseMagnetometer.m

@ -48,8 +48,8 @@ end @@ -48,8 +48,8 @@ end
states(1:3) = 0;
states = states - Kfusion * innovation;
% the first 3 states represent the angular misalignment vector. This is
% is used to correct the estimate quaternion
% the first 3 states represent the angular misalignment vector.
% This is used to correct the estimate quaternion
% Convert the error rotation vector to its equivalent quaternion
% error = truth - estimate
rotationMag = sqrt(states(1)^2 + states(2)^2 + states(3)^2);

4
libraries/AP_NavEKF/Models/GimbalEstimatorExample/FuseVelocity.m

@ -37,8 +37,8 @@ for obsIndex = 1:3 @@ -37,8 +37,8 @@ for obsIndex = 1:3
% Store tilt error estimate for external monitoring
angErrVec = angErrVec + states(1:3);
% the first 3 states represent the angular misalignment vector. This is
% is used to correct the estimated quaternion
% the first 3 states represent the angular misalignment vector.
% This is used to correct the estimated quaternion
% Convert the error rotation vector to its equivalent quaternion
% truth = estimate + error
rotationMag = sqrt(states(1)^2 + states(2)^2 + states(3)^2);

Loading…
Cancel
Save