Klaus Basan
8206fc6bb9
Ref T778, special terrain probe value handling for XP
...
* only request terrain probe up to a max. distance
* detect "isSuspiciousTerrainValue"
* See also https://discordapp.com/channels/539048679160676382/539925070550794240/696786452855390218
2020-06-12 18:42:44 +01:00
Klaus Basan
46d417c5a2
Ref T778, style and comments, debug hints
2020-06-12 18:42:43 +01:00
Klaus Basan
829777bf3a
Ref T778, added "likelyOnGroundElevation" as parameter for "ememberElevationAndSimulatorCG"
2020-06-12 18:42:43 +01:00
Klaus Basan
507c9e57d7
Guard to avoid issues during shutdown
2020-06-12 18:42:42 +01:00
Klaus Basan
90017f2e79
Minor style
2020-06-12 18:42:39 +01:00
Klaus Basan
4d75c1576e
[XPlane] Avoid elevation requests and minor style fixes in XPlane driver
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
e9decab36a
Avoid ERROR: Missing XSWIFTBUS_COMMIT variable
...
see discussion: https://discordapp.com/channels/539048679160676382/539925070550794240/687795747403595847
2020-06-12 18:42:38 +01:00
Lars Toenning
38a7542265
[FG] Fix compiler warning
2020-06-12 18:42:37 +01:00
Lars Toenning
469a057a86
[FG] Fetching elevation from sim
2020-06-12 18:42:37 +01:00
Lars Toenning
22a70e083e
[FG] Enhancing version compatibility check
2020-06-12 18:42:37 +01:00
Lars Toenning
42fd0ed86e
Add support for non multi-arch linux distros
2020-06-12 18:42:37 +01:00
Lars Toenning
4a7af7ee3d
[FG] Sending AI ground speed to FG
2020-06-12 18:42:37 +01:00
Lars Toenning
8053504acb
[FG] Getting ground elevation
2020-06-12 18:42:37 +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
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
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
fe1e976093
Ref T773, style
2020-06-12 18:42:34 +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
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
a629b70724
Ref T773, clear log when written, set object name for logger
2020-06-12 18:42:31 +01:00
Klaus Basan
60b556f118
Ref T773, allow to set test elevation (from log.display)
2020-06-12 18:42:31 +01:00
Mat Sutcliffe
f4f34341e6
[xswiftbus] getElevationAtPosition also returns latitude and longitude
2020-06-12 18:42:31 +01:00
Mat Sutcliffe
ecc38fede7
[XP driver] Fixed failure to find CSL package in certain directory layouts
...
Issue reported by Richard Åsberg on Discord. If one package is located
two subdirectories below the parent directory of another, the first one
might not be loaded.
2020-06-12 18:42:31 +01:00
Klaus Basan
86c8568bf2
Fixes some CLANG warnings (QtC IDE checks, nevertheless does not harm to fix them)
2020-06-12 18:42:30 +01:00
Mat Sutcliffe
39907bf7ea
[XP driver] fixed bug that inverted engines on/off state
2020-06-12 18:42:30 +01:00
Roland Rossgotterer
f60a44ea1e
[FS9] Fix double deletion of CFs9Host
...
CFs9Host was guarded by a QSharedPointer plus it had a QObject parent.
2020-06-12 18:42:29 +01:00
Klaus Basan
b4a7d59b7b
Ref T773, allow to "fake" elevations for testing purposes and improved elevation logging in the interpolation log. display
...
* history of requested elevations
* bogus elevations for testing if needed (mostly to test the display)
2020-06-12 18:42:28 +01:00
Klaus Basan
6b6a6e0d8e
[emulated driver] minor fixes
...
* dialog size
* update sim.value UI fields if emulated simulator changes
* renamed function
2020-06-12 18:42:25 +01:00
Mat Sutcliffe
de037af702
[xplane] Allow disabling terrain probe for diagnosing performance issues
2020-06-12 18:42:24 +01:00
Mat Sutcliffe
e50bb6d5c7
[xplane] Add monitoring of the number of minutes behind due to low FPS
2020-06-12 18:42:23 +01:00
Mat Sutcliffe
377b2f6a3e
[xplane] Add monitoring of the number of track miles lost due to low FPS
2020-06-12 18:42:23 +01:00
Mat Sutcliffe
4bfa5d5f40
Fix assert due to NaN in CXSwiftBusTrafficProxy::getElevationAtPosition
2020-01-25 16:55:51 +00:00
Klaus Basan
785dc7f016
[XPlane][FG] Q_UNREACHABLE removal follow up
...
* removed CSimulatorXPlane::connectionFromString as this only works for session DBus
* renamed to "checkConnectionViaSessionBus"
* discussed around here: https://discordapp.com/channels/539048679160676382/539925070550794240/668105458300485652
2020-01-18 18:46:19 +01:00
Mat Sutcliffe
20a2f3b9e7
[XP driver] Using unsigned for timer call counters, to avoid UB on overflow
2020-01-13 18:53:30 +00:00
Mat Sutcliffe
35cfaebc7d
[xplane] Added display of simulation time ratio in simulator component
2020-01-13 18:53:30 +00:00
Klaus Basan
8eaa4f7f15
Qt 5.14 hi-res adjustments, as HI-DPI screen handling has changed
...
* see // https://lists.qt-project.org/pipermail/development/2019-September/037434.html
* qss adjustemnts
* larger default sizes for core/launcher/client for 1920x1080 screens
2020-01-07 19:57:28 +00:00
Klaus Basan
72c3abb1e7
[xswiftbus] display FPS in simulator data window
...
* added driver getAverageFPS function
* display in simulator component
2020-01-07 19:57:28 +00:00
Klaus Basan
548a12a502
Style
2020-01-07 19:57:28 +00:00
Mat Sutcliffe
516c8a2fce
[xswiftbus] Added FPS monitoring
2020-01-07 19:57:26 +00:00
Mat Sutcliffe
836eb107a3
Smart xswiftbus compatibility check based on git commit SHA-1
...
This is more tolerant that the simple check based on version numbers.
Different versions can be compatible if they have the same SHA-1 when
considering only those files that can influence xswiftbus.
2020-01-07 19:57:25 +00:00
Mat Sutcliffe
48d1521d3a
Correct filename extension
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
Roland Rossgotterer
d29dec81d7
[FS9] Test connection via FSUIPC in listener
...
Checking whether the FS2004 host is connected is not enough since we rely
on FSUIPC. Do not activate the simulator if FSUIPC is not available (e.g.
not installed).
2020-01-07 19:57:23 +00:00
Roland Rossgotterer
b7c2775ea2
[FS9] Let IDirectPlay8Client::Connect process request asynchronously
2020-01-07 19:57:23 +00:00
Klaus Basan
a924b5e78b
Improved (error) message if owner is empty
2020-01-07 19:57:23 +00:00
Klaus Basan
22d8b52fe8
[FS9] Minor style fixes
2020-01-07 19:57:20 +00:00