Skip to content
Snippets Groups Projects
Commit 40042570 authored by Davide Basso's avatar Davide Basso
Browse files

Use INVALID gps correction

parent 92a158c9
No related branches found
No related tags found
No related merge requests found
...@@ -46,17 +46,17 @@ threshold = 10e-11; ...@@ -46,17 +46,17 @@ threshold = 10e-11;
% output of the system multiplied by 1000 to deal with magnitude of order % output of the system multiplied by 1000 to deal with magnitude of order
% of covariance % of covariance
H11 = 1000/a; H11 = 1/a;
H12 = 0; H12 = 0;
H21 = (1000000*x_pred(2)*sind(1000*lat0 + (1000*x_pred(1))/a))/(a*b*cosd(1000*lat0 + (1000*x_pred(1))/a)^2); H21 = (1*x_pred(2)*sind(1*lat0 + (1*x_pred(1))/a))/(a*b*cosd(1*lat0 + (1*x_pred(1))/a)^2);
H22 = 1000/(b*cosd(1000*lat0 + (1000*x_pred(1))/a)); H22 = 1/(b*cosd(1*lat0 + (1*x_pred(1))/a));
H = [ H11 H12 0 0 0 0; %Pre-allocation of gradient H = [ H11 H12 0 0 0 0; %Pre-allocation of gradient
H21 H22 0 0 0 0; H21 H22 0 0 0 0;
0 0 0 1 0 0; 0 0 0 1 0 0;
0 0 0 0 1 0;]; %of the output function 0 0 0 0 1 0;]; %of the output function
R = sigma_GPS.*[1 1 max(1,vGPS)]; %VARIANCE MATRIX SCALED R = sigma_GPS.*[1e-6 1e-6 max(1,vGPS)]; %VARIANCE MATRIX SCALED
%TAKING INTO ACCOUNT %TAKING INTO ACCOUNT
%NUMBER OF SATELITES %NUMBER OF SATELITES
%AVAILABLE %AVAILABLE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment