Mat Sutcliffe
35cfaebc7d
[xplane] Added display of simulation time ratio in simulator component
2020-01-13 18:53:30 +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
d8ec308a3b
[DBus] DBus related fixes
...
* use INT in CAudioDeviceInfo (minimum trouble)
* register metatype
* removed getSimulatorStatusEnum from DBus slots
2020-01-07 19:46:17 +00:00
Klaus Basan
f80e093a0a
Ref T717, function to send parts/situation for testing and in the model browser
2019-09-16 22:41:37 +01:00
Klaus Basan
a3959ffbea
Ref T717, unify test aircraft callsign
2019-09-16 22:41:37 +01:00
Klaus Basan
838e41051c
Ref T717, simulator adjustments to support "TEST AIRCRAFT"
2019-09-16 22:41:35 +01:00
Klaus Basan
26afc5160d
Improved logging of "adding aircraft" so we can see details such as the model string
2019-09-16 22:41:17 +01:00
Klaus Basan
fab65c23b1
Ref T554, changed signature to pass model (object) and not only modelstring
...
Allows to test if data have changed before "remembering them for auto publish"
2019-09-16 22:40:34 +01:00
Klaus Basan
7b03ed5aec
Ref T554, signal if auto publish data are written
2019-09-16 22:40:07 +01:00
Klaus Basan
16e19ad6d3
Fixed typo, style
2019-09-16 22:40:07 +01:00
Mat Sutcliffe
f95df7455b
Improved doxygen comments for CSimulatorInternals.
2019-09-16 22:40:07 +01:00
Klaus Basan
0360704b0b
Ref T683, "updateOwnSituationAndGroundElevation"
...
* function to use own positions "on ground" to calculate ground elevation
* use this based on settings
* adjusted simulators code
2019-09-16 22:39:50 +01:00
Klaus Basan
71e09b008f
Ref T681, renamed to rememberElevationAndSimulatorCG and style
2019-09-16 22:38:08 +01:00
Klaus Basan
6d490e9a49
Ref T681, preparations to use CG from DB
...
* renamed to "getSimulatorCG" ...
* pass simulator settings to sim.env.provider to decide what CG to use
* store DB CG and init it when aircraft is added
* style
2019-09-16 22:38:07 +01:00
Klaus Basan
d8729cea1e
Ref T668, CG override per "dot" command
2019-05-23 13:00:26 +02:00
Klaus Basan
275006dad4
Ref T632, more detailled entry check for adding a remote aircraft (finds empty callsign)
2019-05-13 11:20:41 +02:00
Klaus Basan
599064fe6c
Use models from centralized model cache
...
* no copy needed
* cache is synchronized when loading models
2019-05-13 11:20:40 +02:00
Klaus Basan
9fd3925238
Style
2019-05-13 11:20:40 +02:00
Klaus Basan
6ca6d12851
Added "isWeatherActivated" based on the discussion with LT
2019-04-11 22:11:34 +01:00
Klaus Basan
961afa531b
Ref T554, collect auto-publish data in simulator
2019-04-11 22:11:33 +01:00
Klaus Basan
35039b7482
Ref T554, style
2019-04-11 22:11:33 +01:00
Mat Sutcliffe
e9a4c49d68
Ref T547 Update license masthead in all source code files.
2019-02-22 20:36:43 +00:00
Klaus Basan
6470c61d0a
Ref T515, added failover flag for addingRemoteModelFailed
...
* adjusted signatures
* renamings and minor style adjustments
2019-02-22 20:35:41 +00:00
Mat Sutcliffe
e32ea65a27
Fixed clazy warnings: fully-qualified signal parameter types.
2019-02-22 20:23:34 +00:00
Klaus Basan
7f7cf2e031
Ref T436, underflow detection for FSX
...
* utility functions
* force gnd flag to avoid underflow
2018-11-22 19:55:04 +01:00
Klaus Basan
b452cd7530
Ref T410, show number of SB4 packets received under simulator/information
2018-11-16 02:49:55 +01:00
Klaus Basan
3eb46690c0
Removed clamped messages
2018-11-16 02:49:55 +01:00
Klaus Basan
839c75effc
Ref T429, style and CLANG warnings
2018-11-16 02:49:53 +01:00
Klaus Basan
64b0ec87b1
Ref T423, changed strategy to force position updates
...
* force update for "some time", and remove all sent information
* no longer update some cycles, but for some time
* updated FSX/P3D/XPlane drivers
2018-11-16 02:49:52 +01:00
Klaus Basan
dfd33e40c1
Detect emulated driver before casting to avoid crashs
2018-11-16 02:49:51 +01:00
Klaus Basan
2b8e388ba1
Ref T423, force update if simulator was paused or interrupted before
...
* force full updates for some cycles "m_updateAllRemoteAircraftCycles"
* only use "emitSimulatorCombinedStatus" to emit changed simulator status
* renamed to "finishUpdateRemoteAircraftAndSetStatistics"
* override "forced" in "getInterpolationSetupConsolidated"
This addresses the issue that aircraft appear below ground after moving the aircraft
2018-11-06 01:41:47 +01:00
Klaus Basan
4d7ca00324
Ref T421, interpolation log message follow up, deprecated "clampedLog"
2018-11-05 01:39:51 +01:00
Klaus Basan
93bcbc0755
Ref T421, function to get interpolation messages from the simulator drivers
2018-11-04 17:42:47 +01:00
Klaus Basan
a871579479
Ref T370, added public removeAllRemoteAircraft
...
* protected clearAllRemoteAircraftData
* ISimulator::clearAllRemoteAircraftData no longer calls clearAllRemoteAircraftData (circular)
2018-09-25 02:14:00 +02:00
Klaus Basan
da2a7f6506
Ref T348, get specialized settings
...
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:08 +02:00
Klaus Basan
409cc6c164
Ref T335, FSX/P3D improvements
...
- eceptions for an added object will be handled, retry once, then disable
- add/directly remove agains tried twice, then disabled
- disable aircraft in severe cases
- adjusted signal, indicate aircraft was enabled
2018-09-12 20:28:55 +02:00
Klaus Basan
7e9f3a6c7f
Ref T342, distance of airport can be recalculated
2018-09-12 17:40:38 +02:00
Roland Winklmeier
3804612bed
Fix the initial weather request in case last position is null
...
calculateGreatCircleDistance returns false immediately if any of the
arguments was null.
ref T324
2018-09-12 17:01:51 +02:00
Klaus Basan
55690846fe
Ref T312, ignore not running listeners checking again via button
2018-09-08 15:36:25 +02:00
Klaus Basan
2c1055cc2e
Ref T312, fixed thread safety of listeners start/stop/check
2018-08-27 18:58:23 +02:00
Klaus Basan
1d7b3bd180
Ref T312, simulator factory not copyable plus check function (bypassing timer)
2018-08-27 18:58:14 +02:00
Klaus Basan
d7b1ed8d31
Hint for simulator if network is connected (slightly related T307)
2018-08-19 14:31:56 +02:00
Klaus Basan
83e2fcf85e
FSX listener adjustments, timer requires "this" parent here
...
https://swift-project.slack.com/archives/G7GD2UP9C/p1534445228000100
2018-08-16 21:08:02 +02:00
Klaus Basan
6897abe912
Style, singleShot guard, Doxygen
2018-08-09 01:38:52 +02:00
Klaus Basan
b671c2a0a5
Style, removed redundant CForm overrides
2018-08-07 20:41:06 +02:00
Roland Winklmeier
10a0575a80
Fix clang static analyzer warnings
2018-08-07 20:40:56 +02:00
Klaus Basan
fbfbdedb65
Ref T294, display simulator internals correctly
...
* view rows not selectable
* added settings to ISimulator
* ISimulator implements initSimulatorInternals() and sets default values
* also display plugin name
* XPlane using initSimulatorInternals()
2018-07-31 01:43:27 +02:00
Klaus Basan
88098dddf7
Ref T268, allow to log loopback situations
...
* those are situations reported back from simulator
* and can be logged
2018-07-19 02:52:06 +02:00
Klaus Basan
d0adcc98cb
Ref T289, merge CSimulatorCommonn/ISimulator
2018-07-12 18:29:36 +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