Commit Graph

12 Commits

Author SHA1 Message Date
Roland Rossgotterer
7d21b6ce0b Fix remote DBus call function names 2019-02-22 20:36:27 +00:00
Klaus Basan
73e566a76e ChangedModel in ownAircraft context was not really used.
However, there are cases where the "own model" is changed via own model context, mostly in the emulated driver.

* made changedModel -> ps_changedModel a "private" signal
* connected it to simulator context
* used identifier to avoid roundtrips

So the "ownAircraftModelChanged" signal of the simulator context is to be used
2019-02-22 20:35:45 +00:00
Klaus Basan
084ade9e2b Ref T422, context/provider functions for COM, XPDR values 2018-11-16 02:49:51 +01:00
Klaus Basan
4172701586 Ref T422, functions to toggle/set XPDR mode 2018-11-05 01:39:51 +01:00
Klaus Basan
167355337e Ref T412, Ref T227, own aircraft positions and state detection
* keep history of own positions
* detect moved aircraft
* relay signals via proxy
2018-11-04 17:42:47 +01:00
Klaus Basan
cc4aec8f3c Ref T412, added "movedAircraft" and fixed missing relay of proxy signals 2018-11-04 17:42:44 +01:00
Klaus Basan
cacbe6e996 Ref T322, get situation from "own aircraft" context 2018-09-08 15:36:21 +02: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
060a10dfb6 Replaced QLatin1Literal by QLatin1String
refs #883
2017-02-24 15:22:09 +00:00
Klaus Basan
5b08363179 refs #875, unit test for proxies
tests init and signal connects
2017-02-24 15:20:58 +00:00
Klaus Basan
c2bf473f3f refs #786, prepare contexts for matching messages
In same step cleaned up contexts a bit
* added function for model set strings
* renamed functions to getModelSet... instead of installed models (the set is smaller and is what we want to use with DBus)
* signal when debug/log flags changed
* removed some \copydoc
* allow to enable/disable rev.lookup/matching messages
* removed reload model function (dangling)
2016-12-06 09:34:10 +01:00
Klaus Basan
d782839cb8 refs #703, moved context to subdir
* ns: Context
* adjusted using classes
2016-07-14 18:49:08 +02:00