-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcreateWorkspace.m
More file actions
45 lines (38 loc) · 1.46 KB
/
Copy pathcreateWorkspace.m
File metadata and controls
45 lines (38 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This code is parses the flight_log folder and extracts all the flight
% runs and saves the data as workspaces.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Suppress some messages for brackets and other coding errors that is
% annoying - giri
%#ok<*NBRAK2>
%#ok<*CLALL>
clear all
close all
clc
addpath("functions/");
addpath("functions/helpers/");
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Author: Giri Mugundan Kumar
% Department of Mechanical Engineering
% Virginia Tech
% 05/22/2024
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%==================== INPUT PARAMETERS ====================%
% Specify if the simulator is used or flightstack
% Set true for simulator mode
acsl_sim_mode = true;
% Specify the date in YYYY_MM_DD
date = "2025_10_08";
% Uncomment the platform - Should match the flightstack
picked_platform = "qrbp";
% picked_platform = "rostestdrone";
% Uncomment the controller - Should match the flightstack
% picked_controller = 'PID';
% picked_controller = 'MRAC_PID';
picked_controller = 'PID_OMEGA';
% picked_controller = 'MRAC_OMEGA';
% picked_controller = 'MRAC_HYBRID';
%==========================================================%
% Process all the data and create workspaces for the specified date and
% controller.
processWorkspace(picked_platform, picked_controller, date, acsl_sim_mode)