diff options
| author | Albin <albwa833@student.liu.se> | 2019-11-08 09:37:51 +0100 |
|---|---|---|
| committer | Albin <albwa833@student.liu.se> | 2019-11-08 09:37:51 +0100 |
| commit | 84a1ee353c4d5de456254828542d4b604781db23 (patch) | |
| tree | 754d34a1ce2806544a7080ac81ff86baf815b9d8 /Kod/bilbana/yc4/choose_position.m | |
| parent | 6b5407016b7d330318075cfe0d0f58cc2e4559af (diff) | |
| download | tfyy51-84a1ee353c4d5de456254828542d4b604781db23.tar.gz | |
Försökte felsöka och lade till timer för eventuell missad givare
Diffstat (limited to 'Kod/bilbana/yc4/choose_position.m')
| -rw-r--r-- | Kod/bilbana/yc4/choose_position.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kod/bilbana/yc4/choose_position.m b/Kod/bilbana/yc4/choose_position.m index 486c6d8..23d4de1 100644 --- a/Kod/bilbana/yc4/choose_position.m +++ b/Kod/bilbana/yc4/choose_position.m @@ -28,7 +28,7 @@ if near(1) == segment seg_plus = 0; disp('In right segment'); else - if near(2) < 0.5 + if near(2) < 0.7 % Behöver bli smartare. Typ jämföra andra normal miss med denna miss seg_plus = near(1) - segment new_position = set_pos( track, segment + seg_plus) beep |
