1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-07-22 22:21:32 +00:00

changed all LQR references to PID

This commit is contained in:
2021-10-14 18:02:01 -07:00
parent ee9fa3a3d1
commit a452b30fae
5 changed files with 33 additions and 93 deletions

View File

@@ -36,7 +36,7 @@ S = icare(A, B, Q, R);
K = Rinv * B' * S;
%% Outputs
% Copy results in command window to LQRcalc function in C++
% Copy results in command window to PIDcalc function in C++
fprintf("double K11 = %3.5f;\n", K(1, 1))
fprintf("double K12 = %3.5f;\n", K(1, 2))
fprintf("double K13 = %3.5f;\n", K(1, 3))