Commit Graph

4060 Commits

Author SHA1 Message Date
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
cbbab3fa19 Minor GUI adjustments 2017-02-24 00:19:14 +00:00
Klaus Basan
8fb79f613c refs #865, use CG for on ground estimation 2017-02-24 00:19:13 +00:00
Klaus Basan
818cdfba59 Doxygen, added link to dev wiki and fixed group 2017-02-24 00:19:11 +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
309d593607 refs #871, use const values for times 2017-02-24 00:19:07 +00:00
Klaus Basan
0488b4b5ea refs #865, adjusted FSX part to use parts in interpolation hints
* split update of aircraft parts in guessing/sending
* pass hints to interpolator
2017-02-24 00:19:06 +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
e49f9c2b38 Fixed output of PQ null values 2017-02-24 00:19:02 +00:00
Klaus Basan
1522c8175e Better model selection, much faster 2017-02-24 00:19:01 +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
c84bf93862 refs #865, added ternary ground flag
* also add reliablity for ground flag
* default elevation null
* added missing property indexes
2017-02-24 00:18:54 +00:00
Klaus Basan
301db27945 refs #865, make log directory available for blackmisc 2017-02-24 00:18:52 +00:00
Klaus Basan
68dccbefa6 Formatting, renaming, Doxygen, minor UI adjustments 2017-02-24 00:18:51 +00:00
Klaus Basan
7ddb69825a refs #865, FSX: use onGround from CAircraftSituation 2017-02-24 00:18:49 +00:00
Klaus Basan
336fda23c9 refs #865, set on ground flag in interpolator 2017-02-24 00:18:47 +00:00
Klaus Basan
3c7eb6ea28 refs #865, add onGround flag to aircraft situation 2017-02-24 00:18:45 +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
Klaus Basan
0a99c82ddc refs #865, FSX: added altitude above ground and CG for own aircraft 2017-02-24 00:18:38 +00:00
Roland Winklmeier
d0cdae7356 Conditionally limit UI login modes in case no simulator is attached
Currently the logic to fall back to observer login, in case no
simulator is attached, is implemented in core. Apart from a log message
there was no clear feedback to the user what has happened.
With this commit, the pilot related login modes are disabled if no
simulator is attached. A tool tip explains the reason.
This is enabled only for shipped versions.

refs #872
2017-02-24 00:18:36 +00:00
Roland Winklmeier
a7635a7e13 Force observer mode login only in shipped versions
The required feature to force observer login in case no simulator
is available, is only necessary in offically shipped versions.
In order to allow developer testing, limit it to shipped builds only.

refs #872
2017-02-24 00:18:33 +00:00
Roland Winklmeier
1401b2f956 Add new command line argument 'serverType'
ServerType allows to override the ServerType at runtime

refs #872
2017-02-24 00:18:31 +00:00
Roland Winklmeier
c260af7b11 Update externals 2017-02-24 00:18:30 +00:00
Mathew Sutcliffe
281d493434 Reverted workaround for Qt 5.8.0 RC bug that was fixed in release. 2017-02-24 00:18:27 +00:00
Roland Winklmeier
9ccec07c36 Process all pending NetworkVatlib tasks before logging off 2017-02-24 00:18:26 +00:00
Mathew Sutcliffe
9e56213633 Inhibit MacOSX warning in libxplanemp. 2017-02-24 00:18:24 +00:00
Mathew Sutcliffe
3552d47ab5 Inhibit Clang warning in Qt 5.8.0 on Windows. 2017-02-24 00:18:22 +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
a74fcc3a7c Support for MSVC 2017 RC. 2017-02-24 00:18:18 +00:00
Mathew Sutcliffe
1c7fb518ca Fixed broken link URLs in comments. 2017-02-24 00:18:16 +00:00
Mathew Sutcliffe
aef07e6256 Removed declaration of undefined method. 2017-02-24 00:18:14 +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
a3212ab37d refs #852 To avoid sudden movements, don't bother trying to interpolate
when we have less than two position updates.
2017-02-24 00:18:10 +00:00
Mathew Sutcliffe
6cabdf5b77 refs #852 Added a fudge factor to ground elevation so planes are not partially submerged in the ground. 2017-02-24 00:18:09 +00:00
Mathew Sutcliffe
47369c02d0 refs #852 Fixed wrong unit in X-Plane airport elevation. 2017-02-24 00:18:07 +00:00
Mathew Sutcliffe
2b76b27f97 refs #852 On each position update for aircraft not supporting parts,
X-Plane driver synthesizes a parts update with guessed onGround flag.
2017-02-24 00:18:06 +00:00
Mathew Sutcliffe
5b4f672c75 refs #852 Use X-Plane terrain probe to provide ground elevation to the interpolator. 2017-02-24 00:18:03 +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
c9b1647e72 refs #852 Extend xbus traffic service to maintain a CAircraftPartsList with onGround flags. 2017-02-24 00:18:00 +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
Mathew Sutcliffe
76cc9f8ad8 refs #852 CAirspaceMonitor has no maximum number of parts per callsign,
but regularly prune the list based on timestamp age.
2017-02-24 00:17:53 +00:00
Mathew Sutcliffe
bc38a0cea1 refs #852 Added aircraft parts in CInterpolationHints. 2017-02-24 00:17:50 +00:00
Mathew Sutcliffe
c00a13a29c refs #852 Added a floating-point onGround value in CAircraftParts. 2017-02-24 00:17:48 +00:00
Mathew Sutcliffe
3e70ab1207 refs #852 Add a time offset to CAircraftParts. 2017-02-24 00:17:46 +00:00
Mathew Sutcliffe
4d30ce40c7 refs #852 Added reverse iterators to CRange and CSequence. 2017-02-24 00:17:44 +00:00