mirror of
https://github.com/ROB-535-F21-Team-3/Control-Project.git
synced 2025-08-23 19:02:44 +00:00
past attempts/diff calculations
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user