Now that we're getting bigger and sharing more code on this site, I'd like to find something better than putting random files in discussion responses. Has anyone had enough experience with the various code repositories out there to recommend one that would work for our purposes? Most of the ones I've seen require you to use gnarly *nix command-line software tracking tools like QVC and git, which are too complicated for our purposes. Anything simple with a web interface that will just let us upload code and track versions, etc?
Hi everyone,
I have this nagging problem I've been trying to solve for the past 6 weeks. And that is how to simulate the optimisation of the integrated GPS/INS system with a Kalman using MATLAB. That is to demonstrate that the Kalman filter bounds the individual errors of the sensors (ie GPS and INS). Can anyone deliver me from this nightmare please!!!!
% Gravity measurements----------------------------
ax=Accx(i)-Acorrx; % Gravity measurements in body frame
ay=Accy(i)-Acorry;
az=Accz(i)-Acorrz;
[x,P,K]=correction(x,P,R,11,ax);
[x,P,K]=correction(x,P,R,12,ay);
[x,P,K]=correction(x,P,R,13,az);
% Magnetic measurements-------------------------
if j<=length(time3)
t_magn=time3(j)/1000;
if t_magn<=t+Te/2 & t_magn>=t-Te/2 % Nearest time coincidence into Te grid
mx=Magx(j)-Mcorrx; % Magnetic measurements in body frame
my=Magy(j)-Mcorry;
mz=Magz(j)-Mcorrz;
M=unity([mx my mz]');
mx=M(1);
my=M(2);
mz=M(3);
[x,P,K]=correction(x,P,R, 8,mx);
[x,P,K]=correction(x,P,R, 9,my);
[x,P,K]=correction(x,P,R,10,mz);
j=j+1;
end
end