Description

This module aims to calculate the miss-angle between a boresight on a Spacecraft and a target object. This module is intended to provide a mechanism to extend the functionality of a generic instrument or simulation module that does not perform an internal field of view check.


Example Use Cases

  • Evaluate Pointing Constraint Violation: Sensors like Star Trackers may be damaged if pointed at the sun. This module can be used to add a pointing constraint check to a component that extends its functionality or adds an FOV safety margin that FSW could monitor.

Module Implementation

The first step of this module is to calculate a pointing frame following an identical procedure to that described in the RelativePoint module, where a relative pointing vector is calculated between the parent spacecraft and target :

along with a relative velocity vector:

A coordinate system about this principle axis is then built such that:

This gives us the rotation between our target frame and the inertial frame as . Next, we compute the rotation between the pointing frame and the body frame as:

The boresight pointing vector in the body frame, can then be expressed and projected into ,

The miss-angle is then evaluated as the angle between the :

The azimuth angle is then calculated by taking the arctan of the last components of the boresight vector in .