SWDatabase
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
anci.h
Go to the documentation of this file.
1 /* $Id: anci.h,v 1.1 1996/01/26 19:14:32 jeff Exp $ */
2 
3 /*--------------------------------------------------------------------*/
4 #define VECTSIZ 3
5 #define SECTSIZ 8
6 
7 /*--------------------------------------------------------------------*/
8 typedef struct
9 {
10  char isotm[22]; /* YYYY-DDDThh:mm:ss.fffZ */
11  unsigned int sctime; /* 32 bit spacecraft clock */
12 } TimeGm;
13 
14 typedef struct
15 {
16  float rotation[VECTSIZ][VECTSIZ]; /* ratation matrix (3x3) */
17  float angular[VECTSIZ]; /* angular momentum vector */
18  float nutation; /* nutation angle, degree/radius ?? */
19 } AttGm;
20 
21 typedef struct
22 {
23  float GSE[VECTSIZ]; /* GSE corrdinator system */
24  float J2000[VECTSIZ]; /* J2000 corrdinator system */
25 } PosGm;
26 
27 typedef struct
28 {
29  /* use formula phi(t)=a+b(t-t0) */
30  /* where t0 is the beginning time of the game */
31 
32  float a; /* parameter #1 */
33  float b; /* parameter #2 */
34  float phi1[SECTSIZ]; /* sector boundary #1 */
35  float phi2[SECTSIZ]; /* sector boundary #2 */
36 } SpinGm;
37 
38 struct AnciSet /* setkey=aA */
39 {
44 };
45 
46 /*--------------------------------------------------------------------*/
47 
48 
49 
50 
#define VECTSIZ
Definition: anci.h:4
float nutation
Definition: anci.h:18
AttGm attitude
Definition: anci.h:41
TimeGm time
Definition: anci.h:40
SpinGm spin_phase
Definition: anci.h:43
PosGm position
Definition: anci.h:42
Definition: anci.h:8
Definition: anci.h:27
#define SECTSIZ
Definition: anci.h:5
float a
Definition: anci.h:32
float b
Definition: anci.h:33
Definition: anci.h:38
Definition: anci.h:21
unsigned int sctime
Definition: anci.h:11
Definition: anci.h:14