coopPayloadSim.m 670 Bytes
Newer Older
mmroma's avatar
mmroma committed
1
%% Cooperative Payload Simulator
mmroma's avatar
mmroma committed
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
% Author: Matthew Romano (mmroma@umich.edu)
% Date: 1/21/2019

% This is the high level script that calls all of the necessary functions
% to run the simulation. When tuning and testing, changes should be made to
% the parameters files (called by setUpParameters() ).

%% Add Necessary Folders to MATLAB Path
addpath('Controllers','Controllers/Tests');
addpath('Parameters');
addpath('PhysicsModel');
addpath('Plotting');

%% Set Up Parameters
params = setUpParameters();

%% Simulate
simData = runSimulation(params);

%% Plot
plotData(simData,params);

%% Animate
animate(simData,params);

%% Save the Data
% saveData(simData,params);