ICAROUS
All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Modules Pages
traffic_msg.h
Go to the documentation of this file.
1
5#ifndef ICAROUS_CFS_TRAFFIC_MSG_H
6#define ICAROUS_CFS_TRAFFIC_MSG_H
7
8#include <stdint.h>
9#include "cfe.h"
10#include "stdbool.h"
11#include "Icarous_msg.h"
12
13#define MAX_TRAFFIC_ALERTS 10
14
21typedef struct {
22 uint8_t TlmHeader[CFE_SB_TLM_HDR_SIZE];
23 bands_t altitudeBands;
24 bands_t groundSpeedBands;
25 bands_t trackBands;
26 bands_t verticalSpeedBands;
28
29typedef struct{
30 uint8_t TlmHeader[CFE_SB_TLM_HDR_SIZE];
31 callsign_t callsign[MAX_TRAFFIC_ALERTS];
32 double time;
33 uint32_t numAlerts;
34 int32_t trafficAlerts[MAX_TRAFFIC_ALERTS];
36
44typedef struct{
45 uint8_t TlmHeader[CFE_SB_TLM_HDR_SIZE];
46 double fromHeading;
47 double toHeading;
48 bool safe;
50
56typedef struct{
57 uint8_t TlmHeader[CFE_SB_TLM_HDR_SIZE];
58 bool logDAAdata;
59 float lookahead_time;
60 float left_trk;
61 float right_trk;
62 float min_gs;
63 float max_gs;
64 float min_vs;
65 float max_vs;
66 float min_alt;
67 float max_alt;
68 float trk_step;
69 float gs_step;
70 float vs_step;
71 float alt_step;
72 float horizontal_accel;
73 float vertical_accel;
74 float turn_rate;
75 float bank_angle;
76 float vertical_rate;
77 float recovery_stability_time;
78 float persistence_time;
79 float min_horizontal_recovery;
80 float min_vertical_recovery;
81 bool recovery_trk;
82 bool recovery_gs;
83 bool recovery_vs;
84 bool recovery_alt;
85 bool ca_bands;
86 float ca_factor;
87 float horizontal_nmac;
88 float vertical_nmac;
89 bool conflict_crit;
90 bool recovery_crit;
91 float contour_thr;
92 float alert_1_alerting_time;
93 char alert_1_detector[10];
94 float alert_1_early_alerting_time;
95 char alert_1_region[10];
96 float alert_1_spread_alt;
97 float alert_1_spread_gs;
98 float alert_1_spread_trk;
99 float alert_1_spread_vs;
100 uint8_t conflict_level;
101 char load_core_detection_det_1[50];
102 float det_1_WCV_DTHR;
103 float det_1_WCV_TCOA;
104 float det_1_WCV_TTHR;
105 float det_1_WCV_ZTHR;
106 uint32_t trafficSource;
107 uint8_t resType;
109
114enum Region {UNKNOWN,NONE,FAR,MID,NEAR,RECOVERY,END_OF_REGION};
115
117#endif //ICAROUS_CFS_TRAFFIC_MSG_H
Icarous common message definitions.
kinematics bands report
Definition: traffic_msg.h:21
Definition: Icarous_msg.h:35
Definition: icarous_utils.c:58
Message used to request/respond to check if a turn from heading A to heading B is safe.
Definition: traffic_msg.h:44
bool safe
Definition: traffic_msg.h:48
double fromHeading
Definition: traffic_msg.h:46
double toHeading
Definition: traffic_msg.h:47
Definition: traffic_msg.h:29
parameters used by the traffic application
Definition: traffic_msg.h:56
Region
Definition: traffic_msg.h:114