Commit Graph

64 Commits

Author SHA1 Message Date
Sven Czarnian
8ac4977c08 initialize all required information to avoid race conditions between in plugins and the web interface 2021-12-23 16:29:25 +01:00
Sven Czarnian
57867a2e21 fix a crash 2021-12-22 15:47:11 +01:00
Sven Czarnian
6dc4f6de72 provide shall-should-may information 2021-12-22 15:13:18 +01:00
Sven Czarnian
97c7173313 add the IAF spacing constraint to the arrival estimation 2021-12-22 13:29:36 +01:00
Sven Czarnian
b441b945b9 code formatting 2021-12-22 13:29:21 +01:00
Sven Czarnian
f83febab3a add a function to register a new inbound 2021-12-22 13:28:56 +01:00
Sven Czarnian
1b53084e8c add better differences to check if arrival candidates exist 2021-12-22 13:27:35 +01:00
Sven Czarnian
13837fdb62 use a new function to create the fixed preceedings and use the information in the runway manager 2021-12-21 10:45:32 +01:00
Sven Czarnian
83acbdc3b5 remove unused variables and rename a parameter 2021-12-20 14:24:27 +01:00
Sven Czarnian
f4fa9eeb18 fix the issues with the time delta estimation 2021-12-19 13:26:49 +01:00
Sven Czarnian
fc84aab0f2 robust error handling to avoid later crashes 2021-12-19 13:06:03 +01:00
Sven Czarnian
91683ec899 code formatting 2021-12-19 12:27:44 +01:00
Sven Czarnian
e265629439 handle the requested runways in the optimization 2021-12-19 12:24:26 +01:00
Sven Czarnian
e1eb50f6d3 avoid crashes due to invalid WTC entries 2021-12-17 13:32:07 +01:00
Sven Czarnian
7006e8b835 fix some table issues 2021-12-17 13:31:54 +01:00
Sven Czarnian
1acec75d08 fix a wrong function call 2021-12-16 15:59:13 +01:00
Sven Czarnian
ae96e5be6b abort if we found the optimal solution 2021-12-16 10:24:10 +01:00
Sven Czarnian
bb6cacd898 fix an issue in the global update 2021-12-16 10:23:40 +01:00
Sven Czarnian
cd5c21d099 use the shortcut-path as the ITA for the optimization, but use the full path as the ITA itself 2021-12-16 10:22:43 +01:00
Sven Czarnian
1e031dcb7c fix a wrong comment 2021-12-15 13:17:40 +01:00
Sven Czarnian
cbf033f4b6 remove the debug message 2021-12-15 11:21:02 +01:00
Sven Czarnian
760145731d fix a bug in the ETA estimation 2021-12-15 09:29:12 +01:00
Sven Czarnian
5242fe0d87 use the optimization thresholds to calculate the TTG 2021-12-15 09:28:59 +01:00
Sven Czarnian
bb2aaeba7a use the best initial ITA 2021-12-14 11:26:57 +01:00
Sven Czarnian
4f21f8968b fix the TTG calculation 2021-12-14 11:26:25 +01:00
Sven Czarnian
ad129dc2b6 fix the prediction calculation 2021-12-14 11:25:51 +01:00
Sven Czarnian
01b12b4398 do not overwrite the last waypoint if it is already set up 2021-12-14 11:25:27 +01:00
Sven Czarnian
ba34ff97a9 add the flight time until the IAF 2021-12-14 11:25:02 +01:00
Sven Czarnian
a85bcac1e8 remove useless TODO 2021-12-14 11:24:02 +01:00
Sven Czarnian
4fbe9d1060 refactor the ETA estimation 2021-12-14 11:23:18 +01:00
Sven Czarnian
52aefd0966 minimize the TTL to provide realistic TTLs 2021-12-09 12:30:07 +01:00
Sven Czarnian
70be822e2d fix a system crash 2021-12-09 11:34:06 +01:00
Sven Czarnian
2b4200ba58 remove a debug message 2021-11-29 17:56:28 +01:00
Sven Czarnian
7636c549db fix a potential crash 2021-11-29 17:56:08 +01:00
Sven Czarnian
8277721edb use only 5% speed increase -> more realistic 2021-11-25 22:53:31 +01:00
Sven Czarnian
3746301b0d use the correct reference time 2021-11-25 22:53:06 +01:00
Sven Czarnian
a8419c286f change the TTL/TTG assignment to the IAF -> predictable shortcuts via DIRECTs 2021-11-25 22:52:48 +01:00
Sven Czarnian
06974b807c fix bugs in TTL and TTG calculations 2021-11-24 12:05:03 +01:00
Sven Czarnian
f359ec8189 add a predicted waypoint for later calculations 2021-11-24 12:04:52 +01:00
Sven Czarnian
be6fe84d77 fix potential crashes 2021-11-24 12:04:25 +01:00
Sven Czarnian
3b767489c3 the conversion to NM is done in the haversine function 2021-11-24 12:04:13 +01:00
Sven Czarnian
3affbd9d57 add the runway assignment based on shall-should-may 2021-11-17 10:02:29 +01:00
Sven Czarnian
7fe1af1def extend the configuration to define the maximum delay to execute may-assignments 2021-11-17 10:01:35 +01:00
Sven Czarnian
8b34f622a3 adapt the code to split up predictions form the inbounds 2021-11-13 22:55:04 +01:00
Sven Czarnian
921919488f calculate the PTA based on linear functions for the complete arrival route 2021-11-12 19:40:19 +01:00
Sven Czarnian
6f36d8f569 run the optimization every time to optimze also based on TTG 2021-11-12 19:38:11 +01:00
Sven Czarnian
40ddd7c188 remove debugging messages 2021-11-12 19:37:26 +01:00
Sven Czarnian
63378a347b set the planned arrival route and trackmiles 2021-11-11 23:23:25 +01:00
Sven Czarnian
3d87c3918b remove some debugging todos 2021-11-10 22:50:00 +01:00
Sven Czarnian
97a2f24f28 use weights to find better sequence with TTG and TTL constraints 2021-11-10 22:45:30 +01:00