Commit Graph

2649 Commits

Author SHA1 Message Date
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
dd4ce91744 Situation change fix, typo 2018-07-12 18:29:41 +02:00
Klaus Basan
c8e214cef4 Use Mixin::String so that string conversion is properly called for CElevationPlane 2018-07-11 23:48:36 +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
b74de43ce0 Ref T268, compare for CAltitude 2018-07-10 17:17:34 +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
27f43747ae Ref T268, elevation plane improvements 2018-07-10 17:17:25 +02:00
Klaus Basan
62f9beae89 Ref T268, aircraft situation improvements
* Transfer gnd. elevation
* find closest elevation
2018-07-10 17:17:24 +02:00
Klaus Basan
d489bed370 Ref T268, compare for PQs 2018-07-10 17:17:21 +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
a2bca21715 Ref T286, moved server settings into "network" namespace (not VATSIM specific) 2018-07-09 22:30:33 +02:00
Klaus Basan
2da0186dd2 Ref T286, "humanReadable" functions 2018-07-09 22:30:32 +02:00
Klaus Basan
698c8871bc Ref T286, utility functions for copy caches/settings 2018-07-09 22:30:31 +02:00
Klaus Basan
fa09a6e53b Ref T286, JSON utility functions 2018-07-09 22:30:30 +02:00
Klaus Basan
3b371d3177 Ref T286, static JSON functions for container 2018-07-09 22:30:29 +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
7bb6d84e93 Fixed "random integer", RAND_MAX applies to diff of high/low, not high 2018-06-27 12:49:13 +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
984f06f79f Ref T275, Ref T280, fix parts guessing: do not return after initial guessing, also do 2nd step 2018-06-20 00:58:39 +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
2c55015d26 Ref T275, ctor and option to check if gnd elevation "is better" 2018-06-18 20:55:06 +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
c24e1d9c16 Ref T275, extrapolate elevation function
* extrapolate will be used to "guess" elevation when a new network situation is received
* we guess the elevation until we receive it from provider
2018-06-18 03:04:44 +02:00
Klaus Basan
5a22b79299 Ref T275, defined the pairs we are using 2018-06-18 03:04:43 +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
5b171e7b94 Ref T280, fixed usage for aircraft change
* calculate only simple changes (without deviations) if those are not needed
* return "change" object so it can be re-used
2018-06-18 03:04:40 +02:00
Klaus Basan
b1fc56bb57 Minor improvements and style for CRgbColor, faster compare without always convertng to string 2018-06-18 03:04:38 +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