diff --git a/disturbance-measurement/run_test.m b/disturbance-measurement/run_test.m deleted file mode 100644 index 8ce9477..0000000 --- a/disturbance-measurement/run_test.m +++ /dev/null @@ -1,53 +0,0 @@ -%% -Tsim = 100; % [s] - -%% -tg = slrt; - -%% TODO - Build this application if updated - -%% -if tg.Connected == "Yes" - if tg.Status == "running" - disp('Target is Running, Stopping...'); - tg.stop; - while tg.Status == "running" - pause(1); - end - disp('Target is Stopped'); - end - if tg.Status == "stopped" - disp('Load the Application'); - tg.load('disturbance_measurement'); - - %% Run the application - disp('Starting the Application'); - tg.start; - pause(Tsim); - tg.stop; - end -else - error("The target computer is not connected"); -end - -%% -f = SimulinkRealTime.openFTP(tg); -cd(f, 'data/disturbance_measurement/'); -mget(f, 'data_001.dat', 'data'); -close(f); - -data = SimulinkRealTime.utils.getFileScopeData('data/data_001.dat').data; - -%% -n = 17; - -while isfile(['mat/data_', num2str(n, '%03d'), '.mat']) - disp('File exists.'); - if input(['Are you sure you want to override the file ', 'mat/data_', ... - num2str(n, '%03d'), '.mat', ' ? [Y/n]']) == 'Y' - break; - end - n = input('What should be the measurement number?'); -end - -save(['mat/data_', num2str(n, '%03d'), '.mat'], 'data'); diff --git a/disturbance-measurement/setup.m b/disturbance-measurement/setup.m deleted file mode 100644 index e69de29..0000000 diff --git a/disturbance-ty-sr/index.html b/disturbance-ty-sr/index.html new file mode 100644 index 0000000..5267a16 Binary files /dev/null and b/disturbance-ty-sr/index.html differ diff --git a/equipment/equipment.html b/equipment/index.html similarity index 87% rename from equipment/equipment.html rename to equipment/index.html index 3368bd5..14ed9c5 100644 Binary files a/equipment/equipment.html and b/equipment/index.html differ diff --git a/equipment/equipment.org b/equipment/index.org similarity index 100% rename from equipment/equipment.org rename to equipment/index.org diff --git a/index.html b/index.html index ce7edc7..e586635 100644 Binary files a/index.html and b/index.html differ diff --git a/index.org b/index.org index a83f132..219344e 100644 --- a/index.org +++ b/index.org @@ -37,5 +37,5 @@ This web-page gathers all the measurements done on the ID31 Micro Station. - [[file:slip-ring-electrical-noise/index.org][Slip Ring - Noise measurement]] - [[file:static-measurements/index.org][Control System Measurement]] - [[file:actuators-sensors/index.org][Actuators and Sensors]] -- [[file:equipment/equipment.org][Equipment used for the measurements]] +- [[file:equipment/index.org][Equipment used for the measurements]] - [[file:src/index.org][Matlab functions used for the data analysis]] diff --git a/disturbance-measurement/disturbance_measurement.slx b/speedgoat-measurement/disturbance_measurement.slx similarity index 100% rename from disturbance-measurement/disturbance_measurement.slx rename to speedgoat-measurement/disturbance_measurement.slx