Documentation: Correções gramaticais e add arquivos faltantes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
close all; clc;
|
||||
hold on;
|
||||
title("desiredSpeed = 100m/s, threshold = 2m/s²");
|
||||
title("desiredSpeed = 1.0m/s");
|
||||
xlabel("Amostra (10ms)");
|
||||
ylabel("Aceleração (m/s²)")
|
||||
plot(encoderAccel);
|
||||
@@ -11,7 +11,7 @@ ylabel("Velocidade referência (m/s)");
|
||||
plot(desiredSpeed1);
|
||||
ax.YAxis(1).Limits = [-15, 15];
|
||||
ax.YAxis(1).Color = [0, 0, 0];
|
||||
ax.YAxis(2).Limits = [-100, 100];
|
||||
ax.YAxis(2).Limits = [-1, 1];
|
||||
ax.YAxis(2).Color = [0, 0, 0];
|
||||
ax.XAxis.Limits = [0, 500];
|
||||
legend({'encoderAccel (m/s²)','imuAccel (m/s²)', 'desiredSpeed (m/s)'},'Location','southwest')
|
||||
|
||||
Binary file not shown.
12
Code/pidTuner/AnalyzerPidTuner.m
Normal file
12
Code/pidTuner/AnalyzerPidTuner.m
Normal file
@@ -0,0 +1,12 @@
|
||||
close all; clc;
|
||||
hold on;
|
||||
% title("desiredSppeed = 100");
|
||||
xlabel("Amostra (10ms)");
|
||||
ylabel("Velocidade (m/s)")
|
||||
plot(StepResponse3SClean);
|
||||
ax = gca;
|
||||
ax.YAxis(1).Limits = [0, 2];
|
||||
ax.YAxis(1).Color = [0, 0, 0];
|
||||
ax.XAxis.Limits = [0, 100];
|
||||
legend({'Velocidade (m/s)'},'Location','southwest')
|
||||
hold off;
|
||||
14
Code/pidTuner/AnalyzerPidTuner2.m
Normal file
14
Code/pidTuner/AnalyzerPidTuner2.m
Normal file
@@ -0,0 +1,14 @@
|
||||
close all; clc;
|
||||
hold on;
|
||||
% title("desiredSppeed = 100");
|
||||
plot([0:0.01:2.67], StepResponse3SClean, "red");
|
||||
stepResponse = step(Differential3S, [0:0.01:2.67]);
|
||||
plot([0:0.01:2.67], stepResponse, "blue");
|
||||
xlabel("Tempo(s)");
|
||||
ylabel("Velocidade (m/s)")
|
||||
ax = gca;
|
||||
ax.YAxis(1).Limits = [0, 2];
|
||||
ax.YAxis(1).Color = [0, 0, 0];
|
||||
ax.XAxis.Limits = [0, 1];
|
||||
legend({'Velocidade medida (m/s)', 'Velocidade simulada (m/s)'},'Location','southwest')
|
||||
hold off;
|
||||
Reference in New Issue
Block a user