main_cycling.m 551 Bytes
Newer Older
Claudio Mandrioli's avatar
Claudio Mandrioli committed
1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2
% Script for single experiment with cycling data 
Claudio Mandrioli's avatar
Claudio Mandrioli committed
3
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4

Claudio Mandrioli's avatar
Claudio Mandrioli committed
5
6

%% Load data
Claudio Mandrioli's avatar
Claudio Mandrioli committed
7
disp('Load data')
Claudio Mandrioli's avatar
Claudio Mandrioli committed
8
load('cycling_input_data');
Claudio Mandrioli's avatar
Claudio Mandrioli committed
9
10

%% Load filter settings
Claudio Mandrioli's avatar
Claudio Mandrioli committed
11
disp('Load settings')
Claudio Mandrioli's avatar
Claudio Mandrioli committed
12
13
settings=get_settings_cycling();
settings.P_treshold=2.5;
Claudio Mandrioli's avatar
Claudio Mandrioli committed
14
15

%% Run the GNSS-aided INS
Claudio Mandrioli's avatar
Claudio Mandrioli committed
16
disp('Run the GNSS-aided INS')
Claudio Mandrioli's avatar
Claudio Mandrioli committed
17
out_data=GPSaidedINS_cycling(in_data,settings);
Claudio Mandrioli's avatar
Claudio Mandrioli committed
18
19
20

%% Plot the data 
disp('Plot data')
21
plot_single_trace