update selectSide() algorithm, fix plot.m
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
load('M22H_RearSuspension_Data.mat');
|
||||
selectSide('front');
|
||||
%selectSide('rear');
|
||||
|
||||
f = fplot(CamberLeft)
|
||||
% left and right data are identical
|
||||
% this piece of code works regardless of car side
|
||||
camber = fplot(CamberLeft)
|
||||
toe = fplot(ToeLeft)
|
||||
caster = fplot(CasterLeft)
|
||||
kpi = fplot(KingpinLeft)
|
||||
antidive = fplot(AntiDiveLeft)
|
||||
|
||||
if carSide == 'front'
|
||||
Ackermann = fplot(AckermannLeft)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user