diff --git a/@rfSensor/rfSensor.m b/@rfSensor/rfSensor.m index 0cc33ef..8cd2131 100644 --- a/@rfSensor/rfSensor.m +++ b/@rfSensor/rfSensor.m @@ -17,7 +17,7 @@ classdef rfSensor P_TX_dBm = NaN; % Transmit power (dBm) N = NaN; % Thermal noise % 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 methods (Access = public) @@ -31,7 +31,7 @@ classdef rfSensor end methods (Access = private) 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 end end \ No newline at end of file diff --git a/aerpaw/results/resultsAnalysis.m b/aerpaw/results/resultsAnalysis.m index 2c3617d..96e5f45 100644 --- a/aerpaw/results/resultsAnalysis.m +++ b/aerpaw/results/resultsAnalysis.m @@ -28,6 +28,7 @@ plotWholeFlight = true; % do not attempt to automatically trim initial and final % Plot radio statistics [fRadio, R] = plotRadioLogs(resultsPath); +set(findobj(fRadio, 'Type', 'axes'), 'XLim', controller.timestamp([1, end])); %% Run simulation % Run miSim using same AERPAW scenario definition CSV