summaryrefslogtreecommitdiffstats
path: root/Kod/bilbana/yc4/main.m
diff options
context:
space:
mode:
authormatuv053 <matuv053@student.liu.se>2019-11-19 15:30:21 +0100
committermatuv053 <matuv053@student.liu.se>2019-11-19 15:30:21 +0100
commit8096741be8dc654c64a5fe51275388d1dbe3dd75 (patch)
tree7d0fda485e8239e3d4c89334fd959b3090c9a5fe /Kod/bilbana/yc4/main.m
parent9b94a352255d38580eaf4d585ac8554d32117799 (diff)
parent04622ee01550d947415306e40cab79db34b06b5c (diff)
downloadtfyy51-8096741be8dc654c64a5fe51275388d1dbe3dd75.tar.gz
Merge remote-tracking branch 'origin/seg_times-fix'
Diffstat (limited to 'Kod/bilbana/yc4/main.m')
-rw-r--r--Kod/bilbana/yc4/main.m6
1 files changed, 5 insertions, 1 deletions
diff --git a/Kod/bilbana/yc4/main.m b/Kod/bilbana/yc4/main.m
index d1f4e8d..885d518 100644
--- a/Kod/bilbana/yc4/main.m
+++ b/Kod/bilbana/yc4/main.m
@@ -49,11 +49,13 @@ car1.segment = 1;
car1.lap = 0;
car1.lap_times = [];
car1.seg_times = [];
+car1.seg_constant_list = []; % TODO
car1.position = 0;
car1.seg_len = [0.0 2.53 3.05 4.73 7.68 8.98 10.93 14.69 17.57];
car1.map = Bana1;
car1.approximation = [];
car1.miss_probability = 0.0;
+car1.lap_constants = [1,1,1,1,1,1,1,1,1]; % TODO
car2 = struct;
car2.num = 2;
@@ -68,7 +70,9 @@ car2.seg_times = [];
car2.position = 0;
car2.seg_len = [0.0 2.53 3.05 4.92 7.60 8.84 10.65 14.68 17.76];
car2.map = Bana2;
-car2.miss_probability = 0.05;
+car2.miss_probability = 0.1;
+car2.seg_constant_list = []; % TODO
+car2.lap_constants = [1,1,1,1,1,1,1,1,1]; % TODO
t = 0;
highToc = 0;