mirror of
https://github.com/ME-561-W20-Quadcopter-Project/Quadcopter-Control.git
synced 2025-08-31 21:03:13 +00:00
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:
@@ -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
BIN
src/LQR.slx
Normal file
Binary file not shown.
Reference in New Issue
Block a user