PPDelay:

Path: SC/Attitude

% Compute the pulse pair delay for a Spin Precession Maneuver.
   Computes the delay from the sun sensor pulse given the spin-axis,
   sensor boresight and the thruster torque axis. The delay is measured
   from the time the sensor sees the sun to the time the thruster must 
   fire.

   Since version 1.
--------------------------------------------------------------------------
   Form:
   [delay, w] = PPDelay( azimuth, pulsewidth, t, h, s, spinRate, tauRise, tauFall )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   azimuth        (1,1)   Azimuth of maneuver
   pulsewidth     (1,1)   Pulsewidth (sec)
   t              (3,1)   Torque vector
   h              (3,1)   Momentum vector
   s              (3,1)   Sensor pulse axis   
   spinRate       (1,1)   Spin rate (rad/sec)
   tauRise        (1,1)   Rise time constant
   tauFall        (1,1)   Fall time constant

   -------
   Outputs
   -------
   delay          (1,1)   Delay (sec)
   w              (1,1)   Angular rate vector (rad/sec)

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

Children:

Math: Linear/Cross
SC: Attitude/PCentr

Back to the SC Module page