Compare commits

..

14 Commits

Author SHA1 Message Date
Sven Czarnian
893e012b3f code formatting 2021-12-17 16:15:43 +01:00
Sven Czarnian
f5cda2fd03 introduce a new message 2021-12-17 16:15:34 +01:00
Sven Czarnian
df872efa17 extend the protocol to find the sequence on the server 2021-12-09 10:27:02 +01:00
Sven Czarnian
5c00b8c4fc add the stand information to the report 2021-11-15 20:26:23 +01:00
Sven Czarnian
f258a5f1b1 add performance data for the prediction in euroscope 2021-11-14 09:35:32 +01:00
Sven Czarnian
c1f6c0f64b fix a compiler warning 2021-11-13 22:52:05 +01:00
Sven Czarnian
d4a1eb87c7 add the heading to the dynamics to allow a position prediction 2021-11-13 11:47:59 +01:00
Sven Czarnian
997360aa76 extend the report by wind, etc. 2021-11-13 10:03:08 +01:00
Sven Czarnian
5e4b9faa16 update the inbound schedule 2021-11-13 10:02:52 +01:00
Sven Czarnian
54ae325927 extend the waypoint data 2021-11-13 10:02:21 +01:00
Sven Czarnian
bb4bbb5c45 add the wind data 2021-11-13 10:02:13 +01:00
Sven Czarnian
33ef849dff add a new message to avoid single messages per inbound 2021-11-12 19:52:10 +01:00
Sven Czarnian
51dfbf0577 add the waypoints to the scheduling message 2021-11-11 14:39:40 +01:00
Sven Czarnian
7c44973935 define the waypoint with PTA 2021-11-11 14:39:26 +01:00
4 changed files with 58 additions and 16 deletions

View File

@@ -14,12 +14,14 @@ message AircraftReport {
CENTER = 5; // Center or FSS reported CENTER = 5; // Center or FSS reported
} }
string reportTime = 1; // UTC time of the report string reportTime = 1; // UTC time of the report
Reporter reportedBy = 2; // Indicates who reported this aircraft Reporter reportedBy = 2; // Indicates who reported this aircraft
Aircraft aircraft = 3; // aircraft information Aircraft aircraft = 3; // aircraft information
string initialApproachFix = 4; // last waypoint of the route string initialApproachFix = 4; // last waypoint of the route
Coordinate position = 5; // current WGS84 position Coordinate position = 5; // current WGS84 position
Dynamics dynamics = 6; // current aircraft dynamics Dynamics dynamics = 6; // current aircraft dynamics
string destination = 7; // the destination airport string destination = 7; // the destination airport
int32 distanceToIAF = 8; // distance to IAF in NM int32 distanceToIAF = 8; // distance to IAF in NM
string plannedGate = 9; // the planned gate for the inbound
string requestedRunway = 10; // the requested runway of the pilot
} }

View File

@@ -1,12 +1,13 @@
syntax = "proto3"; syntax = "proto3";
package aman; package aman;
import "Aircraft.proto"; import "BaseTypes.proto";
message AircraftSchedule { message AircraftSchedule {
Aircraft aircraft = 1; // aircraft information string callsign = 1; // aircraft's callsign
string arrivalRoute = 2; // planned arrival route bool fixed = 2; // indicates if the sequence is fixed
string arrivalRunway = 3; // planned arrival runway string arrivalRoute = 3; // planned arrival route
string reachIafAtTime = 4; // UTC time when the aircraft needs to pass IAF string arrivalRunway = 4; // planned arrival runway
string reachRunwayAtTime = 5; // UTC time when the aircraft needs to touch down PerformanceData performance = 5; // used performance data
repeated Waypoint waypoints = 6; // contains the planned waypoints with the PTA
} }

View File

@@ -6,8 +6,30 @@ message Coordinate {
double longitude = 2; // WGS84 longitude in degrees double longitude = 2; // WGS84 longitude in degrees
} }
message WindData {
int32 altitude = 1; // The altitude of the wind data
int32 direction = 2; // The wind direction
int32 speed = 3; // The wind speed
}
message Waypoint {
string name = 1; // The waypoint's name
string pta = 2; // The planned time of arrival (YYYY-MM-DD HH:MM:SS)
int32 altitude = 3; // The target altitude
int32 indicatedAirspeed = 4; // The target indicated airspeed
int32 groundSpeed = 5; // The target ground speed
}
message PerformanceData {
int32 iasAboveFL240 = 1; // The speed above FL240
int32 iasAboveFL100 = 2; // The speed above FL100
int32 iasBelowFL100 = 3; // The speed below FL100
int32 iasApproach = 4; // The minimum approach speed
}
message Dynamics { message Dynamics {
int32 groundSpeed = 1; // given in knots int32 groundSpeed = 1; // given in knots
int32 altitude = 2; // given in feet int32 heading = 2; // reported heading
int32 verticalSpeed = 3; // given in feet/min int32 altitude = 3; // given in feet
int32 verticalSpeed = 4; // given in feet/min
} }

17
Communication.proto Normal file
View File

@@ -0,0 +1,17 @@
syntax = "proto3";
package aman;
import "AircraftReport.proto";
import "AircraftSchedule.proto";
import "BaseTypes.proto";
message AircraftUpdate {
string airport = 1; // Contains the updated airport
repeated AircraftReport reports = 2; // Contains all updated aircrafts
}
message AircraftSequence {
string airport = 1; // Contains the airport ICAO for an easy filter
repeated WindData windData = 2; // Contains the wind information
repeated AircraftSchedule sequence = 3; // Contains the sequence for the airport
}