AntennaPoint:

Path: Link/Coverage

% Compute the boresight matrix or attitude quaternion.
 The quaternion is from planet fixed to body. Leave the one
 empty that you do NOT want to compute. In other words if b is empty
 it will compute q. The antenna boresight is defined as the local z-axis.
--------------------------------------------------------------------------
   Form:
   g = AntennaPoint( r, p, q, b )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r             (3,:)    Planet fixed position vector (km)
   p             (3,1)    Point on planet
   q             (4,:)    Planet fixed to body quaternion [q_s;q_x;q_y;q_z] 
   b             (4,1)    Boresight quaternion or []

   -------
   Outputs
   -------
   q             (4,:)    Planet fixed to body quaternion [q_s;q_x;q_y;q_z] 

   or

   b             (4,:)    Boresight quaternion or []
                                

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

Children:

Common: Graphics/Plot2D
Common: Quaternion/QMult
Common: Quaternion/QPose
Common: Quaternion/QTForm
Common: Quaternion/U2Q
Math: Linear/DupVect
Math: Linear/Unit

Back to the Link Module page