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
f3feffa7
Commit
f3feffa7
authored
Feb 26, 2019
by
Claudio Mandrioli
Browse files
removed unused script for energy-accuracy trafedoff simulations
parent
2b94477b
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/run_many.m
deleted
100644 → 0
View file @
2b94477b
%"monteCarlo" example
%% Load data
disp
(
'Loads data'
)
load
(
'GNSSaidedINS_data.mat'
);
%% Load filter settings
disp
(
'Loads settings'
)
settings
=
get_settings
();
settings
.
P_treshold
=
0.1
;
% %run first simulation
% out_data=GPSaidedINS(in_data,settings);
% energy=out_data.energy;
% error=out_data.error;
figure
(
4
)
hold
on
grid
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
]];
j
=
1
;
for
P_treshold
=
[
2.0
,
4.0
,
6.0
,
8.0
]
%[2.3,2.8,3.3,3.8,4.3,4.8,5.3,5.8,6.3,6.8,7.3]
clear
energy
error
settings
.
P_treshold
=
P_treshold
;
%run first simulation
out_data
=
GPSaidedINS
(
in_data
,
settings
);
energy
=
out_data
.
energy
;
error
=
out_data
.
error
;
% energy=[energy,out_data.energy];
% error=[error,out_data.error];
%run more simulations
for
k
=
1
:
10
%% Run the GNSS-aided INS
disp
(
'Running the GNSS-aided INS'
)
P_treshold
k
out_data
=
GPSaidedINS
(
in_data
,
settings
);
energy
=
[
energy
,
out_data
.
energy
];
error
=
[
error
,
out_data
.
error
];
end
%plot data
scatter
(
energy
,
error
,
40
,
color
(
j
,:),
'o'
,
'filled'
)
xlabel
(
'energy'
)
ylabel
(
'error'
)
%title(['P treshold = ', num2str(P_treshold)])
grid
j
=
j
+
1
;
end
% %plot data
% figure(2)
% scatter(energy, error)
% xlabel('energy')
% ylabel('error')
% grid
Write
Preview
Markdown
is supported
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