ShortArcToHills:

Path: FormationFlying/Dynamics

% Convert short arc measurements to an approximate Hill's state.
   Calls fminsearch on PinholeCamera to find an approximate Hills state.

   Type ShortArcToHills for a demo. The demo calls PinholeCamera to
   compute pixel locations.

   Since version 11.
--------------------------------------------------------------------------
   Form:
   x = ShortArcToHills( p, t, n, qHToBody, e )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   p         (2,n) Pixel locations - at least 3
   t         (1,n) Times (sec)
   n         (1,1) Orbit rate of observing spacecraft (rad/s)
   qHToBody  (4,1) Quaternion from Hills to Body
   e         (1,1) Camera data structure
                   .f            (1,1) Focal length (mm)
                   .w            (1,1) Pixel width (micro-m)
                   .bodyToCamera (3,3) Transformation from body to camera
   xECI      (6,1) ECI state of imager

   -------
   Outputs
   -------
   x         (6,1) Initial Hills state [r;v]

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

Children:

AC: ACData/ACTConstants
FormationFlying: Coord/GetHillsMats
FormationFlying: Dynamics/HillsEqns
FormationFlying: Transformation/Hills2ECI
SC: BasicOrbit/CP2I
SC: BasicOrbit/E2M
SC: BasicOrbit/E2Nu
SC: BasicOrbit/El2RV
SC: BasicOrbit/M2E
SC: BasicOrbit/M2EApp
SC: BasicOrbit/M2EEl
SC: BasicOrbit/M2EHy
SC: BasicOrbit/M2Nu
SC: BasicOrbit/M2NuPb
SC: BasicOrbit/Nu2E
SC: BasicOrbit/Nu2M
SC: BasicOrbit/RV2El
SC: SCData/sCTConstants
Common: CommonData/Constants
Common: CommonData/SwooshWatermark
Common: CommonData/xSplashSmall
Common: Database/Constant
Common: General/CellToMat
Common: General/DeleteCell
Common: General/DispWithTitle
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Quaternion/AU2Q
Common: Quaternion/QForm
Imaging: Optics/PinholeCamera
Math: Linear/Cross
Math: Linear/Dot
Math: Linear/DupVect
Math: Linear/Mag
Math: Linear/Unit

Back to the FormationFlying Module page