Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep parked airplanes after they have turned off transponder #255

Closed
jorisrobijn opened this issue Sep 2, 2023 · 2 comments
Closed

Keep parked airplanes after they have turned off transponder #255

jorisrobijn opened this issue Sep 2, 2023 · 2 comments

Comments

@jorisrobijn
Copy link

Current Situation / Problem

Airplanes disappear when parked at a gate. This is because they turn off their transponder and therefore disappear from the list of received aircraft.

Suggested Solution

When an aircraft has been received at an almost fixed position for some time and then disappears from the list, we can assume it is still there. Especially if this is at/near the position of an X-Plane ramp spot. The plane could then be kept there.
Medium and large planes normally stay parked where they were stopped. But small airplanes are often moved inside. Therefore small airplanes should only stay for a few minutes, while medium and large airplanes can stay for a few hours.
In case the reception at an airfield is bad, or if no ADS-B but only multilateration is available, the aircraft may show its last position on the runway or in the air. Since this is far away from a ramp spot, it is better to make it disappear (probably we never observed the aircraft twice at the same position anyway).

More

Preferably, after restarting an X-Plane flight, the aircraft of a short time ago should be remembered. Otherwise at every restart at the same airport, all planes that have just landed are forgotten. However, after a few hours this information cannot be used anymore.

If ramp spots are identified for the parking location, this information is also available for pushing back the airplane from the gate when it leaves. This is described in issue #217 .

In the future, maybe the aircraft parked at gates could use ground service from X-Plane.

Benefits

This fills the airports a bit with parked aircraft. And they don't just disappear.

@TwinFan
Copy link
Owner

TwinFan commented Sep 2, 2023

Yea, that has been suggested a couple of times, but apparently not entered as an issue here yet, so thanks for adding.

It isn't even terribly difficult to implement, at the least the part to just keep already existing planes (not cars) a little longer. LiveTraffic is aware of the airport's parking positions, so it can judge if the aircraft is near such a spot when the signal is lost and can just keep the plane as it is.

LiveTraffic can also determine when -for whatever weird reason- another plane (not car) shows up way too close and would then eventually remove the parked plane.

I would not invest in "remembering" any position between starts of the X-Plane simulator (which you probably didn't intend to suggest anyway).

I might look into keeping parked planes across automatic resets that you may potentially experience when setting up a new flight. These resets happen because LiveTraffic isn't called by X-Plane while you are in a main menu and hence can't get position updates. This reset is currently quite radical, so can't say off hand if keeping any planes is reasonably possible without rewriting too much code.

@jorisrobijn
Copy link
Author

Sounds good. I understand the difficulties. If you can retain the list of aircraft between restarts/continuations (not full restarts of X-plane) that would be very nice. Maybe you can find an other way to decide if you can still use the data in the list for the movement calculations, or you need to "restart receiving".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants