Klaus Basan
0596782926
Ref T609, change COM transmission values in UI/emulated driver
2019-08-11 23:15:59 +01:00
Klaus Basan
495312019d
Smaller improvements in matching messages/style
2019-07-16 20:22:38 +02:00
Klaus Basan
1ae585fc9d
Avoid issues if simulator is NOT yet set in emulateed driver
2019-06-16 03:03:04 +02:00
Klaus Basan
bf8de29762
Ref T683, "updateOwnSituationAndGroundElevation"
...
* function to use own positions "on ground" to calculate ground elevation
* use this based on settings
* adjusted simulators code
2019-06-13 17:37:28 +02:00
Klaus Basan
86431a46c7
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-06-13 01:18:05 +02:00
Klaus Basan
b07488c732
fixup! Avoid ASSERT from emulated driver
2019-05-26 00:23:45 +02:00
Klaus Basan
f33ffc32be
Avoid ASSERT from emulated driver
...
* not all plugins are installed
* use default simulator if there is no simulator info
2019-05-25 23:14:33 +02:00
Klaus Basan
03fce676be
Ref T669, also interpolation Ref T668, remove last sent values if aircraft is removed
2019-05-23 13:13:00 +02: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
Klaus Basan
3031e5b648
Ref T261, set client provider in simulator
...
Needed to obtain client capabilities
2018-05-08 16:06:48 +02:00
Klaus Basan
1b8383bee1
Guarding QTimer::singelShot operations, avoid to access dangling pointers
2018-05-08 16:06:39 +02:00
Klaus Basan
5c6a37c669
Ref T259, Ref T243 removed guessing from FSX driver code (now in interpolator) and also use guessing in emulated driver
2018-05-08 16:06:33 +02:00
Klaus Basan
a7f1e15f39
Ref T259, Ref T243 pass the providers along the hierarchy
2018-04-13 23:37:49 +02:00
Klaus Basan
9abc57bb3d
Ref T259, Ref T243 remove aircraft parts and situations from interpolator
...
* no longer using the add parts/situations signals
* will use the remote aircraft provider parts directly
Result: all parts/situations are stored only once in memory and in one single place
2018-04-13 23:37:37 +02:00
Klaus Basan
0c06ac26f7
Ref T259, Ref T243 removed interpolation hints
...
* no longer needed with providers in that form
* pure refactoring commit, just guarantees compilation
* already minor adjustments to use providers
2018-04-13 23:37:18 +02:00
Klaus Basan
333a92ff63
Ref T259, Ref T243 renaming to CInterpolationAndRenderingSetupPerCallsign
2018-04-13 23:36:34 +02:00
Roland Winklmeier
597f3f7a6a
Add basic weather handling to emulated simulator
...
It won't do much apart from requesting a weather grid. It might be useful
in the future to debug the weather engine. But for now it helps to detect
issues in the request path.
ref T235
2018-02-04 09:00:05 +01:00
Klaus Basan
301eb79eca
Renamings and adjustments of developer flag
2018-01-30 20:34:50 +01:00
Klaus Basan
b74652c94a
Ref T220, renamed some main window / widget functions
...
Make clearer if dealing with a window or widget
2018-01-14 18:47:03 +01:00
Klaus Basan
8b55bcc178
Ref T197, adjusted emulated driver
2017-12-21 19:46:23 +01:00
Klaus Basan
8e761f35f1
Ref T197, simulator info
...
* CSimulatorInfo only initialized once and not over and over again in plugin info
* getSimulatorInfo() no longer virtual, as we can access the member CSimulatorInfo directly
* display exact simualtor in FSX/P3D driver
* renamed to identifierToSimulator and fixed typo "Identifier"
2017-12-21 19:46:17 +01:00
Mathew Sutcliffe
a8d2c05f99
Ref T111 Fixed mistake detected by Clang warning.
2017-10-19 00:37:07 +01:00
Klaus Basan
7b50917410
Ref T171, fetch interpolator values in emulated driver.
...
This allows to test and monitor the interpolator in the emulated driver.
* UI allows to start/stop interpolator logging
* Fetch data from interpolator
2017-10-18 22:58:53 +02:00
Klaus Basan
ecc4789855
Ref T171, Ref T136, renaming "swift driver" -> "emulated driver"
2017-10-18 22:58:37 +02:00