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: Graphics/Cone
Common: Graphics/Map
Common: Quaternion/AU2Q
Common: Quaternion/QForm
Common: Quaternion/QMult
Math: Linear/Cross
Math: Linear/Unit

Back to the CubeSat Module page