trimmed radio plot to exclude setup/teardown times
This commit is contained in:
@@ -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
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user