Path: CubeSat/MissionPlanning
% Play back an orbit simulation of multiple objects with sensor cones.
Utilizes AnimationGUI.
--------------------------------------------------------------------------
Form:
PlaybackOrbitSim( time, object, planet, style )
--------------------------------------------------------------------------
------
Inputs
------
time (1,N) Time vector. For display only. Use any units.
object (:) Data structure array of simulated objects in orbit
See PackageOrbitDataForPlayback.m. Fields are:
.rEF (3,N) Earth fixed position (km)
.vEF (3,N) Earth fixed velocity (km/s)
.lat (1,N) Latitude (rad)
.lon (1,N) Longitude (rad)
.h (1,N) Altitude (km)
.coneFOV (1,N) Cone field of view (rad)
.conePitch (1,N) Cone pitch from nadir (rad)
.coneAzimuth (N,1) Cone azimuth from north (rad)
.coneAxis (3,N) Cone axis in Earth-fixed frame
.swathX (N,P) Swath curve, Earth-fixed x-coord.
.swathY (N,P) Swath curve, Earth-fixed y-coord.
.swathZ (N,P) Swath curve, Earth-fixed z-coord.
.swathLat (N,P) Swath curve, latitude
.swathLon (N,P) Swath curve, longitude
planet (:) Name of planet file to use (e.g. 'EarthHR')
style (:) '2D' or '3D'
NOTE: '2D' is not yet supported. To be supported
in a future release.
-------
Outputs
-------
None
See also: PackageOrbitDataForPlayback.m
--------------------------------------------------------------------------