Path: OpticalNavigation/Core
% Implements optical navigation using the Sun as a target This function implements static orbit determination in the heliocentric system. The function assumes that the navigation camera points instantly at the sun. It does not require a star camera. There are three actions: 'initialize,' 'get unit vector,' and 'update.' 'initialize' sets the output to the input r and v. 'get unit vector' gets the pointing vector for the navigation camera. This is sent to the camera. 'update' updates the filter. This version only has the static solution. -------------------------------------------------------------------------- Form: d = OpticalNavigationSun OpticalNavigationSun( 'initialize', d, r, v ) OpticalNavigationSun( 'get unit vector', d, r ) OpticalNavigationSun( 'update', d, y, r, v ) [d,rE,vE] = OpticalNavigationSun( action, d, varargin ) -------------------------------------------------------------------------- ------ Inputs ------ action (1,:) 'initialize,' 'get unit vector,' and 'update' d (.) Data structure .starCat (.) Star catalog data structure .uStarCat (3,:) Unit vectors for the stars .uCamera (3,1) Unit vector for camera in body frame .dNav (.) Navigation camera data structure .rE (3,1) Spacecraft position vector (km) .vE (3,1) Spacecraft velocity vector (km/s) .dT (1,1) Time step (s) .rES (3,1) Static solution position estimate (km) .vES (3,1) Static solution velocity estimate (km/s) .rESOld (3,1) Static solution old position estimate .useStatic (1,1) If 1 return the static solution .halfAng (1,1) Navigation camera half field-of-view y (.) Navigation camera data structure r (3,1) Spacecraft position vector (km) v (3,1) Spacecraft velocity vector (km/s) ------- Outputs ------- d (.) Data structure rE (3,1) Estimated position vE (3,1) Estimated velocity --------------------------------------------------------------------------
OpticalNavigation: Core/NavigationCameraSunStar SpacecraftEstimation: StellarCatalog/LoadCatalog Common: Database/Constant Common: Transform/RaDec2U Math: Linear/Mag Math: Linear/Unit
Back to the OpticalNavigation Module page