mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-24 08:44:08 -04:00
AP_NavEKF: Change misnomer (NFC)
This commit is contained in:
parent
ae565aef1a
commit
6e6e807223
@ -215,7 +215,7 @@ Tmn = Tsn*Tms;
|
|||||||
|
|
||||||
save 'symeqns.mat';
|
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];
|
magMeasNED = Tmn*[magX;magY;magZ];
|
||||||
% the predicted measurement is the angle wrt magnetic north of the horizontal
|
% the predicted measurement is the angle wrt magnetic north of the horizontal
|
||||||
% component of the measured field
|
% component of the measured field
|
||||||
|
@ -11,7 +11,7 @@ Tms = calcTms(gPhi,gPsi,gTheta);
|
|||||||
Tsn = Quat2Tbn([q0;q1;q2;q3]);
|
Tsn = Quat2Tbn([q0;q1;q2;q3]);
|
||||||
% Define rotation from magnetometer to NED axes
|
% Define rotation from magnetometer to NED axes
|
||||||
Tmn = Tsn*Tms;
|
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];
|
magMeasNED = Tmn*[magX;magY;magZ];
|
||||||
% the predicted measurement is the angle wrt magnetic north of the horizontal
|
% the predicted measurement is the angle wrt magnetic north of the horizontal
|
||||||
% component of the measured field
|
% component of the measured field
|
||||||
|
Loading…
Reference in New Issue
Block a user