Commit Graph

58 Commits

Author SHA1 Message Date
Klaus Basan
7300a2af1f Ref T384, get closest ATC stations online 2018-10-05 17:39:59 +02:00
Klaus Basan
df4ef3f52d Sending wallop message 2018-10-05 17:39:59 +02:00
Klaus Basan
ec32e3163b Ref T380, test function and UI (internals) to test ATIS 2018-10-05 17:39:57 +02:00
Klaus Basan
756ee18410 Ref T379, to improve reset models added "setAircraftEnabledFlag" to just set the flag, not sending signals causing removed aircraft 2018-10-05 17:39:57 +02:00
Klaus Basan
68b72d9c5c Ref T335, update "enabled/"rendered" for multiple callsigns 2018-09-12 17:40:52 +02:00
Klaus Basan
111eca61ee Ref T345, airspace monitor/context ATIS handling
* using Qt::QueuedConnection
* use new update functions
2018-09-12 17:40:35 +02:00
Klaus Basan
f3f2fa664e Ref T322, ATC station distance can be recalculated when getting ATC stations from network context 2018-09-08 15:36:22 +02:00
Klaus Basan
7b360e03cc Ref T301, make login mode via contexts available 2018-08-13 02:59:43 +02:00
Klaus Basan
ca87784509 Ref T275, remember CG per model string 2018-07-09 22:30:22 +02:00
Klaus Basan
8898bf6be5 Ref T285, allow to re-init all aircraft
* aircraft will be removed, then added again as new
* this will go thru the full cycle and matching
2018-07-09 22:30:17 +02:00
Klaus Basan
7cc350974c Ref T275, added "latestOnGroundProviderElevation" to improve average elevation 2018-06-18 20:55:09 +02:00
Klaus Basan
2625c3fb6b Ref T275, new function to estimate ground elevation and some provider functions
* added "averageElevationOfNonMovingAircraft". Idea: aircraft in the vicinity not moving or on ground likely have the same airport elevation
* added "isWithinRange"
* added "latestRemoteAircraftSituations" / "remoteAircraftSituation" in provider
2018-06-18 03:21:15 +02:00
Klaus Basan
3467bef45c Ref T280, provider improvements
* store the changes per callsign
* aircraft stored per callsign
* moved "guessOnGroundAndUpdateModelCG" down to IRemoteAircraftProvider (from airspace monitor, "one level deeper in base class"
2018-06-18 03:04:34 +02:00
Klaus Basan
fb93d26453 Ref T275, IRemoteAircraftProvider::remoteAircraftParts cutoff time was never used so parameter was removed 2018-06-18 03:04:30 +02:00
Klaus Basan
70c15f62cd Ref T275, allow to disable airspace watchdog (needed when debugging to avoid timeouts) 2018-06-13 14:00:32 +02:00
Klaus Basan
6ed541b6ab Ref T243, Ref T273, added info about elevation (where did we obtain it?) 2018-06-13 13:59:52 +02:00
Klaus Basan
90f84149ed Ref T270, changes to context/and interpolation log display so we can display "internals" of airspace monitor 2018-06-01 01:30:24 +02:00
Klaus Basan
e3465f432c Ref T261, Ref T251 gnd flag support in context/client provider
* allow to set gnd.flag capability via context/client
* utility functions in client provider
2018-05-22 13:20:06 +02:00
Klaus Basan
7ad4c29d28 Ref T261, detect gnd.flag (from network) suppport, display gnd.flag info in UI
* add flag info in simulated aircraft
* allow to display info  in UI
* unified naming to "contains" in situation list
* updated client provider
2018-05-12 21:40:13 +02:00
Klaus Basan
5bf21c2937 Ref T261, correct implementation of client provider
* made the interface a "real" interface and provided implementation as CCLientProvider
* aligned some function names with networl context
* network context "impl" also implements ICLientProvider
2018-05-08 16:06:49 +02:00
Klaus Basan
ae8d9abf0d Improved ATIS update in ATC station component
* signal for ATIS received
* reload ATC statiosns when ATIS changes
2018-05-08 16:06:47 +02:00
Klaus Basan
adeea182da Ref T261, provider support for CG/elevation update 2018-05-08 16:06:44 +02:00
Klaus Basan
eb0fa92e7e Ref T260, function to add an offset to received situations for testing
* "dot" command
* context function
* provider functions
2018-05-08 16:06:40 +02:00
Klaus Basan
e97de13545 Ref T260, adjusted context/remote provider
* signal from simulator -> context
* return number of updated situations
2018-05-08 16:06:38 +02:00
Klaus Basan
056c257182 Ref T260, utility functions to set provider, plane ctor 2018-05-08 16:06:34 +02:00
Klaus Basan
66b661fe9c Ref T259, Ref T243 added number of parts/situations and last modified timestamp
* the spline interpolator might need the timestamp to create a new interpolant
* number of parts/situations is for info only
2018-04-13 23:37:44 +02:00
Klaus Basan
9abc57bb3d Ref T259, Ref T243 remove aircraft parts and situations from interpolator
* no longer using the add parts/situations signals
* will use the remote aircraft provider parts directly

Result: all parts/situations are stored only once in memory and in one single place
2018-04-13 23:37:37 +02:00
Klaus Basan
0c06ac26f7 Ref T259, Ref T243 removed interpolation hints
* no longer needed with providers in that form
* pure refactoring commit, just guarantees compilation
* already minor adjustments to use providers
2018-04-13 23:37:18 +02:00
Klaus Basan
d7ac721d09 Ref T259, Ref T243 setSimulationEnvironmentProvider when simulator changes 2018-04-05 02:54:36 +02:00
Klaus Basan
8021cf76fd Ref T259, Ref T243 formatting 2018-04-05 02:54:30 +02:00
Klaus Basan
5829917694 Ref T89, signal when server (flight network) connects
* server contains the ecosystem
* connect server signal with web data services (so ecosystem is available)
2018-01-30 20:34:38 +01:00
Klaus Basan
81ea636bc0 Assert / formatting 2018-01-30 20:31:41 +01:00
Klaus Basan
c1ee159ff9 Ref T232, some formatting
* made "private slots" -> "slots"
* cross context slots marked with "xCtx" prefix
2018-01-30 20:30:14 +01:00
Roland Winklmeier
704068d299 Add methods to receive and write raw FSD messages
This commit adds methods to register for live FSD message reception. The
amount of traffic can be quite high, therefore no normal signal is used -
which would be available via DBus. Instead one has to connect manually
by passing a functor. This guarantees that we communicate only in-process.
If someone tries to connect on the proxy side, the connection will fail.
This needs to be handled properly in client code.
This commit also adds a method to write the FSD message to a selected file.

Maniphest Tasks: T222
2018-01-26 12:40:36 +01:00
Klaus Basan
23f48a866d Display VATLIB version in "about swift" 2018-01-14 18:45:45 +01:00
Klaus Basan
1386fcd0db Ref T192, fqn for status enum 2017-12-21 19:46:29 +01:00
Klaus Basan
22c34f4e23 Ref T189, "private slot" -> "private" 2017-12-21 19:44:52 +01:00
Klaus Basan
c882c64824 Ref T171, count of aircraft supporting parts
* added functions in providers, aware class
* some utility functions in aircraft list
2017-10-18 22:58:27 +02:00
Klaus Basan
9748b5a442 Formatting, comments, Doxygen, minor tweaks 2017-10-10 00:27:03 +01:00
Klaus Basan
ec844fd438 Ref T27, made isAircraftInRange context and provider function
Based on clang warnings and RW's comment now pure virtual and context and provider function
2017-09-24 19:49:19 +01:00
Klaus Basan
38ea336cbb refs #894, register dot commands for help
(wherever dor commands are implemented)
2017-04-17 23:57:50 +01:00
Klaus Basan
188669501b Formatting 2017-04-17 23:57:46 +01:00
Klaus Basan
7eacb41113 refs #873, allow to request aircraft parts (aircraft config) from network 2017-02-24 00:20:09 +00:00
Klaus Basan
818cdfba59 Doxygen, added link to dev wiki and fixed group 2017-02-24 00:19:11 +00:00
Klaus Basan
68dccbefa6 Formatting, renaming, Doxygen, minor UI adjustments 2017-02-24 00:18:51 +00:00
Klaus Basan
63e2743867 refs #858, fixed todo by adding "getInterimPositionReceivers()" 2017-02-24 00:09:02 +00:00
Klaus Basan
194b2fd9ba refs #849, network context
* formatting
* made some functions protected instead public
2017-01-10 23:47:01 +00:00
Klaus Basan
f281092f16 refs #844, request booking updates from airspace monitor
* removed blocks of \copydoc
* renamed to requestAtcBookingUpdate
2017-01-10 23:46:12 +00:00
Klaus Basan
be297d8ccf refs #840, update (ground) elevation via remote aircraft provider 2017-01-10 23:45:29 +00:00
Roland Winklmeier
4994bf12b2 Let airspace monitor store the aircraft parts history
This commit adds a feature in airspace monitor to store the history
of received aircraft parts. If needed the history can be retrieved
via context methods.

refs #835
2017-01-10 23:45:00 +00:00