Files
-
manufacturing / PCB / Shield / shield.brd
-
manufacturing / PCB / Shield / shield.sch
-
manufacturing / PCB / Shield / shield_bigfpga.brd
-
manufacturing / PCB / Shield / shield_bigfpga.sch
-
manufacturing / PCB / TransducerBoard / bigTransBrd.brd
-
manufacturing / PCB / TransducerBoard / bigTransBrd.sch
-
manufacturing / PCB / TransducerBoard / smallTransBrd.brd
-
manufacturing / PCB / TransducerBoard / smallTransBrd.sch
Last update 6 years 2 months
by
JosefMatous
BOW_startup.m%% Add folders to path addpath('system_object/bfgs','system_object/newGenerator','system_object/loader','MATLAB_scripts'); %% Load constants load('controller_constants/BOW/f2p.mat'); load('controller_constants/BOW/PID_v2.mat'); load('controller_constants/BOW/stateSpace.mat'); load('controller_constants/BOW/kalman.mat'); load('controller_constants/BOW/trajectory_5mm.mat'); %% Parameters %%% Particle radius Rp = 4e-3; %%% State feedback % Extended state-space model (with integral state) Fext = [F zeros(2,1); C 1]; Gext = [G;0]; Cext = [0 0 1]; % % Show current poles % eig(Fext) % Desired pole placement poles = [0.965 0.965 0.945]; Kext = acker(Fext,Gext,poles); % State feedback vector K = Kext(1:2); % Integrator constant K_i = Kext(3)*50;