trimmed radio plot to exclude setup/teardown times

This commit is contained in:
2026-05-06 17:42:11 -07:00
parent bc26cbc706
commit 7433310390
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ classdef rfSensor
P_TX_dBm = NaN; % Transmit power (dBm) P_TX_dBm = NaN; % Transmit power (dBm)
N = NaN; % Thermal noise N = NaN; % Thermal noise
% Cached state (per timestep) % Cached state (per timestep)
rssCache (:,1) double = double.empty(0,1); % linear-scale RSS to last target grid rssCache (:,1) double = double.empty(0,1); % linear-scale RSS to last ground targets grid
end end
methods (Access = public) methods (Access = public)
@@ -31,7 +31,7 @@ classdef rfSensor
end end
methods (Access = private) methods (Access = private)
x = RSS(obj, d, t, a); % Received signal strength (function of distance and tilt angle) x = RSS(obj, d, t, a); % Received signal strength (function of distance and tilt angle)
G_TX_dB = transmitterGain(obj, t, a); % TODO Antenna gain for a given TX/RX pair G_TX_dB = transmitterGain(obj, t, a); % Antenna gain for a given TX/RX pair
L_FSPL_dB = pathLoss(obj, d); % Free space path loss for a given TX/RX pair L_FSPL_dB = pathLoss(obj, d); % Free space path loss for a given TX/RX pair
end end
end end
+1
View File
@@ -28,6 +28,7 @@ plotWholeFlight = true; % do not attempt to automatically trim initial and final
% Plot radio statistics % Plot radio statistics
[fRadio, R] = plotRadioLogs(resultsPath); [fRadio, R] = plotRadioLogs(resultsPath);
set(findobj(fRadio, 'Type', 'axes'), 'XLim', controller.timestamp([1, end]));
%% Run simulation %% Run simulation
% Run miSim using same AERPAW scenario definition CSV % Run miSim using same AERPAW scenario definition CSV