summaryrefslogtreecommitdiffstats
path: root/Kod/bilbana/yc4/display/scenes/draw_lap_graph.m
diff options
context:
space:
mode:
Diffstat (limited to 'Kod/bilbana/yc4/display/scenes/draw_lap_graph.m')
-rw-r--r--Kod/bilbana/yc4/display/scenes/draw_lap_graph.m12
1 files changed, 6 insertions, 6 deletions
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);