Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Martina Maggio
gps-modeling
Commits
9fdf3c45
Commit
9fdf3c45
authored
Feb 26, 2019
by
Claudio Mandrioli
Browse files
defined two different get_setting scripts for the car and cycling experiments
parent
0f414f20
Changes
4
Hide whitespace changes
Inline
Side-by-side
matlab/get_settings.m
→
matlab/get_settings
_car
.m
View file @
9fdf3c45
...
...
@@ -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
()
...
...
matlab/get_settings_cycling.m
View file @
9fdf3c45
...
...
@@ -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
()
...
...
matlab/run_many_car.m
View file @
9fdf3c45
...
...
@@ -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
];
%nu
b
mer of runs per each P
n_run
=
30
;
%num
b
er 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
));
...
...
matlab/run_many_cycling.m
View file @
9fdf3c45
...
...
@@ -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
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment