diff options
| author | aletu130 <aletu130@student.liu.se> | 2019-11-07 15:47:00 +0100 |
|---|---|---|
| committer | aletu130 <aletu130@student.liu.se> | 2019-11-07 15:47:00 +0100 |
| commit | 11b47c710d1521f5b4c1193274f2b1e25b96645b (patch) | |
| tree | 97623f0164b8b1a9ade6f9cc7f312810d76624ba | |
| parent | fe544c6468464732bb64106f696bd6ffedade085 (diff) | |
| download | tfyy51-11b47c710d1521f5b4c1193274f2b1e25b96645b.tar.gz | |
nån småändring
| -rw-r--r-- | Kod/bilbana/yc4/main.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Kod/bilbana/yc4/main.m b/Kod/bilbana/yc4/main.m index 0ff21c8..fca9819 100644 --- a/Kod/bilbana/yc4/main.m +++ b/Kod/bilbana/yc4/main.m @@ -122,7 +122,8 @@ while 1 %car1.approximation(car1.lap, car1.segment) = approximation; if car1.lap > 2 %Säkerhetsmarginal (Bör vara 1?) disp(car1); - [car1.position,seg_plus] = choose_position(car1.position,car1.segment, 1); + [car1.position, seg_plus] = ... + choose_position(car1.position,car1.segment, 1); %car1.position = x(1); car1.segment = car1.segment + seg_plus; else |
