Path: CubeSat/MissionPlanning
% Generate a set of observation time windows for each lat/lon target
--------------------------------------------------------------------------
Usage:
[track,obs] = ObservationTimeWindows( orbit, targets, jD, horizon, ...
fOV, minEl, doPlot )
--------------------------------------------------------------------------
------
Inputs
------
orbit (1,6) Orbital elements vector, OR
(.) Data structure w/ time (.t) and ECI pos (.r)
targets (2,N) List of N targets [lat;lon] in deg
jD (1,1) Julian date start epoch
horizon (1,1) Duration
fOV (1,1) Field of view (deg)
minEl (1,1) Minimum elevation (deg)
doPlot (1,1) Flag to generate plot (1) or not (0). Default 0.
-------
Outputs
-------
track (.) Data structure with time, lat. and long. of satellite,
azimuth, elevation and range of satellite with respect
to targets.
obs (.) Data structure array with fields:
.target: (2,1) Lat and lon coordinates of target
.boundary: (2,:) Lat/lon boundary around target
.nObs: (1,1) Number of observations of this target
.window: (nObs,2) Each row is start/stop time of window
.time: {1,nObs} Each entry is a (1,T) time vector
.path: {1,nObs} Each entry is a (2,T) lat/lon vector
--------------------------------------------------------------------------