diff options
| author | Gustav Sörnäs <gusso230@student.liu.se> | 2019-10-29 10:54:13 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gusso230@student.liu.se> | 2019-10-29 10:54:13 +0100 |
| commit | b9927be1043ec325358a3a05f6f6479a0650c241 (patch) | |
| tree | b670fcf52bca4d93d284e845806deeb0170a428e /Kod/bilbana/Graph/graphs_test.m | |
| parent | 56dc6f677af41549d9a6c49c200c2bad12d01ce9 (diff) | |
| parent | 785a87c8a5277abf09f44086b7dd05d2ebfb5af5 (diff) | |
| download | tfyy51-b9927be1043ec325358a3a05f6f6479a0650c241.tar.gz | |
Merge branch 'Albin_sista_raden' into 'master'
Uppdaterad segment_time_graph()
Closes #4 and #2
See merge request vehsys/tfyy51/yc4_2019!7
Diffstat (limited to 'Kod/bilbana/Graph/graphs_test.m')
| -rw-r--r-- | Kod/bilbana/Graph/graphs_test.m | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/Kod/bilbana/Graph/graphs_test.m b/Kod/bilbana/Graph/graphs_test.m index 3a2a2e5..ddc3b64 100644 --- a/Kod/bilbana/Graph/graphs_test.m +++ b/Kod/bilbana/Graph/graphs_test.m @@ -1,11 +1,14 @@ %% Data needed -car1.seg_times = [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; - 3.2,1.1,2.2,1.8,1.4,3.2,1.5,3.4,1.4; - 4.0,1.4,2.2,1.8,1.4,3.4,1.5,3.4,1.4; - 4.0,1.1,2.2,1.8,1.4,3.6,1.5,3.4,1.4; - 4.1,1.1,2.2,1.8,1.4,3.8,1.5,3.4,1.4]; +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; + 3.2,1.1,2.2,1.8,1.4,3.2,1.5,3.4,1.4; + 4.0,1.1,2.2,1.8,1.4,3.6,1.5,3.4,1.4; + 4.1,1.1,2.2,1.8,1.4,3.8, 0, 0, 0]; +B = [3.9,1.1,2.2,1.8,1.4,3.9, 0, 0, 0]; +C = [3.9,1.1,2.2,1.8,1.4,3.9,1.5,3.1,1.0; + 4.1,1.1,2.2,1.8,1.4,3.4, 0, 0, 0]; +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,1)
\ No newline at end of file +graphs(car1.lap_times,ref_lap_time,car1.seg_times,5)
\ No newline at end of file |
