Klaus Basan
3da834e964
Ref T231, formatting
2018-01-30 20:31:35 +01:00
Klaus Basan
d118ea402f
Ref T232 clear remote aircraft data once network disconnects
...
* blackconfig in .pro
* verify function to detect dangling states
* clear remote data when disconnected from network
* there was one problem that the data where not correctly cleaned up and hence new aircraft where not added again after a disconnect/reconnect from network
* it is not yet clear why data happens (dangling data), that is what the debugVerify function is for
2018-01-30 20:31:11 +01:00
Klaus Basan
5f7842163b
Ref T231, Ref T232 utility functions
2018-01-30 20:31:09 +01:00
Klaus Basan
dac1ee85f9
Ref T232, some (dispatch) timer code was duplicated
...
* fixed a bug, where a non existing timer was killed
* unified code in base class
2018-01-30 20:30:20 +01:00
Klaus Basan
fae5e6ac0a
Ref T229, FS9 and XPlane adjustments for changed CInterpolationStatus
...
Ref T207, maybe MS should review the XP part
2018-01-30 20:29:56 +01:00
Klaus Basan
467f8cbac9
Ref T229, fixed problems in FSX driver
...
* use correct status (the problem was that even not interpolated situations can be valid)
* track last position (SimObject), do not resend same position
2018-01-30 20:29:53 +01:00
Klaus Basan
2fbc7acc7d
Ref T229, track sent position in SimObject
2018-01-30 20:29:51 +01:00
Klaus Basan
0991f20f7d
Ref T229, adjusted renamings because of CInterpolationStatus changes
2018-01-30 20:29:48 +01:00
Klaus Basan
67426b755f
Ref T229, FSX/P3D character encoding
...
* we have to use an encoding function for FSX/P3D string
* encapsulated, so we can later can/improve it
2018-01-30 20:29:43 +01:00
Klaus Basan
f049900e1f
Ref T223, use const values for standard pressure
...
* standardISASeaLevelPressure
* use static const values for standard pressure
* minor formatting
2018-01-15 23:00:34 +01:00
Roland Winklmeier
de4fe44156
Fix sending the correct pressure altitude for a pilot position
...
* Before this commit, only the true altitude was known for an aircraft situation. The pressure altitude was not available anywhere yet.
* This caused a wrong altitude in radar clients.
* We fix this reading the pressure altitude from the simulators and set it in the own aircraft situation.
* MS Flight Simulators have the pressure altitude in the APIs available.
* For X-Plane and emulated simulator, we need to calculate it from the pressure at sea level.
* Finally, we use the new available pressure altitude to send it to the FSD server.
Maniphest Tasks: Ref T223
2018-01-15 22:49:08 +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
c23fe86f7f
Ref T219, changed or removed some log category functions
...
* removed unused
* used standard "static const CLogCategoryList &getLogCategories()" patten
2018-01-14 18:46:04 +01:00
Klaus Basan
e81211775b
RW's review fixes Ref T202 Ref T189 Ref T210
...
* dmg comment and follow up issue created
* cppcheck-suppress passedByValue in cppcheck.supp
* renamed from Xsb -> XSwiftBus
* reverted wrong "static const QString dataStr"
2017-12-21 19:50:19 +01:00
Klaus Basan
8b55bcc178
Ref T197, adjusted emulated driver
2017-12-21 19:46:23 +01:00
Klaus Basan
d77200a49a
Ref T197, emulated driver dialog can update title
2017-12-21 19:46:20 +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
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