NavigationMeasurement:

Path: SCPro/ProSensors

% Navigation measurement model. 

   frames are 'eci' and 'helio'
   type is 'chordwidth' 'star and center' 'star and horizon'
   'landmark' 'range' 'range rate'

   Type NavigationMeasurement for a demo.

--------------------------------------------------------------------------
   Form:
   [m, u] = NavigationMeasurement( r, q, jD, d )
--------------------------------------------------------------------------

   -------
   Inputs
   -------
   r           (3,n)     Position (km)
   q           (4,n)     Quaternion from ECI to body
   jD          (1,n)     Julian date (day)
   d           (1,1)     Data structure
                         .rSensor       (3,1) Position of sensor (m)
                         .bBodyToSensor (3,3) Transforms from body frame
                                              to sensor frame
                         .bPlanetToECI  {n}   Transforms from planet frame
                                              to ECI frame
                         .radiusP       (3,1) Radius of planet (km)
                         .rCM           (3,1) Center of mass (m)
                         .omega         (3,1) Body rotation
                         .f             (1,1) Focal length(mm)
                         .v             (3,n) Velocity (km/s)
                         .rP            (3,n) Planet position (km)
                         .vP            (3,n) Planet velocity (km/s)
                         .omegaP        (3,1) Planet rotation vector
                         .uStar         (3,1) Star unit vector in ECI frame
                         .frame         (1,:) Sting for frame
                         .type          (1,:) String for type

   -------
   Outputs
   -------
   m           (:,n)     Measurements
   u           (1,:)     Units

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