Commit 9fdf3c45 authored by Claudio Mandrioli's avatar Claudio Mandrioli
Browse files

defined two different get_setting scripts for the car and cycling experiments

parent 0f414f20
......@@ -5,9 +5,10 @@
%
% Edit: Isaac Skog (skog@kth.se), 2016-09-01
% Revised: Bo Bernhardsson 2018-01-01
% Revised: Claudio Mandrioli 2019-02-26
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function settings=get_settings()
function settings=get_settings_car()
......
......@@ -5,9 +5,10 @@
%
% Edit: Isaac Skog (skog@kth.se), 2016-09-01
% Revised: Bo Bernhardsson 2018-01-01
% Revised: Claudio Mandrioli 2019-02-26
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function settings=get_settings()
function settings=get_settings_cycling()
......
......@@ -6,14 +6,14 @@ load('GNSSaidedINS_data.mat');
%% Load filter settings
disp('Loads settings')
settings=get_settings();
settings=get_settings_car();
%vector of RGB colors for plotting for the different P references
color=[[0.7,0.0,0.0];[0.0,0.7,0.0];[0.7,0.0,0.7];[0.0,0.0,0.7];[0.0,0.7,0.7];[0.7,0.7,0.0]];
%vector of refrences for P
P_treshold=[4.0,5.0,6.0,8.0,10.0,12.0];
%nubmer of runs per each P
n_run=30;
%number of runs per each P
n_run=1;
%allocate memory for output
energy=zeros(n_run,length(P_treshold));
error=zeros(n_run,length(P_treshold));
......
......@@ -13,7 +13,7 @@ color=[[0.7,0.0,0.0];[0.0,0.7,0.0];[0.7,0.0,0.7];[0.0,0.0,0.7];[0.0,0.7,0.7];[0.
%vector of refrences for P
P_treshold=[4.0,5.0,6.0,8.0,10.0,12.0];
%nubmer of runs per each P
n_run=30;
n_run=1;
%allocate memory for output
energy=zeros(n_run,length(P_treshold));
error=zeros(n_run,length(P_treshold));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment