Klaus Basan
cfa96a3aeb
Ref T778, utility functions
2020-06-12 18:42:44 +01:00
Klaus Basan
b71dfe482c
Ref T778, further elevation verifications
2020-06-12 18:42:44 +01:00
Klaus Basan
bce78aa18e
Ref T778, QReadWriteLock::Recursive
2020-06-12 18:42:44 +01:00
Klaus Basan
1821b6e6c5
Ref T778, added/improved removeElevationValues, cleanElevationValues
2020-06-12 18:42:43 +01:00
Klaus Basan
46d417c5a2
Ref T778, style and comments, debug hints
2020-06-12 18:42:43 +01:00
Klaus Basan
373e45e958
Ref T778, some smaller style fixes/improvements
...
for the "underground" airplanes as reported by AK
This does NOT fix the issue, but minor shortcomings
found during the investigation
* style
* checks for "developer" env.
2020-06-12 18:42:43 +01:00
Klaus Basan
6eb767f938
Minor style, typo
2020-06-12 18:42:41 +01:00
Klaus Basan
1642502aae
Distributor filter improvements
...
* if all or none simulator is selected do not filter
* also select if there is no (NULL) simulator
2020-06-12 18:42:41 +01:00
Klaus Basan
6841297c6e
Ref T776, matching flag "ForceModeFlag"
2020-06-12 18:42:39 +01:00
Klaus Basan
3d1dad989e
[TCAS] Fixed "mixed" values for debug/TCAS xswiftbus.conf file
...
Also only update if simulator XPlane is not connected, otherwise values are updated there
This allows to update the values BEFORE XPlane starts and avoids a restart
2020-06-12 18:42:38 +01:00
Klaus Basan
2607ebd7c6
Ref T776, renamed some matching settings
...
* the forced values did not force anything
* also adjusted UI form
2020-06-12 18:42:38 +01:00
Klaus Basan
1da66ce6e9
[Worker] Stop timer in correct thread
2020-06-12 18:42:38 +01:00
Klaus Basan
7f6e3e5378
[Worker] In order to make background validation (worker) stoppable, using an "atomic bool stop flag"
...
Originally Ref T145, Ref T647
2020-06-12 18:42:36 +01:00
Klaus Basan
687d003bb9
Settings style
2020-06-12 18:42:36 +01:00
Klaus Basan
2999aebf37
Ref T773, allow to update CG per model string
...
* needed if CG is overridden by "dot command"
* update all existing aircraft (in range) if changing CG per modelstring
* made "overriddenCGorDefault" public so it can be checked if overridden
* use overridden value in CContextSimulator::xCtxAddedRemoteAircraftReadyForModelMatching
* allow to clear overridden values
2020-06-12 18:42:36 +01:00
Klaus Basan
ec92b6dc46
Ref T773, use closest positions for average height/elevation values
...
Testing with XPlane:
* even in EDDF the field elevations vary from 353-368ft, which means a difference of 15ft or 4m
* that means it is important to use the closest values
2020-06-12 18:42:36 +01:00
Klaus Basan
b0d5b3c6d1
[Worker] Log. how long it takes to quitAndWait a worker
...
* sometimes the shutdown sequence of swift takes extremly long, this is to identify which workers are affected
* reduced "wait time"
* function so each worker can have its own "wait" time
* for a worker there are 2 "waits", the quitAndWait of the worker and the wait of CRegularThread (dtor)
Originally Ref T145, T647
2020-06-12 18:42:35 +01:00
Klaus Basan
049ded16cc
Allow some long lasting validation functions to be stopped/interrupted from "outside"
2020-06-12 18:42:35 +01:00
Klaus Basan
f3bfaa3179
Minimal string concat improvements
2020-06-12 18:42:35 +01:00
Klaus Basan
acd5ee5a3c
Ref T773, use correct transfer, avoid continously transferring because of wrong coordinates
...
* do not use own situation as reference for ground plane, but original coordinates of ground elv. position
* some functions renamed
2020-06-12 18:42:35 +01:00
Klaus Basan
fe1e976093
Ref T773, style
2020-06-12 18:42:34 +01:00
Klaus Basan
e21dab0605
Ref T773, if possible skip update of situations with elevation in interpolator
2020-06-12 18:42:34 +01:00
Klaus Basan
181c2b8061
Ref T773, improved info texts and statistics values
2020-06-12 18:42:34 +01:00
Klaus Basan
f2096bd826
Ref T773, style
2020-06-12 18:42:34 +01:00
Klaus Basan
e611f5109d
Clearer message text
2020-06-12 18:42:34 +01:00
Klaus Basan
ab41c1e930
Ref T773, utility functions to clean cache and find max. elevation
2020-06-12 18:42:34 +01:00
Klaus Basan
466c761616
Ref T773, gcc/clang warnings
...
Remark: "assuming signed overflow does not occur when assuming that (X - c) > X is always false"
2020-06-12 18:42:33 +01:00
Klaus Basan
55b28e24a6
Ref T773, average elevation from cached (on ground) elevations
2020-06-12 18:42:33 +01:00
Klaus Basan
33b1e26460
Ref T773, cache ground elevations for "on ground" planes separately
...
Rational:
* Those values represent taxiways and runways
* we cache those longer and keep more
It is much more likely we need/can use these values
2020-06-12 18:42:33 +01:00
Klaus Basan
ee421fe33c
Ref T773, also log. middle position (2nd) - useful for spline
2020-06-12 18:42:33 +01:00
Klaus Basan
5604cff6bf
Ref T773, audit "null" elevation if tried to be stored
2020-06-12 18:42:33 +01:00
Klaus Basan
33b3cd5461
Ref T773, elevation handling style and minor improvements
2020-06-12 18:42:32 +01:00
Klaus Basan
287d96afea
Ref T773, added "hasMeanSeaLevelValue" and consistently use it
2020-06-12 18:42:32 +01:00
Klaus Basan
0ccc7a9cba
Ref T773, log.elev.info as well
2020-06-12 18:42:32 +01:00
Klaus Basan
af12325856
Ref T773, always set setup for interpolation logger
2020-06-12 18:42:32 +01:00
Klaus Basan
a629b70724
Ref T773, clear log when written, set object name for logger
2020-06-12 18:42:31 +01:00
Klaus Basan
5f1bd14fcf
Ref T773, style
2020-06-12 18:42:31 +01:00
Klaus Basan
812619470b
Ref T773, style and comments
2020-06-12 18:42:28 +01:00
Klaus Basan
9924eb4551
[FS family] improved parsing of quoted model strings
2020-06-12 18:42:28 +01:00
Klaus Basan
b2d94e5f63
[FS family] model loader improvements
...
* better load message handling, display details
* allow to load without "air" files in dev. environment (testing)
2020-06-12 18:42:27 +01:00
Mat Sutcliffe
de037af702
[xplane] Allow disabling terrain probe for diagnosing performance issues
2020-06-12 18:42:24 +01:00
Mat Sutcliffe
0017df0bb3
Fix missing BLACK_METAMEMBER in CXSwiftBusSettings
2020-06-12 18:42:23 +01:00
Mat Sutcliffe
48d1521d3a
Correct filename extension
2020-01-07 19:57:25 +00:00
Mat Sutcliffe
4a0d8e9864
Fixed most Qt 5.14 deprecation warnings
2020-01-07 19:57:25 +00:00
Klaus Basan
12fbd87bbc
Ref T723 [xswiftbus] UI/settings for TCAS enabled and debug mode
...
* UI checkboxes added
* Qt free settings updated
2020-01-07 19:57:24 +00:00
Mat Sutcliffe
0f6b7d910e
Ref T723 [xswiftbus] Expose configuration to enable/disable TCAS traffic
2020-01-07 19:57:24 +00:00
Mat Sutcliffe
8d204cded1
Ref T723 [xswiftbus] Expose configuration for render phase debug messages
2020-01-07 19:57:24 +00:00
Klaus Basan
e1498adc8e
Minor fixes, style
...
* make sure ATC view is updated when disconnected
* prepared rounding, can be enabled at any time
2020-01-07 19:57:22 +00:00
Klaus Basan
386a0ccd5d
[XPlane] Model set must not contain ACF models
...
Discussion: see https://discordapp.com/channels/539048679160676382/539064750055751690/648974956306366499
2020-01-07 19:57:22 +00:00
Klaus Basan
e9f8be013c
[FSD] Style and minor fix, check for network ICAO 1st and not for simulator model (correct display)
2020-01-07 19:57:19 +00:00