Commit Graph

1248 Commits

Author SHA1 Message Date
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
Klaus Basan
c5f57a6bd1 Ref T197, P3D x86 build
* pro files
* description
2017-12-21 19:46:14 +01:00
Klaus Basan
ff963d7d39 Ref T195, warning if interpolator situation is invalid 2017-12-21 19:46:11 +01:00
Klaus Basan
f9c7ce0ea8 Ref T189, DWORD is unsigned 2017-12-21 19:46:08 +01:00
Klaus Basan
8103df18f7 Ref T195, formatting 2017-12-21 19:45:46 +01:00
Mathew Sutcliffe
c5a3db49b0 Request own aircraft info upon connecting to XSwiftBus
Summary:
Ref T83
Also removed an unused parameter of the "own aircraft changed" signal of XSwiftBus.

Reviewers: #swift_developers, rwinklmeier

Reviewed By: #swift_developers, rwinklmeier

Subscribers: jenkins

Tags: #swift_pilot_client

Maniphest Tasks: T83

Differential Revision: https://dev.swift-project.org/D63
2017-11-23 22:15:41 +00:00
Roland Winklmeier
c553d24d0e Move GFS weather data url into global setup
Summary:
The GFS weather data url so far was hard coded. With this commit, it is
moved into the global setup (bootstrap file).
Also the url type was changed from QUrl to CUrl, which simplified the
generation of the url including its query by using CUrl::appendQuery().
Finally it fixes sampleweatherdata, which did not have a CApplication yet.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Subscribers: jenkins

Tags: #swift_pilot_client

Maniphest Tasks: T151

Differential Revision: https://dev.swift-project.org/D57
2017-11-20 15:57:08 +01:00
Mathew Sutcliffe
a7124ec589 Removed unused code. 2017-11-12 13:48:09 +00:00
Klaus Basan
f7c714b153 Ref T180, FSX/P3D driver formatting 2017-11-10 19:28:17 +01:00
Klaus Basan
868ae7ec74 Ref T180, stop requesting data when aircraft is removed 2017-11-09 20:02:58 +01:00
Klaus Basan
cd838b2cb6 Ref T180, function to stop requesting remote aircraft data
Also added details to trace function
2017-11-09 20:02:57 +01:00
Klaus Basan
fd4ac74738 Ref T180, renaming for request remote aircraft data 2017-11-09 20:02:55 +01:00
Klaus Basan
fd0eec689f Ref T180, trace parts and positions even if the object is not yet used with simulator
* interpolator will be prefilled with data
* in case the used SimObject is created, it can already use earlier position/parts updates
2017-11-09 20:02:55 +01:00
Klaus Basan
02c45588c3 Ref T180, CSimConnectObject improvements / added CSimConnectObject::getInterpolatedParts 2017-11-09 20:02:54 +01:00
Klaus Basan
fa50e6a8ea Ref T180, formatting 2017-11-09 20:02:40 +01:00
Klaus Basan
3afe510736 Ref T180, allow to log invalid interpolated data 2017-11-09 04:42:13 +01:00
Klaus Basan
f95eadd748 Ref T180, interpolator provides default situation on its own, no need to check 2017-11-09 04:42:13 +01:00
Klaus Basan
822ef11c02 Ref T180, formatting 2017-11-09 04:42:11 +01:00
Klaus Basan
6273892b84 Ref T180, update situation of pending aircraft 2017-11-09 04:42:10 +01:00
Klaus Basan
46a7b67ae5 Ref T180, interpolator status can check validity of situation and provide an info string 2017-11-09 04:42:10 +01:00
Klaus Basan
40dcd9c167 Ref T180, remove aircraft
* utility function getAllCallsigns
* allow to trace sendId (in removing)
* make sure aircraft are not added again by upfront clearing lists
2017-11-09 04:42:09 +01:00
Klaus Basan
fd62ef80e0 Ref T180, formatting and renaming of member/function 2017-11-09 04:42:08 +01:00
Klaus Basan
4fb30fdbc3 Ref T180, log pattern for cmd. line and logging some cmd line activities 2017-11-09 04:42:07 +01:00
Klaus Basan
4b082ac99a Ref T180, renamed function removeFromPendingAndAddAgainAircraft 2017-11-05 20:02:34 +01:00
Klaus Basan
57a7407ef9 Ref T180, check result of removing aircraft 2017-11-05 20:02:33 +01:00
Klaus Basan
986110b50b Ref T180, use SIMCONNECT_DATA_REQUEST_ID as type for request id 2017-11-05 20:02:32 +01:00
Klaus Basan
93a29b2b11 Ref T180, formatting 2017-11-05 20:02:06 +01:00
Klaus Basan
6b3cdf52ee Ref T180, adjusted FSX/P3D includes
* the fix header belongs into fsxcommon (not fsx) dir
* P3D is purely P3D, we do not build a P3D x86 driver
2017-11-05 20:02:03 +01:00
Klaus Basan
05ec07edf3 Ref T180, allow to trace send ids
(Rational: hope to get more details about exceptions of FSX)

* trace functions
* command line parsing to set tracing on/off
2017-11-05 20:02:01 +01:00
Klaus Basan
ce7ae9701d Ref T180, formatting and minor fixes of FSX driver
* timer no longer a pointer
* formatting/comments
* unified naming to simObject
* default model initialized in derived class (P3D/FSX)
2017-11-04 21:44:45 +01:00
Klaus Basan
68225e7bf6 Ref T180, FSX driver validates situation to check if there are any problems with that 2017-11-04 21:44:44 +01:00
Klaus Basan
924d4aab7f Ref T180, get interpolated situation utility function in CSimConnectObject, returning the aircraft situation if there is no interpolation value 2017-11-04 21:44:44 +01:00
Klaus Basan
e5261c3e99 Ref T180, added utility function getInterpolatorInfo() allowing to log some info about interpolator 2017-11-04 21:44:42 +01:00
Klaus Basan
350c210d97 Ref T180, driver settings (FSX/P3D) supports SimConnect.ini file 2017-11-04 21:44:39 +01:00
Klaus Basan
5560d6cb78 Ref T180, support for SimConnect.ini files and some renamings in CSimConnectUtilities 2017-11-04 21:44:39 +01:00
Klaus Basan
1018d06f70 Ref T180, do not disconnect from dispatch (SimConnectProc) function
This causes a crash in P3Dv4 and has been wrong all the time because it closes itself from within the dispatcher
2017-11-04 21:44:38 +01:00
Klaus Basan
df3dbff8e3 Ref T180, directly add parts/situation in CSimConnectObject ctor 2017-11-04 21:44:17 +01:00
Klaus Basan
d5bb1733f4 Ref T180, formatting / const 2017-11-04 16:03:40 +01:00
Klaus Basan
f252f7542d Ref T118, for x64 P3D do not show SimConnect dll details 2017-10-31 15:39:32 +01:00
Klaus Basan
9d66062f05 Ref T118, set correct P3Dv4 default model and description 2017-10-31 15:39:30 +01:00
Klaus Basan
c6d184cd3b Ref T118, fix for simconnect.h not including windows.h 2017-10-31 15:39:11 +01:00
Klaus Basan
41f5999094 Ref T118, changed to P3D v4.1 2017-10-31 15:39:10 +01:00
Mathew Sutcliffe
a8d2c05f99 Ref T111 Fixed mistake detected by Clang warning. 2017-10-19 00:37:07 +01:00
Mathew Sutcliffe
3523944782 Ref #136 Restored asserts for preconditions in X-Plane driver
now that the precondition violations have been fixed.
2017-10-18 23:24:43 +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
c5da828679 Ref T171, typo and formatting for interpolation logger/multi 2017-10-18 22:58:38 +02:00
Klaus Basan
ecc4789855 Ref T171, Ref T136, renaming "swift driver" -> "emulated driver" 2017-10-18 22:58:37 +02:00
Klaus Basan
418d0aa628 Ref T171, Ref T136, removed the remote provider's "remove aircraft part", as it is not used:
* remove is handled by context call logicallyRemoveRemoteAircraft
* so far no need to use the remote provider function
* can be used again whenever needed
2017-10-18 22:58:36 +02:00
Klaus Basan
bef47bf8ed Ref T171, Ref T136, moved statistics counter to base class
* removed from emulated driver
* since we have the remote access providers functions, the counter functions have been moved to the base class. Therby we can use them for all drivers.
2017-10-18 22:58:35 +02:00
Klaus Basan
4cfa6189da Ref T171, added statistics in emulated driver
* UI part
* fixed minor typo
* fixed setting of rendered flag
* UI connections Qt::QueuedConnection
2017-10-18 22:58:28 +02:00