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
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
bc3bd41c97
refs #865 , allow to override in setGroundElevationFromHint
2017-02-24 00:19:30 +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
8313b501b1
refs #865 , changes in getInterpolatedParts as discussed on slack (MS/KB)
2017-02-24 00:19:04 +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
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
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
8a924d5b1c
refs #852 IInterpolator::getInterpolatedParts interpolates the onGround value.
2017-02-24 00:17:58 +00:00
Mathew Sutcliffe
3f5139d717
refs #852 IInterpolator::getPartsBeforeTime renamed to getInterpolatedParts
...
and returns a single CAircraftParts object, not a list.
2017-02-24 00:17:55 +00:00
Klaus Basan
667009c85e
refs #840 , moved interpolator classes into Simulation namespace
2017-01-10 23:45:27 +00:00