blob: d38336ac6cd81c99cce6f215ae03304897ee1fdb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
function [ car ] = do_gov( car )
%UNTITLED Summary of this function goes here
% Detailed explanation goes here
if car.new_check_point
status = car.forecasts(car.lap, car.segment-1)/car.ref_time;
car.constant = car.constant + (status - 1) * 0.01;
disp(car.constant);
end
|