diff --git a/aerpaw/controller.coderprj b/aerpaw/controller.coderprj index 062006d..b4d1f97 100644 --- a/aerpaw/controller.coderprj +++ b/aerpaw/controller.coderprj @@ -103,6 +103,16 @@ + + int32 + + + + + int32 + + + @@ -1070,7 +1080,7 @@ true - 2026-03-02T12:17:24 + 2026-03-02T18:23:05 diff --git a/aerpaw/results/plotGpsCsvs.m b/aerpaw/results/plotGpsCsvs.m index 745b711..8b9f925 100644 --- a/aerpaw/results/plotGpsCsvs.m +++ b/aerpaw/results/plotGpsCsvs.m @@ -9,7 +9,7 @@ seaToGroundLevel = 110; % meters, measured approximately from USGS national map lla0 = [35.72550610629396, -78.70019657805574, seaToGroundLevel]; % origin (LLA) % Paths to logs -gpsCsvs = dir(fullfile("sandbox", "test5", "*.csv")); +gpsCsvs = dir(fullfile("sandbox", "test6", "*.csv")); G = cell(size(gpsCsvs)); for ii = 1:size(gpsCsvs, 1) @@ -22,8 +22,8 @@ for ii = 1:size(gpsCsvs, 1) verticalSpeed = movmean(abs(diff(G{ii}.Altitude)), [10, 0]); % Automatically detect start/stop of algorithm flight (ignore takeoff, setup, return to liftoff, landing segments of flight) - startIdx = find(verticalSpeed <= prctile(verticalSpeed, 25), 1, 'first'); % 25 pct threshold may need adjusting - stopIdx = find(verticalSpeed <= prctile(verticalSpeed, 25), 1, 'last'); + startIdx = find(verticalSpeed <= prctile(verticalSpeed, 90), 1, 'first'); % 25 pct threshold may need adjusting + stopIdx = find(verticalSpeed <= prctile(verticalSpeed, 90), 1, 'last'); % % Plot whole flight, including setup/cleanup % startIdx = 1; diff --git a/resources/project/ls4G1ReemmlA4lw5Sxijq_iTPE0/YTBPi7yO4zYK5U1mxnqJDcdXNYkd.xml b/resources/project/ls4G1ReemmlA4lw5Sxijq_iTPE0/YTBPi7yO4zYK5U1mxnqJDcdXNYkd.xml new file mode 100644 index 0000000..4356a6a --- /dev/null +++ b/resources/project/ls4G1ReemmlA4lw5Sxijq_iTPE0/YTBPi7yO4zYK5U1mxnqJDcdXNYkd.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/resources/project/ls4G1ReemmlA4lw5Sxijq_iTPE0/YTBPi7yO4zYK5U1mxnqJDcdXNYkp.xml b/resources/project/ls4G1ReemmlA4lw5Sxijq_iTPE0/YTBPi7yO4zYK5U1mxnqJDcdXNYkp.xml new file mode 100644 index 0000000..01cb34e --- /dev/null +++ b/resources/project/ls4G1ReemmlA4lw5Sxijq_iTPE0/YTBPi7yO4zYK5U1mxnqJDcdXNYkp.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/resources/project/q138eJA8Ym4eSfM3RFMVvg63QtU/ls4G1ReemmlA4lw5Sxijq_iTPE0d.xml b/resources/project/q138eJA8Ym4eSfM3RFMVvg63QtU/ls4G1ReemmlA4lw5Sxijq_iTPE0d.xml new file mode 100644 index 0000000..4356a6a --- /dev/null +++ b/resources/project/q138eJA8Ym4eSfM3RFMVvg63QtU/ls4G1ReemmlA4lw5Sxijq_iTPE0d.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/resources/project/q138eJA8Ym4eSfM3RFMVvg63QtU/ls4G1ReemmlA4lw5Sxijq_iTPE0p.xml b/resources/project/q138eJA8Ym4eSfM3RFMVvg63QtU/ls4G1ReemmlA4lw5Sxijq_iTPE0p.xml new file mode 100644 index 0000000..6a27971 --- /dev/null +++ b/resources/project/q138eJA8Ym4eSfM3RFMVvg63QtU/ls4G1ReemmlA4lw5Sxijq_iTPE0p.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file