AutoPoint:

Path: SCPro/ProSensors

% Compute the parameters necessary to place a camera at a target.
   Units: rECI, rBody are generally in km while radius is in m.

   If camera is empty will use a default 10 degree FOV camera.

--------------------------------------------------------------------------
   Form:
   [qCamera,rCamera,distance] = AutoPoint( mode, camera, gTarget, rBody )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   mode          (:)      Mode, 'above', 'lvlh', 'fixed'
   camera        (:)      Camera model from CameraDatabase
   gTarget       (:)      CAD model of the target spacecraft
                             or structure with fields rECI, vECI, radius
   rBody        (3,1)     Location of body for fixed mode (km)

   -------
   Outputs
   -------
   qCamera      (4,1)     World to body quaternion
   rCamera      (3,1)     Locaton of camera in world (m)
   distance     (1,1)     Distance between camera and target

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

Children:

AerospaceUtils: Coord/QAlign
AerospaceUtils: Coord/QLVLH
AerospaceUtils: Coord/QRotateToAlign
AerospaceUtils: Coord/U2AzEl
SCPro: ProSensors/CameraDatabase
Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/Coordinates
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Quaternion/Mat2Q
Common: Quaternion/QForm
Common: Quaternion/QMult
Common: Quaternion/QPose
Common: Quaternion/QTForm
Common: Quaternion/U2Q
Imaging: Optics/AngleOfView
Math: Geometry/Perpendicular
Math: Linear/Cross
Math: Linear/Dot
Math: Linear/DupVect
Math: Linear/Mag
Math: Linear/Unit

Back to the SCPro Module page