Commit Graph

146 Commits

Author SHA1 Message Date
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
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
a5f4705bb1 Ref T773, style (simulator) 2020-06-12 18:42:35 +01:00
Klaus Basan
fe1e976093 Ref T773, style 2020-06-12 18:42:34 +01:00
Klaus Basan
f2096bd826 Ref T773, style 2020-06-12 18:42:34 +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
70e08fdf8b Ref T773, allow to clear/write log. from interpolation UI via buttons 2020-06-12 18:42:33 +01:00
Klaus Basan
287d96afea Ref T773, added "hasMeanSeaLevelValue" and consistently use it 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
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
812619470b Ref T773, style and comments 2020-06-12 18:42:28 +01:00
Klaus Basan
481833b003 BLACK_AUDIT_X for killTimer, trace Qt killTimer warnings in "our" code 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
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
11187870de Fixed missing compare index, message placeholder, and minor style fixes 2020-01-07 19:57:17 +00: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
902d18339a Improved manual changing of aircraft and reset
* deferred adding and reset
* HTML overlay messages
* debug code for DBus messages
2019-09-16 22:41:32 +01:00
Klaus Basan
009719a7be Ref T681, fixed handling of CG from DB
* consider settings
* remember DB CG data correctly
2019-09-16 22:41:28 +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
08d7cddfe5 Style 2019-09-16 22:40:40 +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
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
daeea07090 Ref T683, style 2019-09-16 22:39:49 +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
f7add9f33e Slow parts update and using event for flaps, as sim. variable sets the flaps, but then always retracts it.
https://swift-project.slack.com/archives/G96QTUBEG/p1558454646002200
2019-09-16 20:29:37 +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
d8729cea1e Ref T668, CG override per "dot" command 2019-05-23 13:00:26 +02:00
Roland Rossgotterer
a7509669f9 Refactor crashpad initialization
Crashpad handler was initialized quite late since we were waiting for settings. However the settings in crashpad are persistent itself, hence we can start it at the earliest possible time and change the upload settings independently later. The only prerequisite is to have QCoreApplication constructed in order for the application name to be available.
ref T652
2019-05-13 11:21:05 +02:00
Klaus Basan
94e65e3bc4 No ASSERT without callsign, just VERIFY/ignore
https://discordapp.com/channels/539048679160676382/568904623151382546/575712119513677826
2019-05-13 11:21:01 +02:00
Klaus Basan
57c6d8ac77 Ref T623, ignore/unignore dot command 2019-05-13 11:20:45 +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
303e8b0f88 Ref T632, in snapshot avoid to add aircraft which are no longer in range 2019-05-13 11:20:41 +02:00
Klaus Basan
989c998e66 Also log rendering setup in crashinfo 2019-05-13 11:20:41 +02:00
Klaus Basan
22f140a494 Write info about the weather into the crashinfo file 2019-05-13 11:20:40 +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
48da5da393 Avoid crash during shutdown 2019-04-11 22:12:04 +01:00
Klaus Basan
daf39a9835 Ref T554, FSX/P3D use "rememberElevationAndCG" for CG, so also auto publish info is written 2019-04-11 22:11:44 +01:00
Klaus Basan
b57003c4e8 Style, typo 2019-04-11 22:11:35 +01: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
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