Commit Graph

6119 Commits

Author SHA1 Message Date
Klaus Basan
f4d40b2d39 Ref T285, applied new style (private instead private slots) and Qt::QueuedConnection in mapping component 2018-06-27 12:49:18 +02:00
Klaus Basan
b7df378868 Minor fixes include order 2018-06-27 12:49:17 +02:00
Klaus Basan
eaa40e8289 Per default enable matching log 2018-06-27 12:49:16 +02:00
Klaus Basan
40582fcf59 Some smaller fixes in prephase of T285 2018-06-27 12:49:15 +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
350d7257c2 Ref T275, unit tests for FSX/P3D
In that very case testing the offsets for request ids
2018-06-27 12:49:12 +02:00
Klaus Basan
7a745d2ce6 Ref T275, improved request id handling for FSX/P3D
* base reange for request IDs
* all operations use offsets
* we can conclude what an id is used for (debugging)

plus

* minor Doxygen fixes
* some renamings
2018-06-27 12:49:11 +02:00
Klaus Basan
e6ac7eb4df Add Qt += network 2018-06-27 12:49:09 +02:00
Klaus Basan
bc0b4502cf Ref T275, move some simple implementations into ISimulator
Goal: merge CSimulatorCommon/ISimulator
2018-06-27 12:49:08 +02:00
Klaus Basan
abdecaf9d8 Ref T275, count simconnectProc calls and how often it was doing nothing 2018-06-27 12:49:06 +02:00
Klaus Basan
dff5c90853 Ref T275, move simulator info into env. provider 2018-06-27 12:49:05 +02:00
Klaus Basan
e9e68de255 Ref T245, experimental camera support for P3D
* removed deprecated functions of SimObject
* specific P3D initEvent function
2018-06-27 12:49:03 +02:00
Klaus Basan
69193f089a Minor tweaks, style 2018-06-25 02:04:35 +02:00
Klaus Basan
e46076afa5 Externals P3D V4.2 2018-06-21 17:46:32 +02:00
Klaus Basan
7b4733fbdd Ref T275, adjusted setup component
* ignore "same as global"
* Qt::QueuedConnection
2018-06-21 00:53:42 +02:00
Klaus Basan
d3796fc65a Ref T275, added param "ignoreSameAsGlobal" in function "setInterpolationAndRenderingSetupsPerCallsign" 2018-06-20 00:58:47 +02:00
Klaus Basan
b0c54b4a9f Better detect debugger attached in watchdog 2018-06-20 00:58:46 +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
0aa5836b62 Ref T275, detect when objects have been deleted in view and using that signal in setup component 2018-06-20 00:58:43 +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
e90027e3fc Ref T280, using "result.getPartsStatus().isReusedParts" 2018-06-20 00:58:38 +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
d864789890 Ref T280, FSX/P3D also measure time of inner SimConnectProc to see if SimConnect_CallDispatch has any influence 2018-06-18 03:04:51 +02:00
Roland Winklmeier
4a46974cb5 Update Qt to 5.9.6 2018-06-18 03:04:50 +02:00
Roland Winklmeier
8dd22a18b5 Jenkinsfile fixes
- Mark build with warnings unstable
- Do not set the global build status to failure if a single build failed
2018-06-18 03:04:49 +02:00
Roland Winklmeier
18b6ee700b Move Jenkins Linux build to Ubuntu 16.04 2018-06-18 03:04:48 +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
971359743e Selector Qt::QueuedConnection 2018-06-18 03:04:42 +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
58b484d997 Ref T275, Ref T280 improved interpolation log and allow to disable all aircraft
* show when interpolation log updates its views (LED)
* allow to disable all aircraft (one can disable all, then just enable one aircraft which is useful for debugging)
2018-06-18 03:04:39 +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
9438462280 Optimizations for column formatters, use CVariant directly if a value remains const (no need to always contruct CVariant) 2018-06-18 03:04:37 +02:00
Klaus Basan
348d9f1533 Ref T280, interpolation log display shows parts from provider 2018-06-18 03:04:35 +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
9777bf963c Style 2018-06-18 03:04:32 +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
Roland Winklmeier
e7cfae4fcc Bump minor version number 2018-06-18 03:04:28 +02:00