Skip to content

Commit

Permalink
FIX: Scenario generation fails when no gates match
Browse files Browse the repository at this point in the history
This is a hotfix, by adding a fallback apron to ELLX,
all other airports already have a fallback.

Long-term, we should add a mechanism that assigns a random gate,
for traffic not matching any rules,
or specify a required "fallback apron" field.
  • Loading branch information
Epse committed Aug 17, 2024
1 parent 4e04ac0 commit 2fc5af7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scenario_generator/data/airports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ export default {
{types: ["NonSchengen", "LowCost"], aprons: ["apron-P1-V-nonshengen"]}, // That typo is in the gate manager, ugh
{types: ["NonSchengen"], aprons: ["apron-P1-A-nonshengen"]},
{types: ["Medium"], aprons: ["apron-P1-A"]},
{types: [], aprons: ["apron-P1-V", "apron-P1-B"]},
],
"elevation": "1234.0",
"departureAltitude": "4000",
Expand Down

0 comments on commit 2fc5af7

Please sign in to comment.