diff options
| author | Gustav Sörnäs <gusso230@student.liu.se> | 2019-11-17 21:53:48 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gusso230@student.liu.se> | 2019-11-17 21:53:48 +0100 |
| commit | 104874810c6cdfbd33e63ea465ea4360a0848fa8 (patch) | |
| tree | 347ebe7a198dbbe5b138035a0ae7e0b4bc03604a /Kod | |
| parent | 1aee59b208ea55561d49d4fc1338fd89b51fdceb (diff) | |
| download | tfyy51-104874810c6cdfbd33e63ea465ea4360a0848fa8.tar.gz | |
rename functions skladkfb
Diffstat (limited to 'Kod')
| -rw-r--r-- | Kod/scripts/display_graphs.m | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Kod/scripts/display_graphs.m b/Kod/scripts/display_graphs.m index 3c8e4de..95cdee5 100644 --- a/Kod/scripts/display_graphs.m +++ b/Kod/scripts/display_graphs.m @@ -30,18 +30,18 @@ graphs.laps = max(length(graphs.car1.lap_times), length(graphs.car2.lap_times)); disp('Drawing frame'); % input(''); matlabclient(1, get_smallpackage([ ... - draw_single_line(32, 32, 32, 192), ... + line(32, 32, 32, 192), ... continue_line(298, 192), ... - draw_single_line(28, 40, 32, 32), ... + line(28, 40, 32, 32), ... continue_line(36, 40), ... - draw_single_line(298, 188, 298, 196) ... + line(298, 188, 298, 196) ... ])); pause(0.2); disp('Drawing additional frames'); % input(''); matlabclient(1, get_smallpackage([ ... - draw_single_line(190, 0, 190, 70), ... + line(190, 0, 190, 70), ... continue_line(320, 70) ... ])); pause(0.2); @@ -49,21 +49,21 @@ pause(0.2); disp('Putting text'); % input(''); matlabclient(1, get_smallpackage([ - put_text(304, 10, 'R', 'std: 0.15s'), ... - put_text(304, 30, 'R', 'mean: 12.4s'), ... - put_text(304, 50, 'R', 'target: 12.5s') ... + text(304, 10, 'R', 'std: 0.15s'), ... + text(304, 30, 'R', 'mean: 12.4s'), ... + text(304, 50, 'R', 'target: 12.5s') ... ])); pause(0.2); disp('Drawing buttons'); % input(''); matlabclient(1, get_smallpackage([ ... - define_touch_key(0 , 208, 107, 240, 51, 61, 'C', 'Knapp 1'), ... - define_touch_key(107, 208, 213, 240, 52, 62, 'C', 'Knapp 2'), ... - define_touch_key(213, 208, 320, 240, 53, 63, 'C', 'Knapp 3') ... + key(0 , 208, 107, 240, 51, 61, 'C', 'Knapp 1'), ... + key(107, 208, 213, 240, 52, 62, 'C', 'Knapp 2'), ... + key(213, 208, 320, 240, 53, 63, 'C', 'Knapp 3') ... ])) pause(0.2); disp(''); % input(''); -matlabclient(3);
\ No newline at end of file +matlabclient(3); |
