GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > ATT / V1-3-1
Constituent: att_debug     Tag: rad750
#include "string.h"
#include "ATT/ATT.h"
#include "PBS/MBA.h"
#include "PBS/WCT.h"
#include "PBS/MTX.h"
#include "PBS/Q.h"
#include "MSG/MSG_pubdefs.h"
#include "CDM/CDM_pubdefs.h"
#include "ATT_DB/ATT_DB_schema.h"
#include "ATT_private.h"
Include dependency graph for ATT_control.c:
Defines | |
#define | ATT_TIME_RNG_LIMIT (WCT_time)(WCT_K_NSECS_IN_A_MSEC * 1000) |
Functions | |
ATT_Control * | ATT_get (void) |
Get pointer to attitude processing global handle. | |
unsigned int | ATT_init (ATT_Control *ctl, unsigned int numSecs) |
Initialize global attitude processing handle. | |
unsigned int | ATT_exit (ATT_Control *ctl) |
Shutdown the attitude processing global handle. | |
unsigned int | ATT_reset (ATT_Control *ctl) |
Reset the attitude processing global handle. | |
unsigned int | ATT_update (ATT_Control *ctl, const WCT_time t, const double *Q, const float *W) |
Update attitude history list. | |
unsigned int | ATT_lookup (ATT_Control *ctl, const WCT_time t, double *Q) |
Lookup attitude information in history list. | |
unsigned int | ATT_xform (ATT_Control *ctl, const WCT_time t, const double *Vl, double *Vj) |
Trasform a vector from LAT coordinates to J2000 coordinates. | |
unsigned int | ATT_range (ATT_Control *ctl, WCT_time *tBottom, WCT_time *tTop) |
Get current time range of history list. | |
Variables | |
static ATT_Control | attControl |
static const ATT_DB_Schema | configData |
|
The number of nanoseconds to allow a transform past the current time. |
|
Shutdown the attitude processing global handle. This releases any global resources allocated in the call to ATT_init().
|
|
Get pointer to attitude processing global handle. This function returns a pointer which may be passed as a parameter to the other functions in this library. The function ATT_init() must be called for this pointer before the other library functions are available.
|
|
Initialize global attitude processing handle. This function initializes the global attitude processing control state.
|
|
Lookup attitude information in history list. This function looks up the information stored for time t in the attitude history list.
|
|
Get current time range of history list. This function looks up current range of times in the attitude history list.
|
|
Reset the attitude processing global handle. This clears the attitude history list current entries and resets the history list to its initial state.
|
|
Update attitude history list. This function updates the tail of the attitude history list.
|
|
Trasform a vector from LAT coordinates to J2000 coordinates. This function transforms a vector Vl input in LAT instrument coordiates into a vector Vj in J200 coordinates. The timestamp t is used to lookup the attitude information in the global history list. The SC-J2000 quaternion returned by the lookup is then applied to Vl to produce Vj. The timestamp should correspond to the time at which the transform for Vl should be performed.
|
|
The global instance of the attitude processing control structure. |
|
Initial value: { { 0.0, 0.0, 0.0, 1.0, }, 10, } |