tmu-edct-tool / backend

MIT License
6 stars 2 forks source link

How are we gonna deal with aircraft disconnecting? #6

Open kognise opened 2 years ago

kmoberg commented 2 years ago

My suggestion is that we give a grace period of 5 or 10 minutes where we do nothing, just leave the airplane as is, but we flag it as "disconnected" in the UI and API. We build a function to deal with disconnected aircraft - process them like a normal update, BUT use previous heading, speed and altitude to move them like it would normally do.

After grace period, remove it, but keep a record of it when we have a historical database, and if an airplane reconnects with the same details, including flightplan later, continue existing flight?