LQR Nonlinear Setup

- Rename Naman_LQR_working.m to LQR.m
- Create copy of plant model called LQR.slx to implement nonlinear
  simulation
This commit is contained in:
Sravan Balaji
2020-04-16 23:45:44 -04:00
parent e9644122ed
commit 63536134e6
2 changed files with 5 additions and 0 deletions

View File

@@ -76,6 +76,11 @@ impulse(discrete, 0:T_s:1);
%U3 couples Y1 and Y5, and U4 gets us Y6
%% Define goals
% Desired position
x_d = 0;
y_d = 0;
z_d = 0;
%Goal 1: settle at 1m height <2s
x_0_up = [0, 0, -1, ...
0, 0, 0, ...

BIN
src/LQR.slx Normal file

Binary file not shown.