summaryrefslogtreecommitdiffstats
path: root/Kod/bilbana/yc4/get_new_u.m
diff options
context:
space:
mode:
authormatuv053 <matuv053@student.liu.se>2019-11-19 15:30:21 +0100
committermatuv053 <matuv053@student.liu.se>2019-11-19 15:30:21 +0100
commit8096741be8dc654c64a5fe51275388d1dbe3dd75 (patch)
tree7d0fda485e8239e3d4c89334fd959b3090c9a5fe /Kod/bilbana/yc4/get_new_u.m
parent9b94a352255d38580eaf4d585ac8554d32117799 (diff)
parent04622ee01550d947415306e40cab79db34b06b5c (diff)
downloadtfyy51-8096741be8dc654c64a5fe51275388d1dbe3dd75.tar.gz
Merge remote-tracking branch 'origin/seg_times-fix'
Diffstat (limited to 'Kod/bilbana/yc4/get_new_u.m')
-rw-r--r--Kod/bilbana/yc4/get_new_u.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kod/bilbana/yc4/get_new_u.m b/Kod/bilbana/yc4/get_new_u.m
index ee624fe..ab5e016 100644
--- a/Kod/bilbana/yc4/get_new_u.m
+++ b/Kod/bilbana/yc4/get_new_u.m
@@ -1,4 +1,4 @@
-function [ new_u ] = get_new_u( new_v, car_constant, track_u_constant )
+function [ new_u ] = get_new_u( new_v, seg_constant)
%GET_NEW_U Summary of this function goes here
% Detailed explanation goes here
@@ -9,6 +9,6 @@ ett högre new_u. De andra parametrarna som påverkar new_u är car_constant och tr
dessa värden dessa antar desto högre värde antar också new_u. new_u är programmets sista output, dess värde
0 till 127 är det gaspådrag som appliceras på bilen.
%}
-new_u = new_v*car_constant*track_u_constant;
+new_u = new_v*seg_constant;
end