From 8f8c2e89d8f2373eeca8f39c80b6001cae383ffa Mon Sep 17 00:00:00 2001 From: Albin Date: Wed, 6 Nov 2019 17:39:00 +0100 Subject: =?UTF-8?q?B=C3=B6rjade=20skriva=20p=C3=A5=20missade=20givare?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Kod/bilbana/Graph/graphs_test.m | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Kod/bilbana/Graph/graphs_test.m') diff --git a/Kod/bilbana/Graph/graphs_test.m b/Kod/bilbana/Graph/graphs_test.m index ddc3b64..955aeee 100644 --- a/Kod/bilbana/Graph/graphs_test.m +++ b/Kod/bilbana/Graph/graphs_test.m @@ -1,3 +1,4 @@ +%{ %% Data needed A = [3.9,1.1,2.2,1.8,1.4,3.9,1.5,3.4,1.4; 4.2,1.1,2.2,1.8,1.4,3.4,1.5,3.4,1.4; @@ -11,4 +12,8 @@ car1.seg_times = C; car1.lap_times = [14.1,13.8,14.15,13.9,14.1,14]; ref_lap_time = 14; %% Actual test -graphs(car1.lap_times,ref_lap_time,car1.seg_times,5) \ No newline at end of file +graphs(car1.lap_times,ref_lap_time,car1.seg_times,5) +%} +position = 2.54; +segment = 2; +detect_missed(position,segment,1) \ No newline at end of file -- cgit v1.2.1