Mathew Sutcliffe
b38d668944
refs #852 , #863 , #896 Fixed time offset of parts from commit:74e93525 that was broken by commit:7a71d652.
2017-04-17 23:57:40 +01:00
Klaus Basan
a68f9db2ec
refs #893 , Modulator added compareByPropertyIndex
2017-04-17 23:57:27 +01:00
Klaus Basan
056d205488
refs #891 , unified "windows.h"
...
Remark: Using the lc version seems to be slightly smarter
http://stackoverflow.com/a/15466951/356726
2017-04-17 23:57:19 +01:00
Klaus Basan
04df922a0e
refs #886 , added CSimulatorInfo(const QStringList &simulators)
2017-04-17 23:57:00 +01:00
Klaus Basan
ff0c37ff58
refs #889 , log categories
2017-04-17 23:56:53 +01:00
Klaus Basan
5a91f561be
refs #888 , loadingFinished with CStatusMessage
2017-03-01 20:51:40 +01:00
Klaus Basan
8e55baaf85
Typos, QStringBuilder
2017-03-01 20:51:39 +01:00
Mathew Sutcliffe
fe3c97e37f
Updates for Qt 5.8.
2017-02-24 15:22:43 +00:00
Mathew Sutcliffe
7b8d88876f
refs #876 All metaclass mixins now directly access the metamembers.
...
This avoids bloating CMetaClassIntrospector with inconvenient convenience methods.
2017-02-24 15:22:39 +00:00
Mathew Sutcliffe
64f20f0141
refs #863 Fixed wrong test that had been masked by CRemoteAircraftProviderDummy being too clever.
2017-02-24 15:22:36 +00:00
Mathew Sutcliffe
598733d521
refs #863 Fixed a bug where a plane would only start rendering when it first starts moving.
2017-02-24 15:22:35 +00:00
Mathew Sutcliffe
04ddd3bfa5
refs #863 Move interpolator logging into a separate class.
...
A single logger instance can be shared between multiple interpolator instances.
2017-02-24 15:22:34 +00:00
Mathew Sutcliffe
e67b5fccc4
refs #863 Change callsign parameter to be a member instead.
2017-02-24 15:22:32 +00:00
Mathew Sutcliffe
8d351d8279
refs #863 Added cubic spline interpolator.
2017-02-24 15:22:31 +00:00
Mathew Sutcliffe
4cc5643340
refs #863 Further decomposed interpolator into granularly replaceable strategy methods.
2017-02-24 15:22:30 +00:00
Mathew Sutcliffe
aad4cb5e88
refs #863 Factor out code not specific to linear interpolation into the base class.
2017-02-24 15:22:28 +00:00
Mathew Sutcliffe
c0f163589d
refs #863 Simplification.
2017-02-24 15:22:27 +00:00
Mathew Sutcliffe
9c918b8799
refs #863 Interpolator inheritance based on CRTP rather than virtual methods.
2017-02-24 15:22:26 +00:00
Mathew Sutcliffe
1c2533f5d2
refs #863 Moved nested status classes to namespace scope.
2017-02-24 15:22:25 +00:00
Mathew Sutcliffe
a167cc8e43
refs #863 Each aircraft gets its own interpolator instance,
...
so each one can cache calculations from one frame to the next.
The recent situations and parts are members of the interpolator.
2017-02-24 15:22:22 +00:00
Mathew Sutcliffe
2181702c5c
refs #863 Change interpolation setup member to be a method parameter instead.
2017-02-24 15:22:21 +00:00
Klaus Basan
060a10dfb6
Replaced QLatin1Literal by QLatin1String
...
refs #883
2017-02-24 15:22:09 +00:00
Klaus Basan
5bea0e2a96
refs #879 , added ctor for CSimulatedAircraft / CPropertyIndexVariantMap::size()
2017-02-24 15:21:26 +00:00
Klaus Basan
f71cb04cd2
Formatting ( #879 )
2017-02-24 15:21:23 +00:00
Klaus Basan
3de16cbec1
refs #877 , CSimulatedAircraft DBus signature size
...
* reduce size by storing models in list
* using an array for the models failed - not supported by tuple system
2017-02-24 15:21:08 +00:00
Klaus Basan
7bfc9810cb
refs #875 , temp disabled network model for DBus (signature too big)
2017-02-24 15:21:02 +00:00
Klaus Basan
2f4c86fac4
refs #875 , DBus fixes
...
* wrong signal connection signature -> assert
* missing SELCAL in simulated aircraft
2017-02-24 15:20:56 +00:00
Klaus Basan
c1482dca36
Formatting, help text beautifyHelpMessage, improved convertToQString
2017-02-24 15:20:55 +00:00
Klaus Basan
bcb42b0f0d
Formatting
2017-02-24 15:20:33 +00:00
Klaus Basan
273427d3d9
refs #873 , updated internals component
...
* can trigger request of parts
* opening logs
* update parts in UI from aircraft
2017-02-24 15:20:27 +00:00
Klaus Basan
3090413849
refs #873 , value object light to light states
2017-02-24 00:19:43 +00:00
Klaus Basan
1d967b08e8
refs #865 , based on discussion https://dev.vatsim-germany.org/issues/865#note-12
...
* do not call XP`s elevation provider if not needed in interpolator
* some renaming/utility functions
2017-02-24 00:19:41 +00:00
Klaus Basan
578a092b0c
refs #865 , set current elevation from hints also for current situation
...
This is better than the copied elevation from old situation
2017-02-24 00:19:31 +00:00
Klaus Basan
bc3bd41c97
refs #865 , allow to override in setGroundElevationFromHint
2017-02-24 00:19:30 +00:00
Klaus Basan
085f25fa86
refs #865 , FSX: changed how elevation/CG is updated
2017-02-24 00:19:28 +00:00
Klaus Basan
62d4a94106
refs #865 , further improved logging
...
* set log flag in hints, so no lock for each aircraft is needed
* as a result log functions have a bool log parameter now
* highlight situation and parts changed
2017-02-24 00:19:18 +00:00
Klaus Basan
ff7756db38
refs #865 , added parts to interpolation log
2017-02-24 00:19:16 +00:00
Klaus Basan
8fb79f613c
refs #865 , use CG for on ground estimation
2017-02-24 00:19:13 +00:00
Klaus Basan
e3d81c6c44
refs #865 , use same function for removing outdated aircraft parts
...
* in airspace monitor
* in XP traffic.cpp
2017-02-24 00:19:09 +00:00
Klaus Basan
8313b501b1
refs #865 , changes in getInterpolatedParts as discussed on slack (MS/KB)
2017-02-24 00:19:04 +00:00
Klaus Basan
74a4570a40
refs #865 , interpolator allows to log situations plus improvements found by logs
...
* set timestamp for current situation
* assert if new timestamp > old timestamp
2017-02-24 00:18:59 +00:00
Klaus Basan
def51576de
refs #865 , added log functions to interpolator
...
* updated HTML template
* parts use now string builder
2017-02-24 00:18:57 +00:00
Klaus Basan
af15929b30
refs #865 , allow to enable interpolator/parts logging
...
* removed debug messages from interpolator
* added callsign to getInterpolatedParts / getInterpolatedSituation signatures
* config for logging via CInterpolationAndRenderingSetup::addCallsignToLog etc.
2017-02-24 00:18:56 +00:00
Klaus Basan
336fda23c9
refs #865 , set on ground flag in interpolator
2017-02-24 00:18:47 +00:00
Klaus Basan
daab5eed49
refs #865 , adjusted interpolator to use elevation or elevation provider
...
* adjusted IInterpolator::setGroundElevationFromHint
* removed cgAboveGround from getCorrectedAltitude
2017-02-24 00:18:43 +00:00
Klaus Basan
38585d10b2
refs #865 , hints get ground elevation from provider or from set value
...
* using CAltitude for elevation provider
* null() for CAltitude
* formatting of members
* fixme in fs9 client
2017-02-24 00:18:40 +00:00
Roland Winklmeier
d8de6bc398
Fix CXPlaneUtil::xplane10Dir() on Mac OS
...
Q_OS_UNIX is also defined on Mac OS, therefore the Q_OS_OSX branch
was never reached.
This concludes the test of this function on Mac OS and the todos
can be removed.
2017-02-24 00:18:20 +00:00
Mathew Sutcliffe
e5d45b077d
refs #852 Fix for problem with landing aircraft with interim position updates.
2017-02-24 00:18:12 +00:00
Mathew Sutcliffe
08b1c19df7
refs #852 CInterpolatorLinear obtains the ground elevation via a lazy computation
...
in CInterpolationHints and uses this to interpolate between altitude and elevation.
2017-02-24 00:18:01 +00:00
Mathew Sutcliffe
8a924d5b1c
refs #852 IInterpolator::getInterpolatedParts interpolates the onGround value.
2017-02-24 00:17:58 +00:00