MeasRelativePosition:

Path: SC/Sensor

% Returns relative position information.

   You enter a scale factor and a bias in the data structure. 
   The noise field should be set to zero when this is used a part of a
   Kalman filter.

   The field "k" selects the spacecraft position vector
   Each column of kT selects a target spacecraft.
   It returns the ECI relative position.

   If no inputs are given it will return the default data structure.

   Since version 11.
--------------------------------------------------------------------------
   Form:
   y = MeasRelativePosition( x, d )
   d = MeasRelativePosition
--------------------------------------------------------------------------

   ------
   Inputs    
   ------
   x         (n,1)  State vector
   d         (1,1)  Data structure
                    .k     (1,3) Position
                    .kT    (3,n) Target spacecraft
                    .scale (3,n) Scale factor
                    .bias  (3,n) Bias
                    .noise (3,n) 1 sigma noise


   -------
   Outputs
   -------
   y         (3*n,1)   Measurements

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

Back to the SC Module page