summaryrefslogtreecommitdiffstats
path: root/Kod/bilbana/yc4/main.m
diff options
context:
space:
mode:
authorDavid Thorén <davth346@student.liu.se>2019-11-28 09:07:12 +0100
committerDavid Thorén <davth346@student.liu.se>2019-11-28 09:07:12 +0100
commit9b66436f49b580fc717debd2f15e632a2177b8ed (patch)
tree1252715cd986d7304560fe785e369306a25380d8 /Kod/bilbana/yc4/main.m
parentb1ed48d84e04e8d5ae11b0e7138980844245e05c (diff)
downloadtfyy51-9b66436f49b580fc717debd2f15e632a2177b8ed.tar.gz
Inget viktigt
Diffstat (limited to 'Kod/bilbana/yc4/main.m')
-rw-r--r--Kod/bilbana/yc4/main.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kod/bilbana/yc4/main.m b/Kod/bilbana/yc4/main.m
index b8a1b32..d65abd4 100644
--- a/Kod/bilbana/yc4/main.m
+++ b/Kod/bilbana/yc4/main.m
@@ -78,7 +78,7 @@ car2.pos_at = [0.0 2.53 3.05 4.92 7.62 9.02 10.72 14.68 17.76 19.95];
car2.seg_len = [2.53 0.52 1.87 2.70 1.40 1.70 4.03 3.08 2.19];
car2.percents = [0.088, 0.022, 0.102, 0.15, 0.058, 0.11, 0.212, 0.146, 0.113];
car2.map = Bana2;
-car2.miss_probability = 0.1;
+car2.miss_probability = 0.05;
car2.seg_constant_list = []; % TODO
car2.lap_constants = [1,1,1,1,1,1,1,1,1]; % TODO
car2.seg_constant = 1;
@@ -230,11 +230,11 @@ while 1
figure(hf)
drawnow
- [car1, halt, display.data] = do_car(car1, t, display.data);
+ [car1, halt, display.data] = do_car(car1, t, display.data, boot1);
if halt
break
end
- [car2, halt, display.data] = do_car(car2, t, display.data);
+ [car2, halt, display.data] = do_car(car2, t, display.data, boot2);
if halt
break
end