Klaus Basan
333a92ff63
Ref T259, Ref T243 renaming to CInterpolationAndRenderingSetupPerCallsign
2018-04-13 23:36:34 +02:00
Klaus Basan
55534cbb09
Formatting
2018-04-13 23:36:12 +02:00
Klaus Basan
4b7237ce1b
Ref T259, Ref T243 adjusted providers to use common base classes
2018-04-06 02:56:57 +02:00
Klaus Basan
3346a92b56
Ref T259, Ref T243 simulator environment provider
...
* access to elevation
* future: more data such as airport info
2018-04-05 02:54:32 +02:00
Klaus Basan
8021cf76fd
Ref T259, Ref T243 formatting
2018-04-05 02:54:30 +02:00
Klaus Basan
67e8f94481
Ref T259, Ref T243 renaming and adding flags in situation to also represent inbound situations
2018-04-05 02:54:20 +02:00
Klaus Basan
03af49348b
Ref T259, Ref T243 formatting
2018-04-05 02:53:55 +02:00
Roland Winklmeier
d4e4cc2dad
Always use cyan color for X-Plane messages
2018-04-05 02:53:15 +02:00
Klaus Basan
79d898baec
Ref T259, error message if proxy signal cannot be connected
...
Do not relay some signals
2018-04-05 02:52:58 +02:00
Klaus Basan
9517ce7d7c
Ref T259, formatting
2018-04-05 02:52:50 +02:00
Klaus Basan
34502b6b76
Ref T259, renamed CXPlaneMPAircrafts to CXPlaneMPAircraftObjects
...
* there is no plural for aircraft
* so the same style as for simObjects was used
2018-04-05 02:52:48 +02:00
Klaus Basan
13ede9fac1
Ref T259, only remove aircraft after data have been used, otherwise a dangling reference causes a crash
2018-04-05 02:52:45 +02:00
Klaus Basan
41109dd761
Ref T259, some adjustments to our latest style
...
* no private slots
* timers as members
2018-04-05 02:52:43 +02:00
Klaus Basan
2b8883eef8
Ref T259, formatting
2018-04-05 02:52:41 +02:00
Roland Winklmeier
09de945242
Add experimental X-Plane CG offset fetching
...
ref T231
2018-04-05 02:52:28 +02:00
Roland Winklmeier
72497fdefc
Regularly request remote aircraft data from X-Plane
...
This includes
* ground elevation
* model offset (to be implemented)
ref T259
2018-04-05 02:52:26 +02:00
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