RapidSwath:

Path: CubeSat/MissionPlanning

% Compute the intersection curve between a sensor cone and spherical planet.

 If no outputs are given this will generate a 3D plot of the sensor
 field of view. The nadir axis is drawn in green and the sensor
 boresight in yellow. This function has a built-in demo.

 Since version 8.
--------------------------------------------------------------------------
   Form:
   d = RapidSwath( lat, lon, h, halfAngleFOV, pitch, azimuth, Rp );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   lat           (1,1)    Latitude of satellite  (rad)
   lon           (1,1)    Longitude of satellite (rad)
   h             (1,1)    Altitude of satellite  (km)
   halfAngleFOV  (1,1)    Sensor cone half-angle field of view (rad)
                          Note: 0 <= halfAngleFOV <= PI/2
   pitch         (1,1)    Pitch angle between boresight axis and nadir axis (rad)
                          Note: 0 <= pitch <= PI
   azimuth       (1,1)    Azimuth angle from north (rad)
   Rp            (1,1)    Planet radius. Optional. Default is Earth radius. (km)

   -------
   Outputs
   -------
   d         (.)  Data structure with fields:
              .r             Set of 3D position curves for each elevation
              .lat           Set of latitude vectors for each elevation
              .lon           Set of longitude vectors for each elevation
              .intersect     Flag indicating whether the cone intersects 
                                the planet.  
              .aboveHorizon   Flag indicating whether any part of the cone 
                                goes above the horizon.  

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

Children:

Common: CommonData/SwooshWatermark
Common: ComponentModels/Box
Common: ComponentModels/Cone
Common: ComponentModels/Frustrum
Common: General/DeBlankLT
Common: General/Watermark
Common: Graphics/Axis3D
Common: Graphics/DrawVertices
Common: Graphics/Ellipsd
Common: Graphics/Map
Common: Graphics/NewFig
Common: Graphics/PltStyle
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
Math: Geometry/Perpendicular
Math: Linear/Cross
Math: Linear/Dot
Math: Linear/DupVect
Math: Linear/Mag
Math: Linear/Unit

Back to the CubeSat Module page