
clear all;close all;clc

main_folder = '/home/jorge/Escritorio/kitti/Person/';

n=1;

%% Right to left non stop
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0053');
trials{c}.start = 7;
trials{c}.bad = [13 15 44 45 46 47 48 57 59 60 61 62 64 65 66];
trials{c}.end = 66;
c=c+1;

%Too many people
%trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0138');
%c=c+1;

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0141');
trials{c}.start = 3;
trials{c}.bad = [8 9 10 11 15];
trials{c}.end = 49;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_nostop_p_1.txt';
n=n+1;

%% Right to left, stop in the middle
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0066');
trials{c}.start = 8;
trials{c}.bad = [];
trials{c}.end = 28;
c=c+1;

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0071');
trials{c}.start = 8;
trials{c}.bad = [11 12 13];
trials{c}.end = 42;
c=c+1;

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0103');
trials{c}.start = 4;
trials{c}.bad = [7 8 9 10 15];
trials{c}.end = 37;
c=c+1;

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0143');
trials{c}.start = 9;
trials{c}.bad = [];
trials{c}.end = 31;
c=c+1;

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0145');
trials{c}.start = 2;
trials{c}.bad = [7 8 9 10];
trials{c}.end = 34;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_stop_p_1.txt';
n=n+1;

%% Left to right, no stop
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0068');
trials{c}.start = 8;
trials{c}.bad = [10 57 58 59];
trials{c}.end = 61;
c=c+1;

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0100');
trials{c}.start = 16;
trials{c}.bad = [34 58];
trials{c}.end = 60;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'LR_nostop_p_1.txt';
n=n+1;

%% Left to right, stop in the middle
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0054');
trials{c}.start = 10;
trials{c}.bad = [12 18 32 33 35];
trials{c}.end = 36;
c=c+1;

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0065');
trials{c}.start = 11;
trials{c}.bad = [13 22];
trials{c}.end = 32;
c=c+1;

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0070');
trials{c}.start = 3;
trials{c}.bad = [4 14];
trials{c}.end = 30;
c=c+1;

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0102');
trials{c}.start = 10;
trials{c}.bad = [];
trials{c}.end = 34;
c=c+1;

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0104');
trials{c}.start = 14;
trials{c}.bad = [19 42];
trials{c}.end = 43;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'LR_stop_p_1.txt';
n=n+1;

%% Far to close, no stop
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0171');
trials{c}.start = 2;
trials{c}.bad = [19 20 21 22 26];
trials{c}.end = 27;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'FC_nostop_p_1.txt';
n=n+1;

%% Left to right, non stop, person 2 (red t-shirt long hair)
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0184');
trials{c}.start = 11;
trials{c}.bad = [14 15 27 32 37 43 57 63];
trials{c}.end = 69;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'LR_nostop_p_2.txt';
n=n+1;

%% Right to Left, non stop, person 2 (red t-shirt long hair)
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0185');
trials{c}.start = 8;
trials{c}.bad = [25 27 28 39 40 54 55];
trials{c}.end = 59;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_nostop_p_2.txt';
n=n+1;

%% Left to right, stop in the middle, person 2 (red t-shirt long hair)
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0186');
trials{c}.start = 6;
trials{c}.bad = [10 11 13 21 22];
trials{c}.end = 32;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'LR_stop_p_2.txt';
n=n+1;

%% Right to left, stop in the middle, person 2 (red t-shirt long hair)
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0187');
trials{c}.start = 8;
trials{c}.bad = [10 11 15 23 24 28 32 34 35 37];
trials{c}.end = 47;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_stop_p_2.txt';
n=n+1;

%% Far to close, no stop, person 2 (red t-shirt long hair)
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0191');
trials{c}.start = 3;
trials{c}.bad = [9 28 35];
trials{c}.end = 36;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'FC_nostop_p_2.txt';
n=n+1;

%% Right to left, non stop, person 3 (light blue t-shirt)
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0177');
trials{c}.start = 7;
trials{c}.bad = [9 14 23 32];
trials{c}.end = 46;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_nostop_p_3.txt';
n=n+1;

%% Right to left, stop in the middle, person 3 (light blue t-shirt)
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0179');
trials{c}.start = 13;
trials{c}.bad = [];
trials{c}.end = 37;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_stop_p_3.txt';
n=n+1;

%% Far to close, non stop, person 3 (light blue t-shirt)
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0183');
trials{c}.start = 2;
trials{c}.bad = [];
trials{c}.end = 34;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'FC_nostop_p_3.txt';
n=n+1;

%% Right to left, non stop, person 4 (black t-shirt)
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0057');
trials{c}.start = 7;
trials{c}.bad = [29 41 47 53 54];
trials{c}.end = 55;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_nostop_p_4.txt';
n=n+1;


%% Close to far, non stop, person 4 (black t-shirt)
% Does not work, background subtraction removes too many points
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0222'); 
trials{c}.start = 2;
trials{c}.bad = [11 12 14 15 16];
trials{c}.end = 11;
c=c+1;

% list{n}.trials = trials;
% list{n}.results_file_name = 'right_to_left_non_stop_person_4.txt';
% n=n+1;


%% Right to left, non stop, person 5 (with t-shirt girl)
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0125');
trials{c}.start = 6;
trials{c}.bad = [41 42 43 46 47];
trials{c}.end = 50;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_nostop_p_5.txt';
n=n+1;

%% Left to right, stop in the middle, person 5 (with t-shirt girl)
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0126');
trials{c}.start = 3;
trials{c}.bad = [8 9 19];
trials{c}.end = 30;
c=c+1;

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0128');
trials{c}.start = 4;
trials{c}.bad = [10 18];
trials{c}.end = 28;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'LR_stop_p_5.txt';
n=n+1;

%% Right to left, non stop, person 6 (dark pink squared shirt)
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0132');
trials{c}.start = 3;
trials{c}.bad = [17 26 27 31 33 34 36 38 40 41 42];
trials{c}.end = 46;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_nostop_p_6.txt';
n=n+1;

%% Right to left, stop in the middle, person 6 (dark pink squared shirt)
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0134');
trials{c}.start = 14;
trials{c}.bad = [17 18 19 20 23 24 25 33];
trials{c}.end = 45;
c=c+1;

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0136');
trials{c}.start = 8;
trials{c}.bad = [22 23];
trials{c}.end = 30;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_stop_p_6.txt';
n=n+1;

%% Left to right, stop in the middle, person 6 (dark pink squared shirt)
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0135');
trials{c}.start = 11;
trials{c}.bad = [13 15 17 20 21 25 26 27 29 30:37];
trials{c}.end = 41;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'LR_stop_p_6.txt';
n=n+1;

%% Left to right, non stop, person 7
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0075');
trials{c}.start = 5;
trials{c}.bad = [9 38 48];
trials{c}.end = 51;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'LR_nostop_p_7.txt';
n=n+1;

%% Left to right, stop in the middle, person 7
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0077');
trials{c}.start = 12;
trials{c}.bad = [15 17 19 20 33 36];
trials{c}.end = 41;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'LR_stop_p_7.txt';
n=n+1;

%% Right to left, stop in the middle, person 7
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0078');
trials{c}.start = 18;
trials{c}.bad = [];
trials{c}.end = 36;
c=c+1;

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0080');
trials{c}.start = 17;
trials{c}.bad = [];
trials{c}.end = 35;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_stop_p_7.txt';
n=n+1;

%% Right to left, stop in the middle, person 8
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0086');
trials{c}.start = 9;
trials{c}.bad = [10 11];
trials{c}.end = 29;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_stop_p_8.txt';
n=n+1;

%% Left to right, non stop, person 9
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0087');
trials{c}.start = 3;
trials{c}.bad = [11 12 13 22 33 44 49 50 54 55 57];
trials{c}.end = 60;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'LR_nostop_p_9.txt';
n=n+1;


%% Left to right, stop in the middle, person 9, not working due to a girl walking on the right
% c=1;
% clear trials

% trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0089');
% trials{c}.start = 15;
% trials{c}.bad = [];
% trials{c}.end = 15;
% c=c+1;

% list{n}.trials = trials;
% list{n}.results_file_name = 'left_to_right_stop_in_the_middle_person_9.txt';
% n=n+1;

%% Right to left, stop in the middle, person 9
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0090');
trials{c}.start = 15;
trials{c}.bad = [17 19 21 22 30];
trials{c}.end = 43;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_stop_p_9.txt';
n=n+1;

%% Right to left, non stop, person 10
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0094');
trials{c}.start = 20;
trials{c}.bad = [28 42];
trials{c}.end = 64;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_nostop_p_10.txt';
n=n+1;

%% Left to right, stop in the middle, person 10
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0095');
trials{c}.start = 19;
trials{c}.bad = [20 21];
trials{c}.end = 39;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'LR_stop_p_10.txt';
n=n+1;

%% Right to left, stop in the middle, person 10
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0096');
trials{c}.start = 18;
trials{c}.bad = [21 27 30 34];
trials{c}.end = 44;
c=c+1;

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0098');
trials{c}.start = 19;
trials{c}.bad = [21 22 24];
trials{c}.end = 39;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_stop_p_10.txt';
n=n+1;

%% Left to right, non stop, person 11
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0106');
trials{c}.start = 17;
trials{c}.bad = [19 20 21 30 45 49 50 56 59 60];
trials{c}.end = 65;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'LR_nostop_p_11.txt';
n=n+1;

%% Left to right, stop in the middle, person 11
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0108');
trials{c}.start = 13;
trials{c}.bad = [17 18 20 21 29 30 35];
trials{c}.end = 43;
c=c+1;

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0110');
trials{c}.start = 39;
trials{c}.bad = [50 53 56];
trials{c}.end = 62;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'LR_stop_p_11.txt';
n=n+1;

%% Right to left, non stop, person 12
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0113');
trials{c}.start = 13;
trials{c}.bad = [];
trials{c}.end = 56;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_nostop_p_12.txt';
n=n+1;

%% Right to left, stop in the middle, person 12
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0117');
trials{c}.start = 8;
trials{c}.bad = [10 11 15 17 20 24 26 29];
trials{c}.end = 34;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_stop_p_12.txt';
n=n+1;

%% Right to left, non stop, person 13
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0119');
trials{c}.start = 9;
trials{c}.bad = [12 14 22 31 42 43 47 50];
trials{c}.end = 52;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_nostop_p_13.txt';
n=n+1;

%% Right to left, stop in the middle, person 13
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0121');
trials{c}.start = 7;
trials{c}.bad = [9 11 25 26];
trials{c}.end = 45;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_stop_p_13.txt';
n=n+1;

%% Left to right, stop in the middle, person 13
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0122');
trials{c}.start = 19;
trials{c}.bad = [25 27 31 32 34 38 40 41];
trials{c}.end = 42;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'LR_stop_p_13.txt';
n=n+1;

%% Left to right, non stop, person 14
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0146');
trials{c}.start = 8;
trials{c}.bad = [12 13 14 43];
trials{c}.end = 53;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'LR_nostop_p_14.txt';
n=n+1;

%% Right to left, stop in the middle, person 14
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0149');
trials{c}.start = 16;
trials{c}.bad = [41];
trials{c}.end = 43;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_stop_p_14.txt';
n=n+1;

%% Right to left, non stop, person 15
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0153');
trials{c}.start = 5;
trials{c}.bad = [7 12 13 18 52 58 64 65];
trials{c}.end = 68;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_nostop_p_15.txt';
n=n+1;

%% Left to right, stop in the middle, person 15
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0154');
trials{c}.start = 17;
trials{c}.bad = [21 22 26 27];
trials{c}.end = 39;
c=c+1;

% Lots of persons
% trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0156');

list{n}.trials = trials;
list{n}.results_file_name = 'LR_stop_p_15.txt';
n=n+1;

%% Right to left, stop in the middle, person 15
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0155');
trials{c}.start = 17;
trials{c}.bad = [18];
trials{c}.end = 41;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_stop_p_15.txt';
n=n+1;

%% Left to right, stop in the middle, person 16
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0160');
trials{c}.start = 11;
trials{c}.bad = [15 19 22];
trials{c}.end = 30;
c=c+1;

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0162');
trials{c}.start = 9;
trials{c}.bad = [14 15 17 19 21];
trials{c}.end = 34;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'LR_stop_p_16.txt';
n=n+1;

%% Right to left, stop in the middle, person 16
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0161');
trials{c}.start = 12;
trials{c}.bad = [25 26 32];
trials{c}.end = 35;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_stop_p_16.txt';
n=n+1;

%% Close to far, non stop, person 16
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0174');
trials{c}.start = 8;
trials{c}.bad = [20 24 26 27 32 39 47 48 50];
trials{c}.end = 53;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'CF_nostop_p_16.txt';
n=n+1;

%% Right to left, non stop, person 17
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0165');
trials{c}.start = 11;
trials{c}.bad = [33 43 46 48 51 55 57];
trials{c}.end = 59;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_nostop_p_17.txt';
n=n+1;

%% Left to right, stop in the middle, person 17
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0166');
trials{c}.start = 22;
trials{c}.bad = [27 31 33 35];
trials{c}.end = 38;
c=c+1;

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0168');
trials{c}.start = 35;
trials{c}.bad = [43];
trials{c}.end = 48;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'LR_stop_p_15.txt';
n=n+1;

%% Right to left, stop in the middle, person 17
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0167');
trials{c}.start = 19;
trials{c}.bad = [23 36 37 42];
trials{c}.end = 49;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_stop_p_17.txt';
n=n+1;

%% Left to right, non stop, person 18
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0192');
trials{c}.start = 12;
trials{c}.bad = [56 60];
trials{c}.end = 62;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'LR_nostop_p_18.txt';
n=n+1;

%% Right to left, stop in the middle, person 18
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0195');
trials{c}.start = 8;
trials{c}.bad = [15 17];
trials{c}.end = 33;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_stop_p_18.txt';
n=n+1;

%% Right to left, unknown, person 18, second person crossing
c=1;
clear trials

% trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0198');

% list{n}.trials = trials;
lirst{n}.results_file_name = 'right_to_left_stop_in_the_middle_person_18.txt';
% n=n+1;

%% Close to far, non stop, person 18, background subtraction eats the head
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0199');
trials{c}.start = 3;
trials{c}.bad = [9 14 18 21];
trials{c}.end = 25;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'CF_nostop_p_18.txt';
n=n+1;

%% Left to right, non stop, person 19
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0201');
trials{c}.start = 5;
trials{c}.bad = [8 13 45];
trials{c}.end = 66;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'LR_nostop_p_19.txt';
n=n+1;

%% Right to left, stop in the middle, person 19
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0204');
trials{c}.start = 16;
trials{c}.bad = [20 31 34 35];
trials{c}.end = 46;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_stop_p_19.txt';
n=n+1;

%% Left to right, stop in the middle, person 19
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0205');
trials{c}.start = 5;
trials{c}.bad = [9 10 11 14 20 23 24];
trials{c}.end = 33;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'LR_stop_p_19.txt';
n=n+1;

%% Far to close, non stop, person 19, with extra preson on the left
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0208');
trials{c}.start = 6;
trials{c}.bad = [20 37];
trials{c}.end = 49;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'FC_nostop_p_19.txt';
n=n+1;

%% Left to right, non stop, person 20
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0209');
trials{c}.start = 6;
trials{c}.bad = [10 12:17 21 43 47 48 49 50 58 59 66 69 71];
trials{c}.end = 72;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'LR_no_stop_p_20.txt';
n=n+1;

%% Right to left, stop in the middle, person 20
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0214');
trials{c}.start = 3;
trials{c}.bad = [6 10 16 29 30];
trials{c}.end = 35;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'RL_stop_p_20.txt';
n=n+1;

%% Far to close, non stop, person 20
c=1;
clear trials

trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0216');
trials{c}.start = 5;
trials{c}.bad = [6 9 10 11 15 20 31 32 37 41 42 43];
trials{c}.end = 48;
c=c+1;

list{n}.trials = trials;
list{n}.results_file_name = 'FC_nostop_p_20.txt';
n=n+1;

%% Close to far, non stop, person 21, pedestrian not well extracted
% c=1;
% clear trials

% trials{c}.path = fullfile(main_folder,'2011_09_28_drive_0220');

% list{n}.trials = trials;
% list{n}.results_file_name = 'close_to_far_non_stop_person_21.txt';
% n=n+1;

