From 457b052ca449b0653368c81e4218b20d76cd515a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Sat, 23 Nov 2019 22:02:03 +0100 Subject: Use calculated values for ref, mean and std --- Kod/bilbana/yc4/display/scenes/draw_lap_graph.m | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Kod/bilbana/yc4/display/scenes/draw_lap_graph.m') diff --git a/Kod/bilbana/yc4/display/scenes/draw_lap_graph.m b/Kod/bilbana/yc4/display/scenes/draw_lap_graph.m index ec7d6dc..8c7a5d0 100644 --- a/Kod/bilbana/yc4/display/scenes/draw_lap_graph.m +++ b/Kod/bilbana/yc4/display/scenes/draw_lap_graph.m @@ -64,12 +64,12 @@ line = 12; matlabclient(1, get_smallpackage([ ... put_text(6 , y + 3 + margin_top + line*1, 'L', '1'), ... put_text(6 , y + 3 + margin_top + line*2, 'L', '2'), ... - put_text(53 , y + 2 + margin_top + line*1, 'C', 'xx.x'), ... - put_text(53 , y + 2 + margin_top + line*2, 'C', 'xx.x'), ... - put_text(160, y + 2 + margin_top + line*1, 'C', 'xx.x'), ... - put_text(160, y + 2 + margin_top + line*2, 'C', 'xx.x'), ... - put_text(266, y + 2 + margin_top + line*1, 'C', 'x.xx'), ... - put_text(266, y + 2 + margin_top + line*2, 'C', 'x.xx'), ... + put_text(53 , y + 2 + margin_top + line*1, 'C', num2str(ref_time)), ... + put_text(53 , y + 2 + margin_top + line*2, 'C', num2str(ref_time)), ... + put_text(160, y + 2 + margin_top + line*1, 'C', num2str(mean(car1_laptimes), 1)), ... + put_text(160, y + 2 + margin_top + line*2, 'C', num2str(mean(car2_laptimes), 1), ... + put_text(266, y + 2 + margin_top + line*1, 'C', num2str(std(car1_laptimes), 2)), ... + put_text(266, y + 2 + margin_top + line*2, 'C', num2str(std(car2_laptimes), 2)), ... ])); pause(dt); -- cgit v1.2.1