37 #ifndef _COSMOS_DEFS_H 38 #define _COSMOS_DEFS_H 1 46 #include <condition_variable> 53 #define COSMOS_MAX_DATA 1024 54 #define COSMOS_MAX_NAME 40 139 #define EVENT_FLAG_WARNING 0x0e00 140 #define EVENT_SCALE_WARNING 0x0200 142 #define EVENT_FLAG_ALARM 0x0180 144 #define EVENT_SCALE_ALARM 0x0080 146 #define EVENT_FLAG_PRIORITY 0x0070 148 #define EVENT_SCALE_PRIORITY 0x0010 150 #define EVENT_FLAG_COLOR 0x000f 152 #define EVENT_SCALE_COLOR 0x0001 158 #define EVENT_FLAG_COUNTDOWN 0x1000 159 #define EVENT_FLAG_EXIT 0x2000 161 #define EVENT_FLAG_PAIR 0x4000 163 #define EVENT_FLAG_ACTUAL 0x8000 169 #define EVENT_FLAG_CONDITIONAL 0x10000 170 #define EVENT_FLAG_REPEAT 0x20000 172 #define EVENT_FLAG_TRUE 0x40000 174 #define EVENT_FLAG_SOLO 0x80000 188 #define EVENT_TYPE_REQUEST 0x1001 194 #define EVENT_TYPE_PHYSICAL 0x1000 195 #define EVENT_TYPE_LATA 0x1101 196 #define EVENT_TYPE_LATD 0x1102 197 #define EVENT_TYPE_LATMAX 0x1110 198 #define EVENT_TYPE_LATMIN 0x1120 199 #define EVENT_TYPE_APOGEE 0x1201 200 #define EVENT_TYPE_PERIGEE 0x1202 201 #define EVENT_TYPE_UMBRA 0x1206 202 #define EVENT_TYPE_PENUMBRA 0x1208 205 #define EVENT_TYPE_GS 0x1400 206 #define EVENT_TYPE_GS5 0x1401 207 #define EVENT_TYPE_GS10 0x1402 208 #define EVENT_TYPE_GSMAX 0x1404 211 #define EVENT_TYPE_TARG 0x1800 212 #define EVENT_TYPE_TARGMIN 0x1801 215 #define EVENT_TYPE_COMMAND 0x2000 216 #define EVENT_TYPE_BUS 0x2100 217 #define EVENT_TYPE_EPS 0x2110 218 #define EVENT_TYPE_ADCS 0x2120 219 #define EVENT_TYPE_PAYLOAD 0x2400 220 #define EVENT_TYPE_SYSTEM 0x2800 223 #define EVENT_TYPE_LOG 0x4000 226 #define EVENT_TYPE_MESSAGE 0x8000 235 #define PANEL_TYPE_EPS 1 236 #define PANEL_TYPE_ADCS 2 237 #define PANEL_TYPE_OBCS 3 238 #define PANEL_TYPE_COMM 4 239 #define PANEL_TYPE_PLOAD 5 240 #define PANEL_TYPE_TCS 6 241 #define PANEL_TYPE_PROP 7 247 #define PHYSICS_MODE_ACTUAL 0 248 #define PHYSICS_MODE_LVLH 1 249 #define PHYSICS_MODE_SURFACE 2 253 #define COSMOSMCAST "225.1.1.1" Box: 8 vertices defining 2 parallel sides and a wall thickness, first set curled pointing out...
Definition: cosmos-defs.h:69
Definition: cosmos-defs.h:105
Definition: cosmos-defs.h:114
Definition: cosmos-defs.h:78
Definition: cosmos-defs.h:101
Sphere: 2 points and a wall thickness; center and point on surface.
Definition: cosmos-defs.h:73
Cylinder: 3 points and a wall thickness, first end, second end, point on radius of second end...
Definition: cosmos-defs.h:71
Definition: cosmos-defs.h:113
Definition: cosmos-defs.h:91
Definition: cosmos-defs.h:96
Definition: cosmos-defs.h:118
Definition: cosmos-defs.h:104
Definition: cosmos-defs.h:90
Internal Panel: n vertices and a thickness.
Definition: cosmos-defs.h:67
PIECE
Definition: cosmos-defs.h:62
Definition: cosmos-defs.h:117
Cone: same as Cylinder except first end is a point.
Definition: cosmos-defs.h:77
Definition: cosmos-defs.h:103
Definition: cosmos-defs.h:79
External Panel: n vertices and a thickness, subject to external forces.
Definition: cosmos-defs.h:65
Definition: cosmos-defs.h:106
Definition: cosmos-defs.h:94
Definition: cosmos-defs.h:95
Definition: cosmos-defs.h:92
Definition: cosmos-defs.h:100
NODE_TYPE
Definition: cosmos-defs.h:88
Definition: cosmos-defs.h:97
Definition: cosmos-defs.h:115
Definition: cosmos-defs.h:99
Definition: cosmos-defs.h:93
Definition: cosmos-defs.h:98
Definition: cosmos-defs.h:116
NODE_FLAG
Definition: cosmos-defs.h:111
Dimensionless:
Definition: cosmos-defs.h:75
Definition: cosmos-defs.h:102