1
0
mirror of https://gitlab.com/lander-team/lander-sim.git synced 2025-08-03 11:51:27 +00:00

auto format

This commit is contained in:
2021-04-21 21:55:34 -07:00
parent 29d2c6cff1
commit b54df48ad3

View File

@@ -19,7 +19,7 @@ D = 0; % Drag [N]
stepSize = 0.001; % Simulation Step Size [s]
[h_0, vb, burnStartTime] = burnStartTimeCalc(Tcurve, tb, M0, mdot, Mb)
%% Simulink
tic
simTime = burnStartTime + tb; % Simulation Time [s]
@@ -29,7 +29,7 @@ load_system(model);
simOut = sim(model);
toc
%% Output
%% Output
% Acceleration
figure(1)
plot(simOut.a)
@@ -74,7 +74,7 @@ for i = 1 : length(simOut.h.Data)
drawnow limitrate
% Write Animation to gif, set to zero when testing since its slow to render.
% Write Animation to gif, set to zero when testing since its slow to render.
outframes = 0;
if outframes
% Write to the GIF File