StarCameraViewer:

Path: SCPro/ProSensors

% Views the output from NavigationCamera
 This function returns a data structure on initialize that then must be passed
 in on update.

 Type StarCameraViewer for a demo which just calls NavigationCamera and
 runs its demo.
--------------------------------------------------------------------------
   Form:
   h = StarCameraViewer( 'initialize', name )
       StarCameraViewer( 'update', y, h, d, k, n )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   action  (1,:) 'initialize' or 'update'
   y       (.)   Measurement data structure
                 .star     (.)   Star measurement data structure
                 .planet   (2,:) Planet centroid
                 .ang      (1,:) Planet angular radius (rad)
                 .outside  (1,2) 2 means planet visible, 1 means planet not
                                 in camera fov
   h       (.)   Structure for figure
   d       (1,1) Data structure 
                 .xPlanet        (3,:)   Planet locations (km)
                 .radiusPlanet   (1,:)   Planet radius (km)
                 .namePlanet     {:}     Name of the planet
                 .starCatalog   	(.)     Star catalog data structure
                 .camera         (.)     See PinholeStarCamera
                 .useImage       (1,1)   true use a planet image
   k      (1,1) Step
   n      (1,1) Total number of steps
     
   -------
   Outputs
   -------
   h      (.)   Figure data structure.

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

Children:

SC: SCMat/EarthHR
SC: Visualization/PlotPlanet
SCPro: ProSensors/NavigationCamera
Common: Graphics/NewFig

Back to the SCPro Module page