FreeFlyer Attitude History File
|Top Previous Next|
The FreeFlyer Attitude History File (AHF) is a file format native to FreeFlyer that can be used for both input and output of Spacecraft attitude data. Attitude history files are useful when the Spacecraft attitude is not fixed or varying with a constant rate.
The data in the FreeFlyer-created Attitude History File is always specified in Quaternions with respect to the MJ2000 reference frame. The AHF is an extension of the FreeFlyer Ephemeris file and the content of the file may be specified to include attitude-only data or a combination of orbit and attitude data.
You can configure a Spacecraft to use an AHF by specifying the file through the Spacecraft Object Editor on the Attitude page, or via FreeFlyer Script. When an AHF is used, FreeFlyer will set the initial attitude state by finding the attitude in the AHF that corresponds to the Spacecraft's existing epoch, or interpolate the data points to that epoch if necessary. The spacecraft’s orientation at any time will be then be interpolated from the states in the AHF.
Format: Attitude Only Data
A FreeFlyer Attitude History File contains two sections, a header and body.
The header contains information about the attitude history file itself such as the version of FreeFlyer that created the file, start and stop epochs of the data, Spacecraft name, reference frame, etc.
The body of the attitude history file contains all or a user-specified subset of data records of the spacecraft’s attitude, angular velocity and angular acceleration for a given epoch.
The output file will be of the format:
When orbital ephemeris data is included with the attitude data, the orbital data is always listed in the columns prior to the attitude data. The TAI epoch is always the last column in the file. The format is:
For more information on the contents of the orbital data see the FreeFlyer ephemeris file format page.