type error fix

This commit is contained in:
2026-03-04 21:27:51 -08:00
parent 51e7533369
commit 110ff87c57
2 changed files with 12 additions and 6 deletions

View File

@@ -3,7 +3,7 @@ function f = plotGpsLogs(logDirs)
logDirs (1, 1) string; logDirs (1, 1) string;
end end
arguments (Output) arguments (Output)
f (1, 1) uifigure; f (1, 1) matlab.ui.Figure;
end end
% Plot setup % Plot setup
f = uifigure; f = uifigure;
@@ -88,4 +88,4 @@ function f = plotGpsLogs(logDirs)
% finish % finish
hold(gf, "off"); hold(gf, "off");
end end

View File

@@ -1,8 +1,14 @@
% Define path to run results copied from AERPAW platform %% Plot AERPAW logs (trajectory, radio)
resultsPath = fullfile(matlab.project.rootProject().RootFolder, "sandbox", "t1"); resultsPath = fullfile(matlab.project.rootProject().RootFolder, "sandbox", "t1"); % Define path to results copied from AERPAW platform
% Plot GPS logged data and scenario information (domain, objective, obstacles) % Plot GPS logged data and scenario information (domain, objective, obstacles)
uif = plotGpsLogs(resultsPath); fGlobe = plotGpsLogs(resultsPath);
% Plot radio statistics % Plot radio statistics
f = plotRadioLogs(resultsPath); fRadio = plotRadioLogs(resultsPath);
%% Run simulation
% Run miSim using same AERPAW scenario definition CSV
%% Plot AERPAW trajectory logs onto simulated result for comparison