Path: CubeSat/MissionPlanning
% Package orbit data into a structure for use in PlaybackOrbitSim.
For the sensor cone FOV, pitch and azimuth angles: you may supply any
one of them as either a scalar or a vector with the same number of
points as the time vector.
Since version 8.
--------------------------------------------------------------------------
Form:
object = PackageOrbitDataForPlayback( jD0, t, r, v, coneFOV, conePitch,
coneAzimuth, inputFrame )
--------------------------------------------------------------------------
------
Inputs
------
jD0 (1,1) Julian date epoch.
t (1,N) Time vector. Seconds from epoch.
r (3,N) Position history of orbit.
v (3,N) Velocity history of orbit.
coneFOV (1,:) Cone field of view (rad)
conePitch (1,:) Cone pitch from nadir (rad)
coneAzimuth (1,:) Cone azimuth from north (rad)
inputFrame (:) Frame of r,v inputs. 'ECI' or 'EF'
-------
Outputs
-------
object (:) Data structure array of simulated objects in orbit
See PackageOrbitDataForPlayback.m. Fields are:
rEF: [3xN double] Earth fixed position (km)
vEF: [3xN double] Earth fixed velocity (km/s)
lat: [1xN double] Latitude (rad)
lon: [1xN double] Longitude (rad)
h: [1xN double] Altitude (km)
coneFOV: [1xN double] Cone field of view (rad)
conePitch: [1xN double] Cone pitch from nadir (rad)
coneAzimuth: [Nx1 double] Cone azimuth from north (rad)
coneAxis: [3xN double] Cone axis in Earth-fixed frame
swathX: [NxP double] Swath curve, Earth-fixed x-coord.
swathY: [NxP double] Swath curve, Earth-fixed y-coord.
swathZ: [NxP double] Swath curve, Earth-fixed z-coord.
swathLat: [NxP double] Swath curve, latitude
swathLon: [NxP double] Swath curve, longitude
See also: PlaybackOrbitSim.m
--------------------------------------------------------------------------
AerospaceUtils: Coord/ECEFToLLA AerospaceUtils: Coord/ECIToEF CubeSat: MissionPlanning/RapidSwath SC: BasicOrbit/OrbRate SC: BasicOrbit/Period SC: BasicOrbit/RV2El SC: BasicOrbit/RVFromKepler Common: Quaternion/AU2Q Common: Quaternion/QForm Common: Quaternion/QMult Common: Time/Date2JD Common: Time/JD2T Math: Linear/Cross Math: Linear/Unit
Back to the CubeSat Module page