PackageOrbitDataForPlayback:

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

--------------------------------------------------------------------------

Children:

AerospaceUtils: Coord/ECEFToLLA
AerospaceUtils: Coord/ECIToEF
CubeSat: MissionPlanning/RapidSwath
SC: BasicOrbit/E2M
SC: BasicOrbit/Nu2E
SC: BasicOrbit/Nu2M
SC: BasicOrbit/OrbRate
SC: BasicOrbit/Period
SC: BasicOrbit/RV2El
SC: BasicOrbit/RVFromKepler
Common: CommonData/SwooshWatermark
Common: ComponentModels/Box
Common: ComponentModels/Cone
Common: ComponentModels/Frustrum
Common: General/CellToMat
Common: General/DeBlankLT
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/Axis3D
Common: Graphics/DrawVertices
Common: Graphics/Ellipsd
Common: Graphics/Map
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/Plot3D
Common: Graphics/PltStyle
Common: Graphics/TimeLabl
Common: Graphics/TitleS
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Common: Quaternion/AU2Q
Common: Quaternion/QForm
Common: Quaternion/QMult
Common: Quaternion/QTForm
Common: Quaternion/U2Q
Common: Time/DTSToDTA
Common: Time/Date2JD
Common: Time/JD2T
Common: Time/T2JD
Math: Geometry/Perpendicular
Math: Linear/Cross
Math: Linear/Dot
Math: Linear/DupVect
Math: Linear/Mag
Math: Linear/Unit

Back to the CubeSat Module page