From 110ff87c57af68d504c6120396c269fbafd4ceaf Mon Sep 17 00:00:00 2001 From: Kevin D Date: Wed, 4 Mar 2026 21:27:51 -0800 Subject: [PATCH] type error fix --- aerpaw/results/plotGpsLogs.m | 4 ++-- aerpaw/results/plotResults.m | 14 ++++++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/aerpaw/results/plotGpsLogs.m b/aerpaw/results/plotGpsLogs.m index 8be859c..1750b70 100644 --- a/aerpaw/results/plotGpsLogs.m +++ b/aerpaw/results/plotGpsLogs.m @@ -3,7 +3,7 @@ function f = plotGpsLogs(logDirs) logDirs (1, 1) string; end arguments (Output) - f (1, 1) uifigure; + f (1, 1) matlab.ui.Figure; end % Plot setup f = uifigure; @@ -88,4 +88,4 @@ function f = plotGpsLogs(logDirs) % finish hold(gf, "off"); -end +end \ No newline at end of file diff --git a/aerpaw/results/plotResults.m b/aerpaw/results/plotResults.m index b3704c0..f02131c 100644 --- a/aerpaw/results/plotResults.m +++ b/aerpaw/results/plotResults.m @@ -1,8 +1,14 @@ -% Define path to run results copied from AERPAW platform -resultsPath = fullfile(matlab.project.rootProject().RootFolder, "sandbox", "t1"); +%% Plot AERPAW logs (trajectory, radio) +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) -uif = plotGpsLogs(resultsPath); +fGlobe = plotGpsLogs(resultsPath); % Plot radio statistics -f = plotRadioLogs(resultsPath); \ No newline at end of file +fRadio = plotRadioLogs(resultsPath); + +%% Run simulation +% Run miSim using same AERPAW scenario definition CSV + + +%% Plot AERPAW trajectory logs onto simulated result for comparison \ No newline at end of file