past attempts/diff calculations

This commit is contained in:
xdemenchuk
2021-12-04 12:58:47 -05:00
parent c7482b4538
commit 82acad1e04

View File

@@ -9,8 +9,8 @@ x = sym('x', [1 6]);
% F_x=interp1(T,U(:,2),t,'previous','extrap');
%slip angle functions in degrees
a_f=rad2deg(delta_f-atan2(x(4)+a*x(6),x(2)));
a_r=rad2deg(-atan2((x(4)-b*x(6)),x(2)));
a_f=delta_f-atan2(x(4)+a*x(6),x(2));
a_r=-atan2((x(4)-b*x(6)),x(2));
%Nonlinear Tire Dynamics
phi_yf=(1-Ey)*(a_f+Shy)+(Ey/By)*atan(By*(a_f+Shy));