summaryrefslogtreecommitdiffstats
path: root/Kod/bilbana/yc4/detect_missed.m
diff options
context:
space:
mode:
Diffstat (limited to 'Kod/bilbana/yc4/detect_missed.m')
-rw-r--r--Kod/bilbana/yc4/detect_missed.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kod/bilbana/yc4/detect_missed.m b/Kod/bilbana/yc4/detect_missed.m
index caad2ac..fb80d1c 100644
--- a/Kod/bilbana/yc4/detect_missed.m
+++ b/Kod/bilbana/yc4/detect_missed.m
@@ -2,7 +2,7 @@ function [out] = detect_missed( position, segment, track)
%DETECT_MISSED Retunerar true om position ligger utanför nuvarande segment
%
track_len = [2.53 3.05 4.73 7.68 8.98 10.93 14.96 17.57 19.60;
- 0 0 0 0 0 0 0 0 0 ]; % TODO bana 2
+ 2.53 3.05 4.92 7.60 8.84 10.65 14.68 17.76 19.95];
a = track_len(track, segment);
out = a <= position;
end