ICAROUS
All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Modules Pages
merger_msg.h
Go to the documentation of this file.
6#ifndef ICAROUS_CFS_MERGER_MSG_H
7#define ICAROUS_CFS_MERGER_MSG_H
8
9#include <cfe.h>
10#include <stdint.h>
11
12#define INTERSECTION_MAXC 10
13
14
19typedef struct __attribute__((__packed__)){
20 CCSDS_PriHdr_t hdr;
21 int8_t aircraftID;
22 int8_t intersectionID;
23 double earlyArrivalTime;
24 double currentArrivalTime;
25 double lateArrivalTime;
26 int32_t numSchedulesComputed;
27 uint8_t zoneStatus;
28}cMergingData_t;
29
34 typedef struct{
35 uint8_t TlmHeader[CFE_SB_TLM_HDR_SIZE];
39 double entryRadius;
40 double coordZone;
41 double scheduleZone;
45 double IntersectionLocation[INTERSECTION_MAXC][3];
46 uint32_t IntersectionID[INTERSECTION_MAXC];
48 double missionSpeed;
50
51#endif //ICAROUS_CFS_MERGER_MSG_H
struct __attribute__((__packed__))
Definition: merger_msg.h:19
Definition: merger_msg.h:34
int startIntersection
Definition: merger_msg.h:47
double scheduleZone
Definition: merger_msg.h:41
double missionSpeed
Definition: merger_msg.h:48
double coordZone
Definition: merger_msg.h:40
double maxVehicleTurnRadius
Definition: merger_msg.h:44
double maxVehicleSpeed
Definition: merger_msg.h:36
double minSeparationDistance
Definition: merger_msg.h:42
double entryRadius
Definition: merger_msg.h:39
double minSeparationTime
Definition: merger_msg.h:43
double minVehicleSpeed
Definition: merger_msg.h:37
double corridorWidth
Definition: merger_msg.h:38