SWDatabase
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
att_orbit.h
Go to the documentation of this file.
1 /* $Id: att_orbit.h,v 1.1 1996/01/26 23:05:11 jeff Exp $ */
2 
3 typedef struct
4 {
5  float x; /* J2000 X of Angular Momentum Vector */
6  float y; /* J2000 Y of Angular Momentum Vector */
7  float z; /* J2000 Z of Angular Momentum Vector */
8 } J2000AMV; /* J2000 Angular Momentum Vector */
9 
10 typedef struct
11 {
12  float r; /* RTN R of Angular Momentum Vector */
13  float t; /* RTN T of Angular Momentum Vector */
14  float n; /* RTN N of Angular Momentum Vector */
15 } RTNAMV; /* RTN Angular Momentum Vector */
16 
17 typedef struct
18 {
19  float x; /* J2000 X of Spin Rate Vector */
20  float y; /* J2000 Y of Spin Rate Vector */
21  float z; /* J2000 Z of Spin Rate Vector */
22 } J2000SRV; /* J2000 Spin Rate Vector */
23 
24 typedef struct
25 {
26  float r; /* RTN R of Spin Rate Vector */
27  float t; /* RTN T of Spin Rate Vector */
28  float n; /* RTN N of Spin Rate Vector */
29 } RTNSRV; /* RTN Spin Rate Vector */
30 
32 {
34 };
35 
36 struct SC_DAS /* Spacecraft Definitive Attitude State */
37 {
38  int sc_clock; /* Spacecraft Clock */
39  char utc_time[18]; /* UTC Time in YYYY-DD.hhmmssfff format */
40  enum state_stat stat; /* State Status */
41  J2000AMV j2000_amv; /* J2000 Angular Momentum Vector */
42  J2000SRV j2000_srv; /* J2000 Spin Rate Vector */
43  RTNAMV rtn_amv; /* RTN Angular Momentum Vector */
44  RTNSRV rtn_srv; /* RTN Spin Rate Vector */
45  float p2b[3][3]; /* Principle to body axis transform matrix */
46  float nut_angle; /* Magnitude of Nutation Angle */
47 };
48 
49 /*--------------------------------------------------------------------*/
50 
51 typedef struct
52 {
53  float x; /* Spacecraft Position X */
54  float y; /* Spacecraft Position Y */
55  float z; /* Spacecraft Position Z */
56 } SCPOS;
57 
58 typedef struct
59 {
60  float x; /* Spacecraft Velocity X */
61  float y; /* Spacecraft Velocity Y */
62  float z; /* Spacecraft Velocity Z */
63 } SCVEL;
64 
65 typedef struct
66 {
67  float x; /* GSE Spacecraft Position X */
68  float y; /* GSE Spacecraft Position Y */
69  float z; /* GSE Spacecraft Position Z */
70 } SCPOSGSE;
71 
72 typedef struct
73 {
74  float x; /* GSE Spacecraft Velocity X */
75  float y; /* GSE Spacecraft Velocity Y */
76  float z; /* GSE Spacecraft Velocity Z */
77 } SCVELGSE;
78 
79 struct SC_DOS /* Spacecraft Definitive Orbit State */
80 {
81  char utc_time[18]; /* UTC Time in YYYY-DD.hhmmssfff format */
82  SCPOS sc_pos; /* Spacecraft Position Vector */
83  SCVEL sc_vel; /* Spacecraft Velocity Vector */
84  SCPOSGSE scpos_gse; /* Spacecraft Position Vector in GSE */
85  SCVELGSE scvel_gse; /* Spacecraft Velocity Vector in GSE */
86 };
87 
88 /*--------------------------------------------------------------------*/
float y
Definition: att_orbit.h:68
float y
Definition: att_orbit.h:54
float r
Definition: att_orbit.h:12
Definition: att_orbit.h:10
float p2b[3][3]
Definition: att_orbit.h:45
float x
Definition: att_orbit.h:19
float nut_angle
Definition: att_orbit.h:46
J2000AMV j2000_amv
Definition: att_orbit.h:41
enum state_stat stat
Definition: att_orbit.h:40
Definition: att_orbit.h:36
Definition: att_orbit.h:33
Definition: att_orbit.h:58
RTNSRV rtn_srv
Definition: att_orbit.h:44
SCVELGSE scvel_gse
Definition: att_orbit.h:85
float t
Definition: att_orbit.h:13
Definition: att_orbit.h:79
float y
Definition: att_orbit.h:6
float y
Definition: att_orbit.h:61
float z
Definition: att_orbit.h:7
state_stat
Definition: att_orbit.h:31
float x
Definition: att_orbit.h:67
float r
Definition: att_orbit.h:26
float y
Definition: att_orbit.h:20
float x
Definition: att_orbit.h:5
SCPOSGSE scpos_gse
Definition: att_orbit.h:84
J2000SRV j2000_srv
Definition: att_orbit.h:42
Definition: att_orbit.h:72
Definition: att_orbit.h:65
SCPOS sc_pos
Definition: att_orbit.h:82
float y
Definition: att_orbit.h:75
float x
Definition: att_orbit.h:53
RTNAMV rtn_amv
Definition: att_orbit.h:43
float x
Definition: att_orbit.h:60
Definition: att_orbit.h:3
int sc_clock
Definition: att_orbit.h:38
Definition: att_orbit.h:51
SCVEL sc_vel
Definition: att_orbit.h:83
Definition: att_orbit.h:24
char utc_time[18]
Definition: att_orbit.h:39
char utc_time[18]
Definition: att_orbit.h:81
float x
Definition: att_orbit.h:74
Definition: att_orbit.h:33
float z
Definition: att_orbit.h:21
float t
Definition: att_orbit.h:27
float n
Definition: att_orbit.h:28
float z
Definition: att_orbit.h:69
float z
Definition: att_orbit.h:62
float n
Definition: att_orbit.h:14
float z
Definition: att_orbit.h:55
Definition: att_orbit.h:33
Definition: att_orbit.h:33
Definition: att_orbit.h:17
float z
Definition: att_orbit.h:76