Path: SpacecraftEstimation/OpticalNavigation
% Computes optical measurements for planets and stars. Inputs are planets and stars. Measurements are planet chords, angles between planets and star/planet angles. Noise may be added. Position noise is added to all 3 axes. -------------------------------------------------------------------------- Form: y = OpticalNavPlanetStar( x, g, noise ) -------------------------------------------------------------------------- ------ Inputs ------ x (:,1) ECI position of sensor [r;...] g (1,1) Data structure .uS (3,:) Star unit vectors in ECI .nS (1,:) Number of stars per planet .kP (1,:) Planet to use .planet (1,1) Planet data structure .jD (1,1) Julian date .mode (1,:) 'polar star' or 'two planet' noise (1,1) Data structure .planetPosition (1,9) Position error (m) .planetRadius (1,9) Radius Error .angle (1,1) Angle error (rad) ------- Outputs ------- y (:,1) Measurement [chords;planet/planet;planet/star] --------------------------------------------------------------------------
Math: Linear/Mag Math: Linear/Unit
Back to the SpacecraftEstimation Module page