Roland Winklmeier
4db0b83310
Move X-Plane interpolation into driver
...
ref T259
2018-04-05 02:52:20 +02:00
Klaus Basan
63d7e36389
Ref T251, also set GND info for own aircraft
2018-02-16 12:13:38 +01:00
Klaus Basan
78e61e25ac
Formatting
2018-02-16 12:13:35 +01:00
Klaus Basan
14fb35a975
Formatting
2018-02-05 03:45:36 +01: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
5aad426ced
Ref T239, removed "QTimer m_xxx { this };" pattern
...
* not in worker classes as parent might have a relevance there
* in UI classes it is useless
2018-02-02 21:26:50 +01:00
Klaus Basan
301eb79eca
Renamings and adjustments of developer flag
2018-01-30 20:34:50 +01:00
Klaus Basan
897a6f301f
Ref T232, aircraft can be re-added or removed via "dot-commands"
...
* can be used for testing
* utility functions to find inconsistent aircraft states
* reset highlight state
2018-01-30 20:31:59 +01:00
Klaus Basan
3ee5e68054
Ref T238, comments and formatting
2018-01-30 20:31:56 +01:00
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
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
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