summaryrefslogtreecommitdiffstats
path: root/Kod/bilbana/yc4/do_boot.m
blob: ffa7878383997c67c2ca4c634185612d22a18005 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function [car, boot] = do_boot(car, boot)
%BOOT Summary of this function goes here
%   Detailed explanation goes here
if car.running == true
    %% BEFORE FIRST LAP
    if car.lap == 0
        t = toc(boot.time);
        if t > 1
            car.constant = car.constant + 0.05;
            disp(car.constant)
            boot.time = tic;
        end
    end
end
end