fix: enforce closing of doors when tug is attached #9602
+25
−5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #9405
Summary of Changes
Addresses issues with open doors especially when users use GSX which seem to have trouble closing some of the doors again.
This PR ensures doors are closed when the tug is attached, the aircraft moves or is not on ground.
Additional context
Check if this clashes with #9528 or the GSX support in general (although it addresses the issue that GSX is not able to handle higher door indexes).
Discord username (if different from GitHub): cdr_maverick
Testing instructions
Needs testing in both aircraft (A32NX and A380X).
Try to get into a state that doors stay open once pushback is attached or when in the air.
Especially if you have GSX test that this does not interfere with the GSX integration.
How to download the PR for QA
Every new commit to this PR will cause new A32NX and A380X artifacts to be created, built, and uploaded.