NavigationCameraSunStar:

Path: OpticalNavigation/Core

% Returns the sun angular radius and intensity and star vectors
 Assumes a pinhole camera model. It returns the pixel locations for
 the stars in the field of view. For the sun it returns the flux and
 the angular radius as separate measurements.

 Hipparcos is the default star catalog.

 d.camera = PinholeCameraStruct;

 The default camera has a 15 degree field-of-view.

 This function does not handle planetary eclipses.

 Type NavigationCameraSunStar for a demo.
--------------------------------------------------------------------------
   Form:
   d = NavigationCameraSunStar;  % Returns the data structure
   y = NavigationCameraSunStar( x, q, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x     (3,1) Heliocentric position of the sensor (km)
   q     (4,:) Quaternion from ECI to the navigation camera
   d     (.)   Data structure 
               .starCatalog   	(.)     Star catalog data structure
               .camera         (.)     Camera data structure
     
   -------
   Outputs
   -------
   y     (.)   Measurement data structure
               .star     (.)   Star measurement data structure
               .angRad   (1,:) Sun angular radius (rad)
               .radiance (1,:) Sun radiance (km)

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

Children:

SCPro: ProSensors/StarCameraViewer
SpacecraftEstimation: StellarAttDet/PinholeCameraStruct
SpacecraftEstimation: StellarAttDet/PinholeStarCamera
SpacecraftEstimation: StellarCatalog/LoadCatalog
Common: Quaternion/Q2Mat
Math: Linear/Mag

Back to the OpticalNavigation Module page