Klaus Basan
387d47ebf8
Ref T786, test code for the CSLOT crash
...
Can be removed if the issue is solved.
2020-06-12 18:42:52 +01:00
Klaus Basan
8fe11c7633
Ref T786, used weather data printer code for weather description (to QString)
2020-06-12 18:42:50 +01:00
Klaus Basan
026e19add0
Ref T786, use identifier based requestWeatherGrid in simulator plugins
2020-06-12 18:42:50 +01:00
Klaus Basan
d96c5e51e3
Weather support in emulated driver
2020-06-12 18:42:48 +01:00
Mat Sutcliffe
22ebf6c5ea
Ref T778 XSwiftBus traffic service prodives water/land flag for elevations
2020-06-12 18:42:44 +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
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
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
Klaus Basan
10f696d558
Ref T730, in emulated driver only use frequencies from COM, do NOT override the tx/rx values
2019-10-11 19:00:49 +01: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
4c9654d81d
Use simulator from plugin if plugin is connected
2019-09-16 22:41:34 +01:00
Klaus Basan
19c9a51c38
Style
2019-09-16 22:41:34 +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
a9a0216e53
Ref T609, change COM transmission values in UI/emulated driver
2019-09-16 22:41:07 +01:00
Klaus Basan
7ee2814c73
Smaller improvements in matching messages/style
2019-09-16 22:40:30 +01:00
Klaus Basan
6cefb5175d
Avoid issues if simulator is NOT yet set in emulateed driver
2019-09-16 22:39:54 +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
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
a646e122af
Avoid ASSERT from emulated driver
...
* not all plugins are installed
* use default simulator if there is no simulator info
2019-09-16 20:29:44 +01:00
Klaus Basan
a86e98ca3a
Ref T669, also interpolation Ref T668, remove last sent values if aircraft is removed
2019-09-16 20:29:35 +01:00
Klaus Basan
6a9de7389a
Guards in emulated driver
2019-05-13 11:20:44 +02:00
Klaus Basan
52ef14b24d
Simulated driver, update rendered aircraft
2019-05-13 11:20:41 +02:00
Klaus Basan
b093d02f49
Bring a modal window back to front when opening a dialog
...
Otherwise it can happen the modal window in background blocks the other UI.
2019-05-13 11:20:39 +02:00
Klaus Basan
9e1f437326
Use a default simulator for emulated driver to avoid ASSERT
2019-05-13 11:20:37 +02:00
Mat Sutcliffe
e9a4c49d68
Ref T547 Update license masthead in all source code files.
2019-02-22 20:36:43 +00:00
Mat Sutcliffe
225ff81252
Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API.
2019-02-22 20:34:55 +00:00
Mat Sutcliffe
8979b5257e
Fixed clazy warnings: returning void expression.
2019-02-22 20:23:34 +00:00
Mat Sutcliffe
9f85a7b560
Fixed clazy warnings: pass large objects by reference to const.
2019-02-22 20:23:33 +00:00
Klaus Basan
a7a1578775
Ref T423, aligned "emulated driver"
...
* renamed to "updateRemoteAircraft"
* use new force update functions
2018-11-16 02:49:52 +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
93bcbc0755
Ref T421, function to get interpolation messages from the simulator drivers
2018-11-04 17:42:47 +01:00
Klaus Basan
4123101e34
Use Qt::QueuedConnection for UI
2018-11-04 17:42:42 +01:00
Klaus Basan
a6499751f0
Ref T335, style/messages
2018-09-12 17:40:46 +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
2c1055cc2e
Ref T312, fixed thread safety of listeners start/stop/check
2018-08-27 18:58:23 +02:00
Klaus Basan
68beaa6d9d
Ref T312, added checkImpl/check in simulator listeners
2018-08-27 18:58:15 +02:00
Klaus Basan
359d56b6f6
Weather uses null altitude, https://swift-project.slack.com/archives/G7GD2UP9C/p1534378412000100
2018-08-16 14:44:14 +02:00
Klaus Basan
d0adcc98cb
Ref T289, merge CSimulatorCommonn/ISimulator
2018-07-12 18:29:36 +02:00
Klaus Basan
0f931eeeb3
Ref T268, moved changeRemoteAircraftModel/Enabled to CSimulatorCommon and removed duplicated code
2018-06-13 14:00:09 +02:00
Klaus Basan
de4c7852a6
Style, formatting
2018-06-13 14:00:08 +02:00
Klaus Basan
181ed36f3d
Ref T270, interpolator optimization by passing aircraft number
...
Rational: Except for FS9 we interpolate all aircraft in one loop at the same time. This can cause that some steps are always done at the same time for all aircraft of that loop. By passing the number we can more equally distribute such tasks, avoiding peaks.
2018-06-13 13:59:39 +02:00
Klaus Basan
f6a598fe45
Ref T270, adjusted emulated so it can update interpolation statistics
2018-06-13 13:59:37 +02:00
Klaus Basan
aa7363dcad
Ref T270, Ref T268, plugin common / simulator improvements
...
* connect with "about to quit"
* added interface declarations
* sim statistics, use common function setStatsRemoteAircraftUpdate and double for average values
2018-06-13 13:59:22 +02:00
Klaus Basan
2ae8f5b03f
Ref T270, added CSimulatorPluginCommon as base class in driver project
...
* unlike BlackCore::CSimulatorCommon we can add also UI aspects here
* used by emulated driver, XP and the FS series
2018-05-18 00:25:11 +02:00
Klaus Basan
9c33c5d9fc
Ref T245, Ref T261, added functions for "follow plane", "setup changed" signal in context and simulator interface
2018-05-18 00:25:01 +02:00
Klaus Basan
0808cdb223
Ref T261, further unify interpolator handling
...
* return interpolation results parts/situation in one step
* base class init for each interpolation step, less redundant code
* removed old interpolation/parts function
* adjusted unit tests and simulator objects (such as SimObject)
2018-05-08 16:06:52 +02:00
Klaus Basan
3d2a74a652
Ref T261, interpolator mode is now part of setup
...
* added attribute in setup
* adjusted UI
* adjusted interpolator / simulator functions
2018-05-08 16:06:49 +02:00