Klaus Basan
80cee12fdb
Ref T246, utility for 1st model set directory
...
* remove empty enries in directories
* allow to add directory
* detect same directories and avoid duplicates
2018-07-14 19:45:21 +02:00
Klaus Basan
6af1998f58
Style and comments
2018-07-12 18:29:42 +02:00
Klaus Basan
a5acd0a1ec
Ref T268, elevation handling improvements
...
* utility functions
* made storeAircraftSituation virtual and return Aviation::CAircraftSituation
* coordinate toQString in deg/rad
2018-07-11 23:44:11 +02:00
Klaus Basan
621396e66d
Ref T268, consider altitude checking same situation
2018-07-10 17:17:29 +02:00
Klaus Basan
29536dac4d
Ref T268, simulator improvements
...
* use virtual function to emit setup signal
* callback public so it can be used from "log display" for testing
* sim. environment provider statistics
2018-07-10 17:17:29 +02:00
Klaus Basan
6e880b950c
Ref T268, interpolation setup provider (no QObject) can "emit signal" by using a virtual function
2018-07-10 17:17:28 +02:00
Klaus Basan
ead1a93597
Style
2018-07-09 22:30:54 +02:00
Klaus Basan
b345d6e9de
Ref T268, fixed CG comparison
2018-07-09 22:30:41 +02:00
Klaus Basan
cc5fb3e6bd
Typo
2018-07-09 22:30:38 +02:00
Klaus Basan
f2820d81a4
Ref T286, multi caches/setting utility functions to check other versions
2018-07-09 22:30:34 +02:00
Klaus Basan
ac406d43f6
Ref T286, renaming / adding utility functions in simulator info
2018-07-09 22:30:24 +02:00
Klaus Basan
ca87784509
Ref T275, remember CG per model string
2018-07-09 22:30:22 +02:00
Klaus Basan
c168262159
Ref T275, utility functions in simulated aircraft, sim object ..
2018-07-09 22:30:21 +02:00
Klaus Basan
6bcded9264
Style
2018-07-09 22:30:20 +02:00
Klaus Basan
7e8c0cc99d
Fixes: emit signals at end and check sGui
2018-07-09 22:30:19 +02:00
Klaus Basan
1f689a8830
Ref T275, Ref T280, Ref T245 FSX simulator improvements
...
* request model info
* stricter checks (asserts)
* display simulator debug messages in simulator view (not as normal status message)
2018-07-09 22:30:16 +02:00
Klaus Basan
9baa10c5f8
Style
2018-07-09 22:30:14 +02:00
Klaus Basan
dff5c90853
Ref T275, move simulator info into env. provider
2018-06-27 12:49:05 +02:00
Klaus Basan
69193f089a
Minor tweaks, style
2018-06-25 02:04:35 +02:00
Klaus Basan
d3796fc65a
Ref T275, added param "ignoreSameAsGlobal" in function "setInterpolationAndRenderingSetupsPerCallsign"
2018-06-20 00:58:47 +02:00
Klaus Basan
fc1a2bbb0f
Ref T275, Ref T280, avoid nan (not a number) values in PQs/elevation
2018-06-20 00:58:45 +02:00
Klaus Basan
d99a7639e8
Ref T275, fixed CInterpolationAndRenderingSetupPerCallsign::isEqualToGlobal
2018-06-20 00:58:44 +02:00
Klaus Basan
73ea22530c
Ref T275, override simulator setup provider functions to emit signals
...
* the provider itself is no QObject and cannot emit signals
* removed redundant function setInterpolationAndRenderingSetup
2018-06-20 00:58:41 +02:00
Klaus Basan
e0b95859c1
Ref T275, unified elevation missed info -> getElevationsFoundMissedInfo()
2018-06-20 00:58:40 +02:00
Klaus Basan
3f14be6517
Ref T275, Ref T280, parts guessing and interpolating can have different ratios
2018-06-20 00:58:37 +02:00
Klaus Basan
65c94cf2c3
Style
2018-06-20 00:58:36 +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
c7482ebc1a
Ref T275, use refactored and improved elevation functions in interpolator
2018-06-18 03:04:47 +02:00
Klaus Basan
746024becd
Ref T275, use extrapolate for new situations in airspace monitor and provider
2018-06-18 03:04:46 +02:00
Klaus Basan
d1157bb5c6
Ref T275, moved "preset" of elevation to situation class (from interpolator)
2018-06-18 03:04:41 +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
d49831abc4
Ref T280, QHash for aircraft and models and some minor improvements
...
* CValueObject::comparePropertyByIndex
* bool "true" if value has been changed
2018-06-18 03:04:33 +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
978fe5eea2
Ref T275, Ref T280 hint for timestamp based list if they are already sorted
2018-06-18 03:04:29 +02:00
Klaus Basan
c5fb428fa9
Ref T280, using the QHash<CCallsign, T> definitions to unify use cases
2018-06-14 14:40:16 +02:00
Klaus Basan
a27f2b3a9c
Style, typos
2018-06-13 14:00:21 +02:00
Klaus Basan
bdf58ff538
Ref T275, utility functions to trace request ids
2018-06-13 14:00:18 +02:00
Klaus Basan
bf0db64f65
Improved METAR string building
...
* use static const arg1s (not always create temp. arg strings)
* use QStringBuilder to concatenate several parts at once
* done during Ref T275, but not really related
2018-06-13 14:00:17 +02:00
Klaus Basan
fe396e19aa
Ref T275, interpolator improvements
...
* flags for same parts/situation status
* transfer elevation (Ref T273) from previous situation
* preset elevation based on network situations if possible
* set elevation info
* function CInterpolator::initInterpolatedSituation
2018-06-13 13:59:59 +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
b257c693ff
Ref T243, Ref T273, improved elevation fetching
...
* slightly shorter lock time
* transfer elevation from last situation
2018-06-13 13:59:49 +02:00
Klaus Basan
c6f3d4e2f2
Ref T270, mark interpolator as unit test
...
* if we use "recycled" parts, we have to store also the last status
* mark unit test so "recycling" is disabled
* status flag for "reused"
2018-06-13 13:59:46 +02:00
Klaus Basan
181ed36f3d
Ref T270, interpolator optimization by passing aircraft number
...
Rational: Except for FS9 we interpolate all aircraft in one loop at the same time. This can cause that some steps are always done at the same time for all aircraft of that loop. By passing the number we can more equally distribute such tasks, avoiding peaks.
2018-06-13 13:59:39 +02:00
Klaus Basan
2b9d9027a0
Ref T270, performance improvement by keeping less elevations cached
...
Rational: the idea was to keep track of ground elevations of all aircraft and hence using them for other aircraft on ground. But the "hit" ratio is bad, so we only keep a small number of elevations ("the last ones") and use those. The size of the cache is dynamically adjusted. Not moving aircraft are still found in that much smaller list.
2018-06-13 13:59:36 +02:00
Klaus Basan
f82010a1da
Ref T270, fixes in interpolator
...
* interpolatedParts already "logs", do not do it twice
* performance: only recalculate "this->remoteAircraftSituationsAndChange(setup)" when there are new situations, not every interpolation step
2018-06-13 13:59:30 +02:00
Klaus Basan
686b27af6e
Ref T270, style
2018-06-13 13:59:28 +02:00
Klaus Basan
2923df27e2
Use fully qualified names in signals as there was an unrecognized type with Qt::QueuedConnection
2018-06-13 13:59:21 +02:00
Roland Winklmeier
4aaccb44c3
Cleanup the enabled modules in all sub projects
...
Most modules were just enabled to add include path for dependent headers
2018-06-02 02:08:46 +02:00
Klaus Basan
7bee8e9ee8
Formatting
2018-06-01 01:30:42 +02:00