Mat Sutcliffe
a6eaa57f05
[xswiftbus] Fixed wrong error message in config parser
2020-06-12 18:42:36 +01:00
Mat Sutcliffe
e6207198ad
[xswiftbus] Fixed wrong config variable name
2020-06-12 18:42:36 +01:00
Klaus Basan
3174e15b53
[XSwiftBus] Add timestamp for logger
2020-06-12 18:42:36 +01:00
Mat Sutcliffe
99033f8538
Update libxplanemp
2020-06-12 18:42:36 +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
9bcc16b94e
Ref T773, validate received network data again
...
* ff no ICAO data are received, the model is not "ready for matching"
* in that case we verify the situation and query ICAO data again
* now we have to verify again, to see if the 2nd query suceeded (otherwise dangling)
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
93652ccd43
String utils, "const QChar &char"
2020-06-12 18:42:36 +01:00
Klaus Basan
53d08384da
Ref T773, use complete string as modelstring for "cg" dot command
...
Example: "B773 B773_RR SDM"
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
57153d45d7
Ref T773, style
2020-06-12 18:42:35 +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
b1d1880d43
Emulated driver: Use QPointer for widget as the widget can be deleted elsewhere as well
2020-06-12 18:42:35 +01:00
Klaus Basan
3ffedd16ec
Ref T733, allow to save/load a flight plan template
2020-06-12 18:42:35 +01:00
Klaus Basan
59f8a7f88b
Ref T773, [FG] avoid "NaN" elevations
2020-06-12 18:42:35 +01:00
Klaus Basan
a5f4705bb1
Ref T773, style (simulator)
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
08186e6559
Ref T773, log.categories for XSwiftBusProxy
2020-06-12 18:42:35 +01:00
Klaus Basan
08ef16e1a9
Ref T773, check for "nan" for elevations
2020-06-12 18:42:35 +01:00
Klaus Basan
6221102b97
Minor follow up of "settings" for terrain probe (style)
2020-06-12 18:42:34 +01:00
Klaus Basan
271c6c4825
[AFV] Map reader, break while loop if application shuts down
2020-06-12 18:42:34 +01:00
Klaus Basan
81fa0b56c1
[AFV] Based on RRs idea init Qt audio device lists. The idea is to init them upfront in the main thread
...
Ref: https://discordapp.com/channels/539048679160676382/539925070550794240/676414836351172614
2020-06-12 18:42:34 +01:00
Klaus Basan
fe1e976093
Ref T773, style
2020-06-12 18:42:34 +01:00
Klaus Basan
8e89488bae
Guard
2020-06-12 18:42:34 +01:00
Klaus Basan
3b73f6aa25
Ref T773, adjust skip values (speed/radius)
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
4120a2c77d
Ref T773, use "on ground" cached elevations for situations in simulator and airspace monitor
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
b128d40342
Ref T773, return flag if elevation was set for a ground position
2020-06-12 18:42:33 +01:00
Klaus Basan
a7ae5290d0
Utility function
2020-06-12 18:42:33 +01:00
Klaus Basan
25b30ccf34
Ref T773, style/typo
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
14ab60cb73
Guarding by "hasWebDataServices"
2020-06-12 18:42:33 +01:00
Klaus Basan
70e08fdf8b
Ref T773, allow to clear/write log. from interpolation UI via buttons
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
9f911b7e55
Ref T773, use the callback for testing in emulated driver (same code as XPlane et.al.)
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
c57ed26880
Ref T773, improved start/stop in log.display
2020-06-12 18:42:32 +01:00
Klaus Basan
1d9fd71305
Ref T773, log.categories for log.display and messages if logging starts
2020-06-12 18:42:32 +01:00